net.sf.oness.user.model.dao
Class UserHibernateDao
java.lang.Object
org.springframework.orm.hibernate.support.HibernateDaoSupport
net.sf.oness.common.model.dao.hibernate.HibernateDaoSupport
net.sf.oness.user.model.dao.UserHibernateDao
- All Implemented Interfaces:
- net.sf.acegisecurity.providers.dao.AuthenticationDao, org.springframework.beans.factory.InitializingBean, UserDao
- public class UserHibernateDao
- extends net.sf.oness.common.model.dao.hibernate.HibernateDaoSupport
- implements net.sf.acegisecurity.providers.dao.AuthenticationDao, UserDao
Retrieves user details from database.
- Version:
- $Revision: 1.3 $
- Author:
- Carlos Sanchez
Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
logger |
Methods inherited from class net.sf.oness.common.model.dao.hibernate.HibernateDaoSupport |
filter, findByProperty, findByPropertyContent, loadAndClone |
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
afterPropertiesSet, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, initDao, setHibernateTemplate, setSessionFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserHibernateDao
public UserHibernateDao()
create
public User create(User user)
- Description copied from interface:
UserDao
- Create user
- Specified by:
create
in interface UserDao
- Parameters:
user
-
- Returns:
create
public Authority create(Authority authority)
- Description copied from interface:
UserDao
- Create authority
- Specified by:
create
in interface UserDao
- Parameters:
authority
-
- Returns:
loadUserByUsername
public net.sf.acegisecurity.providers.dao.User loadUserByUsername(java.lang.String name)
throws net.sf.acegisecurity.providers.dao.UsernameNotFoundException,
org.springframework.dao.DataAccessException
- Specified by:
loadUserByUsername
in interface net.sf.acegisecurity.providers.dao.AuthenticationDao
- Throws:
net.sf.acegisecurity.providers.dao.UsernameNotFoundException
org.springframework.dao.DataAccessException
Copyright © 2003-2005 ONess Project. All Rights Reserved.