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

java.lang.Object
  extended by org.jasig.portlet.emailpreview.service.auth.AuthenticationServiceRegistryImpl
All Implemented Interfaces:
IAuthenticationServiceRegistry, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Component
public class AuthenticationServiceRegistryImpl
extends Object
implements IAuthenticationServiceRegistry, org.springframework.context.ApplicationContextAware


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 setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 
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

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:

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException


Copyright © 2013 Jasig. All Rights Reserved.