info.magnolia.cms.security
Class HierarchicalUserManager

java.lang.Object
  extended by info.magnolia.cms.security.RepositoryBackedSecurityManager
      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_ENABLED, 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(String name)
           
protected  String getParentPath(String name)
           
 
Methods inherited from class info.magnolia.cms.security.MgnlUserManager
addGroup, addRole, changePassword, createUser, createUser, encodePassword, findPrincipalNode, findUserNode, getACLs, getAllUsers, getAnonymousUser, getFromRepository, getHierarchyManager, getLockTimePeriod, getMaxFailedLoginAttempts, getName, getRealmName, getRepositoryName, getSystemUser, getUser, getUser, getUserById, isAllowCrossRealmDuplicateNames, newUserInstance, newUserInstance, removeGroup, removeRole, setAllowCrossRealmDuplicateNames, setLockTimePeriod, setMaxFailedLoginAttempts, setName, setPasswordProperty, setPasswordProperty, setProperty, setProperty, setRealmName, updateLastAccessTimestamp, updateUserListWithAllChildren, userInstance, validateUsername
 
Methods inherited from class info.magnolia.cms.security.RepositoryBackedSecurityManager
add, getACLs, getACLs, getResourceName, hasAny, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.magnolia.cms.security.UserManager
hasAny
 

Constructor Detail

HierarchicalUserManager

public HierarchicalUserManager()
Method Detail

createUserNode

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

getParentPath

protected String getParentPath(String name)


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.