|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.surfnet.coin.selfservice.service.impl.FederationProviderService
public class FederationProviderService
Provider Service seeded with xml config from federation.
| Constructor Summary | |
|---|---|
FederationProviderService(String configurationLocation)
Constructor |
|
| Method Summary | |
|---|---|
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. |
List<ServiceProvider> |
getLinkedServiceProviders(String idpId)
Get a list of all Service Providers that are linked to the given idpIdp |
ServiceProvider |
getServiceProvider(String spEntityId,
String idpEntityId)
Get a ServiceProvider by its entity ID. |
void |
loadConfiguration()
(Scheduled) method that loads configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FederationProviderService(String configurationLocation)
configurationLocation - Location for the SURFfederatie configuration.| Method Detail |
|---|
public void loadConfiguration()
SpringSchedulerLoadConfigurationService
loadConfiguration in interface SpringSchedulerLoadConfigurationService@Cacheable(value="sps-federation") public List<ServiceProvider> getAllServiceProviders(String idpId)
ServiceProviderService
getAllServiceProviders in interface ServiceProviderServiceidpId - the IDP entity ID to filter on
ServiceProviderpublic List<ServiceProvider> getLinkedServiceProviders(String idpId)
ServiceProviderService
getLinkedServiceProviders in interface ServiceProviderServiceidpId - the entity id of the IdentityProvider
ServiceProvider's
@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)
IdentityProviderService
getIdentityProvider in interface IdentityProviderServiceidpEntityId - the id.
@Cacheable(value="sps-federation") public List<IdentityProvider> getInstituteIdentityProviders(String instituteId)
IdentityProviderService
getInstituteIdentityProviders in interface IdentityProviderServiceinstituteId - the instituteId
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||