info.magnolia.cms.security
Class RescueSecuritySupport.RescueUserManager
java.lang.Object
info.magnolia.cms.security.RepositoryBackedSecurityManager
info.magnolia.cms.security.MgnlUserManager
info.magnolia.cms.security.SystemUserManager
info.magnolia.cms.security.RescueSecuritySupport.RescueUserManager
- All Implemented Interfaces:
- UserManager
- Enclosing class:
- RescueSecuritySupport
protected class RescueSecuritySupport.RescueUserManager
- extends SystemUserManager
TODO: extract as top level class? Currently this class is tested implicitly by RescueSecuritySupportTest
. Should this implement directly UserManager and throw UnsupportedMethodException for the methods not implemented?
Overrides SystemUserManager.getSystemUser()
, SystemUserManager.getAnonymousUser()
and MgnlUserManager.getUser(String)
. All methods return an instance of RescueSecuritySupport.RescueUser
.
- Version:
- $Id$
Methods inherited from class info.magnolia.cms.security.MgnlUserManager |
addGroup, addRole, changePassword, createUser, createUser, createUserNode, encodePassword, findPrincipalNode, findUserNode, getACLs, getAllUsers, getFromRepository, getHierarchyManager, getLockTimePeriod, getMaxFailedLoginAttempts, getName, getRepositoryName, getUser, getUserById, isAllowCrossRealmDuplicateNames, newUserInstance, newUserInstance, removeGroup, removeRole, setAllowCrossRealmDuplicateNames, setLockTimePeriod, setMaxFailedLoginAttempts, setName, setPasswordProperty, setPasswordProperty, setProperty, setProperty, setRealmName, updateUserListWithAllChildren, userInstance, validateUsername |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RescueSecuritySupport.RescueUserManager
protected RescueSecuritySupport.RescueUserManager()
getSystemUser
public User getSystemUser()
- Description copied from class:
MgnlUserManager
- SystemUserManager does this.
- Specified by:
getSystemUser
in interface UserManager
- Overrides:
getSystemUser
in class SystemUserManager
getAnonymousUser
public User getAnonymousUser()
- Description copied from class:
MgnlUserManager
- SystemUserManager does this.
- Specified by:
getAnonymousUser
in interface UserManager
- Overrides:
getAnonymousUser
in class SystemUserManager
getUser
public User getUser(String name)
- Description copied from class:
MgnlUserManager
- Get the user object. Uses a search
- Specified by:
getUser
in interface UserManager
- Overrides:
getUser
in class MgnlUserManager
- Parameters:
name
- the name of the user
- Returns:
- the user object
updateLastAccessTimestamp
public void updateLastAccessTimestamp(User user)
- Description copied from interface:
UserManager
- Updates last access timestamp for the user.
- Specified by:
updateLastAccessTimestamp
in interface UserManager
- Overrides:
updateLastAccessTimestamp
in class MgnlUserManager
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.