edu.internet2.middleware.shibboleth.idp.config.profile.authn
Class AbstractLoginHandlerFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean
      extended by edu.internet2.middleware.shibboleth.idp.config.profile.authn.AbstractLoginHandlerFactoryBean
All Implemented Interfaces:
BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean, InitializingBean
Direct Known Subclasses:
IPAddressLoginHandlerFactoryBean, PreviousSessionLoginHandlerFactoryBean, RemoteUserLoginHandlerFactoryBean, UsernamePasswordLoginHandlerFactoryBean

public abstract class AbstractLoginHandlerFactoryBean
extends AbstractFactoryBean

Base class for authentication handler factory beans.


Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
AbstractLoginHandlerFactoryBean()
           
 
Method Summary
 int getAuthenticationDuration()
          Gets the duration of the authentication, in minutes.
 List<String> getAuthenticationMethods()
          Gets the authentication methods supported by the handler.
protected  void populateHandler(AbstractLoginHandler handler)
          Populates the authentication duration and methods of the handler.
 void setAuthenticationDuration(int duration)
          Sets the duration of the authentication, in minutes.
 void setAuthenticationMethods(List<String> methods)
          Sets the authentication methods supported by the handler.
 
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, createInstance, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, getObjectType, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractLoginHandlerFactoryBean

public AbstractLoginHandlerFactoryBean()
Method Detail

getAuthenticationDuration

public int getAuthenticationDuration()
Gets the duration of the authentication, in minutes.

Returns:
duration of the authentication, in minutes

setAuthenticationDuration

public void setAuthenticationDuration(int duration)
Sets the duration of the authentication, in minutes.

Parameters:
duration - duration of the authentication, in minutes

getAuthenticationMethods

public List<String> getAuthenticationMethods()
Gets the authentication methods supported by the handler.

Returns:
authentication methods supported by the handler

setAuthenticationMethods

public void setAuthenticationMethods(List<String> methods)
Sets the authentication methods supported by the handler.

Parameters:
methods - authentication methods supported by the handler

populateHandler

protected void populateHandler(AbstractLoginHandler handler)
Populates the authentication duration and methods of the handler.

Parameters:
handler - the authentication handler to populate


Copyright © 2006-2009 Internet2. All Rights Reserved.