org.opennms.acl.repository.jdbc
Class AuthenticationJdbcDaoImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.jdbc.core.support.JdbcDaoSupport
          extended by org.springframework.security.userdetails.jdbc.JdbcDaoImpl
              extended by org.opennms.acl.repository.jdbc.AuthenticationJdbcDaoImpl
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.security.userdetails.UserDetailsService

public class AuthenticationJdbcDaoImpl
extends org.springframework.security.userdetails.jdbc.JdbcDaoImpl

Used by Spring security to perform authentication

Since:
jdk 1.5.0
Version:
$Id: $
Author:
Massimiliano Dessì (desmax74@yahoo.it)

Field Summary
 
Fields inherited from class org.springframework.security.userdetails.jdbc.JdbcDaoImpl
DEF_AUTHORITIES_BY_USERNAME_QUERY, DEF_GROUP_AUTHORITIES_BY_USERNAME_QUERY, DEF_USERS_BY_USERNAME_QUERY, messages
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
AuthenticationJdbcDaoImpl()
           
 
Method Summary
 org.springframework.security.userdetails.UserDetails loadUserByUsername(String username)
           Load the user detail in the authentication phase
 
Methods inherited from class org.springframework.security.userdetails.jdbc.JdbcDaoImpl
addCustomAuthorities, createUserDetails, getAuthoritiesByUsernameQuery, getEnableAuthorities, getEnableGroups, getRolePrefix, getUsersByUsernameQuery, initDao, isUsernameBasedPrimaryKey, loadGroupAuthorities, loadUserAuthorities, loadUsersByUsername, setAuthoritiesByUsernameQuery, setEnableAuthorities, setEnableGroups, setGroupAuthoritiesByUsernameQuery, setRolePrefix, setUsernameBasedPrimaryKey, setUsersByUsernameQuery
 
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationJdbcDaoImpl

public AuthenticationJdbcDaoImpl()
Method Detail

loadUserByUsername

public org.springframework.security.userdetails.UserDetails loadUserByUsername(String username)
Load the user detail in the authentication phase

Specified by:
loadUserByUsername in interface org.springframework.security.userdetails.UserDetailsService
Overrides:
loadUserByUsername in class org.springframework.security.userdetails.jdbc.JdbcDaoImpl


Copyright © 2011. All Rights Reserved.