org.opennms.web.acegisecurity
Class UserDaoImpl
java.lang.Object
org.opennms.web.acegisecurity.UserDaoImpl
- All Implemented Interfaces:
- UserDao, org.springframework.beans.factory.InitializingBean
public class UserDaoImpl
- extends Object
- implements UserDao, org.springframework.beans.factory.InitializingBean
Implements the interface to allow Tomcat to check our users.xml file
to authenticate users.
This class is Tomcat-specific and will not be portable to other
servlet containers. It relies on packages supplied with Tomcat.
- Author:
- Lawrence Karnowski, Eric Molitor, OpenNMS
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserDaoImpl
public UserDaoImpl()
getAuthoritiesByUsername
protected org.acegisecurity.GrantedAuthority[] getAuthoritiesByUsername(String user)
setUsersConfigurationFile
public void setUsersConfigurationFile(String usersConfigurationFile)
getUsersConfigurationFile
public String getUsersConfigurationFile()
setMagicUsersConfigurationFile
public void setMagicUsersConfigurationFile(String magicUsersConfigurationFile)
getMagicUsersConfigurationFile
public String getMagicUsersConfigurationFile()
getByUsername
public User getByUsername(String username)
- Specified by:
getByUsername in interface UserDao
getMagicUsersLastModified
public long getMagicUsersLastModified()
getUsersLastModified
public long getUsersLastModified()
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Copyright ? 2007. All Rights Reserved.