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 java.lang.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(java.lang.String user)
setUsersConfigurationFile
public void setUsersConfigurationFile(java.lang.String usersConfigurationFile)
getUsersConfigurationFile
public java.lang.String getUsersConfigurationFile()
setMagicUsersConfigurationFile
public void setMagicUsersConfigurationFile(java.lang.String magicUsersConfigurationFile)
getMagicUsersConfigurationFile
public java.lang.String getMagicUsersConfigurationFile()
getByUsername
public User getByUsername(java.lang.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.