org.jasig.portlet.emailpreview.service.auth
Class AuthenticationServiceRegistryImpl

java.lang.Object
  extended by org.jasig.portlet.emailpreview.service.auth.AuthenticationServiceRegistryImpl
All Implemented Interfaces:
IAuthenticationServiceRegistry

@Component
public class AuthenticationServiceRegistryImpl
extends Object
implements IAuthenticationServiceRegistry


Constructor Summary
AuthenticationServiceRegistryImpl()
           
 
Method Summary
 IAuthenticationService getAuthenticationService(String key)
          Return an instance of the authentication service associated with the supplied key.
 Collection<IAuthenticationService> getServices()
          Return a list of all currently-registered authentication services.
 void registerService(IAuthenticationService authService)
          Register a authentication service.
 void setServices(Collection<IAuthenticationService> services)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationServiceRegistryImpl

public AuthenticationServiceRegistryImpl()
Method Detail

setServices

public void setServices(Collection<IAuthenticationService> services)

getAuthenticationService

public IAuthenticationService getAuthenticationService(String key)
Description copied from interface: IAuthenticationServiceRegistry
Return an instance of the authentication service associated with the supplied key. If no matching authentication service can be found, this method will return null.

Specified by:
getAuthenticationService in interface IAuthenticationServiceRegistry
Returns:

getServices

public Collection<IAuthenticationService> getServices()
Description copied from interface: IAuthenticationServiceRegistry
Return a list of all currently-registered authentication services.

Specified by:
getServices in interface IAuthenticationServiceRegistry
Returns:

registerService

public void registerService(IAuthenticationService authService)
Description copied from interface: IAuthenticationServiceRegistry
Register a authentication service.

Specified by:
registerService in interface IAuthenticationServiceRegistry


Copyright © 2012 Jasig. All Rights Reserved.