info.magnolia.cms.security
Class SystemUserManager

java.lang.Object
  extended by info.magnolia.cms.security.MgnlUserManager
      extended by info.magnolia.cms.security.SystemUserManager
All Implemented Interfaces:
UserManager
Direct Known Subclasses:
RescueSecuritySupport.RescueUserManager

public class SystemUserManager
extends MgnlUserManager

Responsible to handle system users like anonymous and superuser.

Version:
$Id: SystemUserManager.java 46856 2011-06-30 12:51:19Z had $
Author:
philipp

Field Summary
 
Fields inherited from class info.magnolia.cms.security.MgnlUserManager
NODE_ACLUSERS, PROPERTY_EMAIL, PROPERTY_LANGUAGE, PROPERTY_LASTACCESS, PROPERTY_PASSWORD, PROPERTY_TITLE
 
Fields inherited from interface info.magnolia.cms.security.UserManager
ANONYMOUS_USER, SYSTEM_PSWD, SYSTEM_USER
 
Constructor Summary
SystemUserManager()
           
 
Method Summary
 User getAnonymousUser()
          SystemUserManager does this.
protected  User getOrCreateUser(String userName, String password)
           
 String getRealmName()
           
 User getSystemUser()
          SystemUserManager does this.
 
Methods inherited from class info.magnolia.cms.security.MgnlUserManager
changePassword, createUser, createUserNode, encodePassword, findUserNode, getAllUsers, getFromRepository, getHierarchyManager, getLockTimePeriod, getMaxFailedLoginAttempts, getName, getUser, getUser, newUserInstance, setLockTimePeriod, setMaxFailedLoginAttempts, setName, setPasswordProperty, updateUserListWithAllChildren, userInstance, validateUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemUserManager

public SystemUserManager()
Method Detail

getRealmName

public String getRealmName()
Overrides:
getRealmName in class MgnlUserManager

getSystemUser

public User getSystemUser()
Description copied from class: MgnlUserManager
SystemUserManager does this.

Specified by:
getSystemUser in interface UserManager
Overrides:
getSystemUser in class MgnlUserManager

getAnonymousUser

public User getAnonymousUser()
Description copied from class: MgnlUserManager
SystemUserManager does this.

Specified by:
getAnonymousUser in interface UserManager
Overrides:
getAnonymousUser in class MgnlUserManager

getOrCreateUser

protected User getOrCreateUser(String userName,
                               String password)


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.