org.bejug.javacareers.jobs.dao.adapters
Class AcegiAuthenticationDaoImpl

java.lang.Object
  extended byorg.bejug.javacareers.jobs.dao.adapters.AcegiAuthenticationDaoImpl
All Implemented Interfaces:
net.sf.acegisecurity.providers.dao.AuthenticationDao

public class AcegiAuthenticationDaoImpl
extends java.lang.Object
implements net.sf.acegisecurity.providers.dao.AuthenticationDao

The Acegi authentication dao implementation.

Version:
$Revision: 1.2 $ - $Date: 2005/09/13 08:11:17 $
Author:
kva (last modified by $Author: schauwvliege $)

Constructor Summary
AcegiAuthenticationDaoImpl()
           
 
Method Summary
 net.sf.acegisecurity.UserDetails loadUserByUsername(java.lang.String name)
          load the user by username.
 void setUserDao(UserDao userDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcegiAuthenticationDaoImpl

public AcegiAuthenticationDaoImpl()
Method Detail

loadUserByUsername

public net.sf.acegisecurity.UserDetails loadUserByUsername(java.lang.String name)
                                                    throws net.sf.acegisecurity.providers.dao.UsernameNotFoundException,
                                                           org.springframework.dao.DataAccessException
load the user by username.

Specified by:
loadUserByUsername in interface net.sf.acegisecurity.providers.dao.AuthenticationDao
Parameters:
name - username String
Returns:
userDetails
Throws:
net.sf.acegisecurity.providers.dao.UsernameNotFoundException - if username is not found
org.springframework.dao.DataAccessException - if so;ething goes wrong on the database
See Also:
AuthenticationDao.loadUserByUsername(java.lang.String)

setUserDao

public void setUserDao(UserDao userDao)
Parameters:
userDao - The userDao to set.


Copyright © 2005-2006 BeJUG. All Rights Reserved.