org.acegisecurity.adapters.cas3
Class CasAuthenticationHandler
java.lang.Object
org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler
org.acegisecurity.adapters.cas3.CasAuthenticationHandler
- All Implemented Interfaces:
- AuthenticationHandler, InitializingBean
public final class CasAuthenticationHandler
- extends AbstractUsernamePasswordAuthenticationHandler
Provides JA-SIG CAS 3 authentication by delegating to the Acegi AuthenticationManager.
This class would be configured in the webapp/WEB-INF/deployerConfigContext.xml file in the CAS
distribution.
- Version:
- $Id: CasAuthenticationHandler.java 1496 2006-05-23 13:38:33Z benalex $
- Author:
- Scott Battaglia
- See Also:
AuthenticationHandler,
AuthenticationManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CasAuthenticationHandler
public CasAuthenticationHandler()
afterPropertiesSetInternal
protected void afterPropertiesSetInternal()
throws Exception
- Overrides:
afterPropertiesSetInternal in class AbstractUsernamePasswordAuthenticationHandler
- Throws:
Exception
authenticateUsernamePasswordInternal
protected boolean authenticateUsernamePasswordInternal(UsernamePasswordCredentials credentials)
throws AuthenticationException
- Specified by:
authenticateUsernamePasswordInternal in class AbstractUsernamePasswordAuthenticationHandler
- Throws:
AuthenticationException
setAuthenticationManager
public void setAuthenticationManager(org.acegisecurity.AuthenticationManager authenticationManager)
- Method to set the Acegi
AuthenticationManager to delegate to.
- Parameters:
authenticationManager - the Acegi AuthenticationManager that knows how to authenticate users.
Copyright © 2004-2006 Acegi Technology Pty Limited. All Rights Reserved.