org.jasig.cas.adaptors.jdbc
Class AbstractJdbcUsernamePasswordAuthenticationHandler

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
All Implemented Interfaces:
org.jasig.cas.authentication.handler.AuthenticationHandler
Direct Known Subclasses:
BindModeSearchDatabaseAuthenticationHandler, QueryDatabaseAuthenticationHandler, SearchModeSearchDatabaseAuthenticationHandler

public abstract class AbstractJdbcUsernamePasswordAuthenticationHandler
extends org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler

Abstract class for database authentication handlers.

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

Field Summary
 
Fields inherited from class org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
log
 
Constructor Summary
AbstractJdbcUsernamePasswordAuthenticationHandler()
           
 
Method Summary
protected  javax.sql.DataSource getDataSource()
           
protected  org.springframework.jdbc.core.simple.SimpleJdbcTemplate getJdbcTemplate()
          Method to return the jdbcTemplate
 void setDataSource(javax.sql.DataSource dataSource)
          Method to set the datasource and generate a JdbcTemplate.
 
Methods inherited from class org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler
authenticateUsernamePasswordInternal, 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

AbstractJdbcUsernamePasswordAuthenticationHandler

public AbstractJdbcUsernamePasswordAuthenticationHandler()
Method Detail

setDataSource

public final void setDataSource(javax.sql.DataSource dataSource)
Method to set the datasource and generate a JdbcTemplate.

Parameters:
dataSource - the datasource to use.

getJdbcTemplate

protected final org.springframework.jdbc.core.simple.SimpleJdbcTemplate getJdbcTemplate()
Method to return the jdbcTemplate

Returns:
a fully created JdbcTemplate.

getDataSource

protected final javax.sql.DataSource getDataSource()


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