info.magnolia.cms.security
Class MgnlGroupManager
java.lang.Object
info.magnolia.cms.security.RepositoryBackedSecurityManager
info.magnolia.cms.security.MgnlGroupManager
- All Implemented Interfaces:
- GroupManager
public class MgnlGroupManager
- extends RepositoryBackedSecurityManager
- implements GroupManager
Group manager working directly with JCR API and returning simple groups (no JCR node aware).
- Author:
- Sameer Charles $Id: MgnlGroupManager.java 50687 2011-11-02 13:51:17Z dlipp $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MgnlGroupManager
public MgnlGroupManager()
createGroup
public Group createGroup(String name)
throws AccessDeniedException
- Specified by:
createGroup
in interface GroupManager
- Throws:
AccessDeniedException
getGroup
public Group getGroup(String name)
throws AccessDeniedException
- Specified by:
getGroup
in interface GroupManager
- Throws:
AccessDeniedException
getAllGroups
public Collection<Group> getAllGroups()
- Description copied from interface:
GroupManager
- Get all groups defined in the system.
- Specified by:
getAllGroups
in interface GroupManager
newGroupInstance
protected Group newGroupInstance(javax.jcr.Node node)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
findPrincipalNode
protected javax.jcr.Node findPrincipalNode(String principalName,
javax.jcr.Session session)
throws javax.jcr.RepositoryException
- Specified by:
findPrincipalNode
in class RepositoryBackedSecurityManager
- Throws:
javax.jcr.RepositoryException
getRepositoryName
protected String getRepositoryName()
- Specified by:
getRepositoryName
in class RepositoryBackedSecurityManager
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.