org.jasig.cas.adaptors.jdbc
Class BindModeSearchDatabaseAuthenticationHandler

java.lang.Object
  extended by org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
      extended by org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler
          extended by org.jasig.cas.adaptors.jdbc.AbstractJdbcUsernamePasswordAuthenticationHandler
              extended by org.jasig.cas.adaptors.jdbc.BindModeSearchDatabaseAuthenticationHandler
All Implemented Interfaces:
org.jasig.cas.authentication.handler.AuthenticationHandler

public class BindModeSearchDatabaseAuthenticationHandler
extends AbstractJdbcUsernamePasswordAuthenticationHandler

This class attempts to authenticate the user by opening a connection to the database with the provided username and password. Servers are provided as a Properties class with the key being the URL and the property being the type of database driver needed.

Since:
3.0
Version:
$Revision: 42053 $ $Date: 2007-06-10 09:17:55 -0400 (Sun, 10 Jun 2007) $
Author:
Scott Battaglia, Dmitriy Kopylenko

Field Summary
 
Fields inherited from class org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
log
 
Constructor Summary
BindModeSearchDatabaseAuthenticationHandler()
           
 
Method Summary
protected  boolean authenticateUsernamePasswordInternal(org.jasig.cas.authentication.principal.UsernamePasswordCredentials credentials)
           
 
Methods inherited from class org.jasig.cas.adaptors.jdbc.AbstractJdbcUsernamePasswordAuthenticationHandler
getDataSource, getJdbcTemplate, setDataSource
 
Methods inherited from class org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler
doAuthentication, getPasswordEncoder, setClassToSupport, setPasswordEncoder, setSupportSubClasses, supports
 
Methods inherited from class org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
authenticate, postAuthenticate, preAuthenticate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindModeSearchDatabaseAuthenticationHandler

public BindModeSearchDatabaseAuthenticationHandler()
Method Detail

authenticateUsernamePasswordInternal

protected final boolean authenticateUsernamePasswordInternal(org.jasig.cas.authentication.principal.UsernamePasswordCredentials credentials)
                                                      throws org.jasig.cas.authentication.handler.AuthenticationException
Specified by:
authenticateUsernamePasswordInternal in class org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler
Throws:
org.jasig.cas.authentication.handler.AuthenticationException


Copyright © 2004-2007 Java Architectures Special Interest Group. All Rights Reserved.