info.magnolia.cms.security
Class HierarchicalUserManager

java.lang.Object
  extended by info.magnolia.cms.security.MgnlUserManager
      extended by info.magnolia.cms.security.HierarchicalUserManager
All Implemented Interfaces:
UserManager

public class HierarchicalUserManager
extends MgnlUserManager

A variation of a MgnlUserManager which stores users hierarchically using the following structure: /<realm>/<first letter of user name>/<first two letters of user name>.

Version:
$Revision: $ ($Author: $)

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
HierarchicalUserManager()
           
 
Method Summary
protected  Content createUserNode(java.lang.String name)
           
protected  java.lang.String getParentPath(java.lang.String name)
           
 
Methods inherited from class info.magnolia.cms.security.MgnlUserManager
changePassword, createUser, encodePassword, findUserNode, getAllUsers, getAnonymousUser, getFromRepository, getHierarchyManager, getLockTimePeriod, getMaxFailedLoginAttempts, getName, getRealmName, getSystemUser, 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

HierarchicalUserManager

public HierarchicalUserManager()
Method Detail

createUserNode

protected Content createUserNode(java.lang.String name)
                          throws javax.jcr.RepositoryException
Overrides:
createUserNode in class MgnlUserManager
Throws:
javax.jcr.RepositoryException

getParentPath

protected java.lang.String getParentPath(java.lang.String name)


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