org.jboss.security.identity
Class RoleFactory

java.lang.Object
  extended by org.jboss.security.identity.RoleFactory

public class RoleFactory
extends Object

Factory to create roles

Since:
Dec 21, 2007
Version:
$Revision$
Author:
Anil.Saldhana@redhat.com

Constructor Summary
RoleFactory()
           
 
Method Summary
static Role createRole(String name)
           
static RoleGroup createRoleGroup(String name)
           
static void setSimpleRoleClass(String fqn)
           
static void setSimpleRoleGroupClass(String fqn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleFactory

public RoleFactory()
Method Detail

createRole

public static Role createRole(String name)
                       throws PrivilegedActionException
Throws:
PrivilegedActionException

createRoleGroup

public static RoleGroup createRoleGroup(String name)
                                 throws PrivilegedActionException
Throws:
PrivilegedActionException

setSimpleRoleClass

public static void setSimpleRoleClass(String fqn)

setSimpleRoleGroupClass

public static void setSimpleRoleGroupClass(String fqn)


Copyright © 2011 JBoss Inc.. All Rights Reserved.