public class ServiceRegistryProviderService extends Object implements ServiceProviderService
| Constructor and Description |
|---|
ServiceRegistryProviderService() |
| Modifier and Type | Method and Description |
|---|---|
static ServiceProvider |
buildServiceProviderByMetadata(nl.surfnet.coin.janus.domain.EntityMetadata metadata)
Create a ServiceProvider and inflate it with the given metadata attributes.
|
static ContactPersonType |
contactPersonTypeByJanusContactType(nl.surfnet.coin.janus.domain.Contact.Type contactType)
Convert a Janus contact type to a ServiceProvider's ContactPersonType.
|
List<ServiceProvider> |
getAllServiceProviders(String idpId)
Get a list of all available Service Providers for the given idpId.
|
List<String> |
getLinkedServiceProviderIDs(String idpId) |
ServiceProvider |
getServiceProvider(String spEntityId,
String idpEntityId)
Get a
ServiceProvider by its entity ID. |
@Cacheable(value="sps-janus") public List<ServiceProvider> getAllServiceProviders(String idpId)
ServiceProviderServicegetAllServiceProviders in interface ServiceProviderServiceidpId - the IDP entity ID to filter onServiceProvider@Cacheable(value="sps-janus") public List<String> getLinkedServiceProviderIDs(String idpId)
@Cacheable(value="sps-janus") 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.public static ServiceProvider buildServiceProviderByMetadata(nl.surfnet.coin.janus.domain.EntityMetadata metadata)
metadata - Janus metadataServiceProviderpublic static ContactPersonType contactPersonTypeByJanusContactType(nl.surfnet.coin.janus.domain.Contact.Type contactType)
contactType - the Janus typeContactPersonTypeIllegalArgumentException - in case no match can be made.Copyright © 2012 SURFnet bv, The Netherlands. All Rights Reserved.