org.opennms.web.springframework.security
Class UserDaoImpl
java.lang.Object
org.opennms.web.springframework.security.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.springframework.security.GrantedAuthority[] getAuthoritiesByUsername(String user)
setUsersConfigurationFile
public void setUsersConfigurationFile(String usersConfigurationFile)
setGroupsConfigurationFile
public void setGroupsConfigurationFile(String groupsConfigurationFile)
setUseGroups
public void setUseGroups(boolean useGroups)
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()
getGroupsLastModified
public long getGroupsLastModified()
isUseGroups
public boolean isUseGroups()
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Copyright © 2009. All Rights Reserved.