info.magnolia.cms.security
Class MgnlRoleManager

java.lang.Object
  extended by info.magnolia.cms.security.MgnlRoleManager
All Implemented Interfaces:
RoleManager

public class MgnlRoleManager
extends java.lang.Object
implements RoleManager

Manages the users stored in magnolia itself.

Version:
$Revision: 33092 $ ($Author: gjoseph $)
Author:
philipp

Constructor Summary
MgnlRoleManager()
          Do not instantiate it!
 
Method Summary
 Role createRole(java.lang.String name)
          Create a role withour any security restrictions.
protected  HierarchyManager getHierarchyManager()
          return the role HierarchyManager (through the current context)
 Role getRole(java.lang.String name)
          Get the specifig role without any security restrictions
protected  MgnlRole newRoleInstance(Content node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MgnlRoleManager

public MgnlRoleManager()
Do not instantiate it!

Method Detail

getRole

public Role getRole(java.lang.String name)
Description copied from interface: RoleManager
Get the specifig role without any security restrictions

Specified by:
getRole in interface RoleManager
Returns:
the role object

createRole

public Role createRole(java.lang.String name)
Description copied from interface: RoleManager
Create a role withour any security restrictions.

Specified by:
createRole in interface RoleManager
Returns:
the new role

newRoleInstance

protected MgnlRole newRoleInstance(Content node)

getHierarchyManager

protected HierarchyManager getHierarchyManager()
return the role HierarchyManager (through the current context)



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