org.jboss.security.identity
Class RoleFactory

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

public class RoleFactory
extends java.lang.Object

Factory to create roles

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

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

Field Detail

SIMPLE_ROLE_CLASS

public static java.lang.String SIMPLE_ROLE_CLASS

SIMPLE_ROLEGROUP_CLASS

public static java.lang.String SIMPLE_ROLEGROUP_CLASS
Constructor Detail

RoleFactory

public RoleFactory()
Method Detail

createRole

public static Role createRole(java.lang.String name)
                       throws java.security.PrivilegedActionException
Throws:
java.security.PrivilegedActionException

createRoleGroup

public static RoleGroup createRoleGroup(java.lang.String name)
                                 throws java.security.PrivilegedActionException
Throws:
java.security.PrivilegedActionException


Copyright © 2008 JBoss Inc.. All Rights Reserved.