public class ClassPathResourceServiceRegistry extends Object implements ServiceRegistry
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
ClassPathResourceServiceRegistry(boolean initialize,
org.springframework.core.io.Resource singleTenantsConfigPath) |
| Modifier and Type | Method and Description |
|---|---|
List<IdentityProvider> |
getAllIdentityProviders()
Get a list of all idps
|
List<ServiceProvider> |
getAllServiceProviders()
Get a list of all available Service Providers (IDP independent).
|
List<ServiceProvider> |
getAllServiceProviders(String idpId)
Get a list of all available Service Providers for the given idpId.
|
Optional<IdentityProvider> |
getIdentityProvider(String idpEntityId)
Get an identity provider by its id.
|
protected org.springframework.core.io.Resource |
getIdpResource() |
List<IdentityProvider> |
getInstituteIdentityProviders(String instituteId)
Get a list of all idps that have the same instituteId as the given one.
|
List<IdentityProvider> |
getLinkedIdentityProviders(String spId)
Get a list of all idps connected to a SP
|
List<String> |
getLinkedServiceProviderIDs(String idpId)
Get a list of all SP identifiers linked to the Idp
|
Optional<ServiceProvider> |
getServiceProvider(String spEntityId)
Get a
ServiceProvider by its entity ID, without a idpEntityId |
ServiceProvider |
getServiceProvider(String spEntityId,
String idpEntityId)
Get a
ServiceProvider by its entity ID. |
protected org.springframework.core.io.Resource |
getSpResource() |
protected void |
initializeMetadata() |
void |
refreshMetaData() |
public ClassPathResourceServiceRegistry(boolean initialize,
org.springframework.core.io.Resource singleTenantsConfigPath)
public Optional<IdentityProvider> getIdentityProvider(String idpEntityId)
ServiceRegistrygetIdentityProvider in interface ServiceRegistryidpEntityId - the id.public List<IdentityProvider> getInstituteIdentityProviders(String instituteId)
ServiceRegistrygetInstituteIdentityProviders in interface ServiceRegistryinstituteId - the instituteIdpublic List<IdentityProvider> getAllIdentityProviders()
ServiceRegistrygetAllIdentityProviders in interface ServiceRegistrypublic List<IdentityProvider> getLinkedIdentityProviders(String spId)
ServiceRegistrygetLinkedIdentityProviders in interface ServiceRegistrypublic List<String> getLinkedServiceProviderIDs(String idpId)
ServiceRegistrygetLinkedServiceProviderIDs in interface ServiceRegistrypublic List<ServiceProvider> getAllServiceProviders(String idpId)
ServiceRegistrygetAllServiceProviders in interface ServiceRegistryidpId - the IDP entity ID to filter onServiceProviderpublic ServiceProvider getServiceProvider(String spEntityId, String idpEntityId)
ServiceRegistryServiceProvider by its entity ID.getServiceProvider in interface ServiceRegistryspEntityId - the entity id of the ServiceProvideridpEntityId - the entity id of the Identity Provider.ServiceProvider object.public Optional<ServiceProvider> getServiceProvider(String spEntityId)
ServiceRegistryServiceProvider by its entity ID, without a idpEntityIdgetServiceProvider in interface ServiceRegistryspEntityId - the entity id of the ServiceProviderServiceProvider object.public List<ServiceProvider> getAllServiceProviders()
ServiceRegistrygetAllServiceProviders in interface ServiceRegistryServiceProviderpublic void refreshMetaData()
refreshMetaData in interface ServiceRegistryprotected void initializeMetadata()
protected org.springframework.core.io.Resource getIdpResource()
protected org.springframework.core.io.Resource getSpResource()
Copyright © 2012–2016 Pivotal Software, Inc.. All rights reserved.