public class FederationProviderService extends Object implements ServiceProviderService, IdentityProviderService, SpringSchedulerLoadConfigurationService
| Constructor and Description |
|---|
FederationProviderService(String configurationLocation)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<ServiceProvider> |
getAllServiceProviders(String idpId)
Get a list of all available Service Providers for the given idpId.
|
IdentityProvider |
getIdentityProvider(String idpEntityId)
Get an identity provider by its id.
|
List<IdentityProvider> |
getInstituteIdentityProviders(String instituteId)
Get a list of all idps that have the same instituteId as the given one.
|
ServiceProvider |
getServiceProvider(String spEntityId,
String idpEntityId)
Get a
ServiceProvider by its entity ID. |
void |
loadConfiguration()
(Scheduled) method that loads configuration.
|
public FederationProviderService(String configurationLocation)
configurationLocation - Location for the SURFfederatie configuration.public void loadConfiguration()
SpringSchedulerLoadConfigurationServiceloadConfiguration in interface SpringSchedulerLoadConfigurationService@Cacheable(value="sps-federation") public List<ServiceProvider> getAllServiceProviders(String idpId)
ServiceProviderServicegetAllServiceProviders in interface ServiceProviderServiceidpId - the IDP entity ID to filter onServiceProvider@Cacheable(value="sps-federation") public ServiceProvider getServiceProvider(String spEntityId, String idpEntityId)
ServiceProviderServiceServiceProvider by its entity ID.getServiceProvider in interface ServiceProviderServicespEntityId - the entity id of the ServiceProvideridpEntityId - the entity id of the Identity Provider.ServiceProvider object.@Cacheable(value="sps-federation") public IdentityProvider getIdentityProvider(String idpEntityId)
IdentityProviderServicegetIdentityProvider in interface IdentityProviderServiceidpEntityId - the id.@Cacheable(value="sps-federation") public List<IdentityProvider> getInstituteIdentityProviders(String instituteId)
IdentityProviderServicegetInstituteIdentityProviders in interface IdentityProviderServiceinstituteId - the instituteIdCopyright © 2012 SURFnet bv, The Netherlands. All Rights Reserved.