java.lang.Object
org.acegisecurity.adapters.cas.CasPasswordHandler
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
- public final class CasPasswordHandler
- extends java.lang.Object
- implements org.springframework.beans.factory.InitializingBean
Provides actual CAS authentication by delegation to an
AuthenticationManager.
Do not use this class directly. Instead configure CAS to use the CasPasswordHandlerProxy.
- Version:
- $Id: CasPasswordHandler.java,v 1.2 2005/11/17 00:56:28 benalex Exp $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final org.apache.commons.logging.Log logger
authenticationManager
private org.acegisecurity.AuthenticationManager authenticationManager
CasPasswordHandler
public CasPasswordHandler()
setAuthenticationManager
public void setAuthenticationManager(org.acegisecurity.AuthenticationManager authenticationManager)
getAuthenticationManager
public org.acegisecurity.AuthenticationManager getAuthenticationManager()
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Description copied from interface:
org.springframework.beans.factory.InitializingBean
- Invoked by a BeanFactory after it has set all bean properties supplied
(and satisfied BeanFactoryAware and ApplicationContextAware).
This method allows the bean instance to perform initialization only
possible when all bean properties have been set and to throw an
exception in the event of misconfiguration.
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
authenticate
public boolean authenticate(javax.servlet.ServletRequest servletRequest,
java.lang.String username,
java.lang.String password)
- Called by
CasPasswordHandlerProxy for individual
authentication requests.
Delegates to the configured AuthenticationManager.