org.acegisecurity.adapters.cas3
Class CasAuthenticationHandler

java.lang.Object
  extended by org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler
      extended by 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

Constructor Summary
CasAuthenticationHandler()
           
 
Method Summary
protected  void afterPropertiesSetInternal()
           
protected  boolean authenticateUsernamePasswordInternal(UsernamePasswordCredentials credentials)
           
 void setAuthenticationManager(org.acegisecurity.AuthenticationManager authenticationManager)
          Method to set the Acegi AuthenticationManager to delegate to.
 
Methods inherited from class org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler
afterPropertiesSet, authenticate, getLog, getPasswordEncoder, setClassToSupport, setPasswordEncoder, setSupportSubClasses, supports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CasAuthenticationHandler

public CasAuthenticationHandler()
Method Detail

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.