public class ServiceRegistryProviderService extends Object implements ServiceProviderService, IdentityProviderService
| Constructor and Description |
|---|
ServiceRegistryProviderService() |
| Modifier and Type | Method and Description |
|---|---|
static IdentityProvider |
buildIdentityProviderByMetadata(nl.surfnet.coin.janus.domain.EntityMetadata metadata)
Create a IdentityProvider and inflate it with the given metadata
attributes.
|
ServiceProvider |
buildServiceProviderByMetadata(nl.surfnet.coin.janus.domain.EntityMetadata metadata,
boolean includeArps)
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<IdentityProvider> |
getAllIdentityProviders()
Get a list of all idps
|
List<ServiceProvider> |
getAllServiceProviders(boolean includeArps)
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.
|
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<String> |
getLinkedServiceProviderIDs(String idpId)
Get a list of all SP identifiers linked to the Idp
|
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. |
public List<ServiceProvider> getAllServiceProviders(String idpId)
ServiceProviderServicegetAllServiceProviders in interface ServiceProviderServiceidpId - the IDP entity ID to filter onServiceProviderpublic List<ServiceProvider> getAllServiceProviders(boolean includeArps)
ServiceProviderServicegetAllServiceProviders in interface ServiceProviderServiceServiceProviderpublic List<String> getLinkedServiceProviderIDs(String idpId)
IdentityProviderServicegetLinkedServiceProviderIDs in interface IdentityProviderServicepublic 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 ServiceProvider getServiceProvider(String spEntityId)
ServiceProviderServiceServiceProvider by its entity ID, without a idpEntityIdgetServiceProvider in interface ServiceProviderServicespEntityId - the entity id of the ServiceProviderServiceProvider object.public ServiceProvider buildServiceProviderByMetadata(nl.surfnet.coin.janus.domain.EntityMetadata metadata, boolean includeArps)
metadata - Janus metadataincludeArps - ServiceProviderpublic static IdentityProvider buildIdentityProviderByMetadata(nl.surfnet.coin.janus.domain.EntityMetadata metadata)
metadata - Janus metadataIdentityProviderpublic static ContactPersonType contactPersonTypeByJanusContactType(nl.surfnet.coin.janus.domain.Contact.Type contactType)
contactType - the Janus typeContactPersonTypeIllegalArgumentException - in case no match can be made.public IdentityProvider getIdentityProvider(String idpEntityId)
IdentityProviderServicegetIdentityProvider in interface IdentityProviderServiceidpEntityId - the id.public List<IdentityProvider> getInstituteIdentityProviders(String instituteId)
IdentityProviderServicegetInstituteIdentityProviders in interface IdentityProviderServiceinstituteId - the instituteIdpublic List<IdentityProvider> getAllIdentityProviders()
IdentityProviderServicegetAllIdentityProviders in interface IdentityProviderServiceCopyright © 2013 SURFnet bv, The Netherlands. All Rights Reserved.