info.magnolia.cms.security
Interface RoleManager

All Known Implementing Classes:
MgnlRoleManager

public interface RoleManager

Manages roles.


Method Summary
 Role createRole(java.lang.String name)
          Create a role without any security restrictions.
 Role getRole(java.lang.String name)
          Get the specific role without any security restrictions.
 

Method Detail

createRole

Role createRole(java.lang.String name)
                throws java.lang.UnsupportedOperationException,
                       java.lang.Exception
Create a role without any security restrictions.

Throws:
java.lang.UnsupportedOperationException - in case the role manager does not support this operation
java.lang.Exception

getRole

Role getRole(java.lang.String name)
             throws java.lang.UnsupportedOperationException
Get the specific role without any security restrictions.

Throws:
java.lang.UnsupportedOperationException - in case the role manager does not support this operation


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