nl.surfnet.coin.selfservice.service.impl
Class CompositeServiceProviderService

java.lang.Object
  extended by nl.surfnet.coin.selfservice.service.impl.CompositeServiceProviderService
All Implemented Interfaces:
ServiceProviderService

public class CompositeServiceProviderService
extends Object
implements ServiceProviderService

Service Provider Service that can query multiple ServiceProviderServices and will combine the results.


Constructor Summary
CompositeServiceProviderService()
           
 
Method Summary
 List<ServiceProvider> getAllServiceProviders(String idpId)
          Get a list of all available Service Providers for the given idpId.
 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)
          Returns the first SP found or null if none found.
 void setServiceProviderServices(List<ServiceProviderService> serviceProviderServices)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeServiceProviderService

public CompositeServiceProviderService()
Method Detail

getAllServiceProviders

public List<ServiceProvider> getAllServiceProviders(String idpId)
Description copied from interface: ServiceProviderService
Get a list of all available Service Providers for the given idpId.

Specified by:
getAllServiceProviders in interface ServiceProviderService
Parameters:
idpId - the IDP entity ID to filter on
Returns:
list of ServiceProvider

getLinkedServiceProviders

public List<ServiceProvider> getLinkedServiceProviders(String idpId)
Description copied from interface: ServiceProviderService
Get a list of all Service Providers that are linked to the given idpIdp

Specified by:
getLinkedServiceProviders in interface ServiceProviderService
Parameters:
idpId - the entity id of the IdentityProvider
Returns:
list of ServiceProvider's

getServiceProvider

public ServiceProvider getServiceProvider(String spEntityId,
                                          String idpEntityId)
Returns the first SP found or null if none found.

Specified by:
getServiceProvider in interface ServiceProviderService
Parameters:
spEntityId -
idpEntityId -
Returns:

setServiceProviderServices

public void setServiceProviderServices(List<ServiceProviderService> serviceProviderServices)


Copyright © 2012 SURFnet bv, The Netherlands. All Rights Reserved.