org.jboss.security.identity.plugins
Class SimpleRole
java.lang.Object
org.jboss.security.identity.plugins.SimpleRole
- All Implemented Interfaces:
- Serializable, Cloneable, org.jboss.security.identity.Role
- Direct Known Subclasses:
- SimpleRoleGroup
public class SimpleRole
- extends Object
- implements org.jboss.security.identity.Role, Cloneable
Simple Role
- Since:
- Nov 16, 2007
- Version:
- $Revision$
- Author:
- Anil.Saldhana@redhat.com
- See Also:
- Serialized Form
ANYBODY
public static final String ANYBODY
- See Also:
- Constant Field Values
ANYBODY_ROLE
public static final org.jboss.security.identity.Role ANYBODY_ROLE
SimpleRole
public SimpleRole(String roleName)
SimpleRole
public SimpleRole(String roleName,
org.jboss.security.identity.Role parent)
getRoleName
public String getRoleName()
- Specified by:
getRoleName
in interface org.jboss.security.identity.Role
getType
public org.jboss.security.identity.RoleType getType()
- Specified by:
getType
in interface org.jboss.security.identity.Role
containsAll
public boolean containsAll(org.jboss.security.identity.Role anotherRole)
- Specified by:
containsAll
in interface org.jboss.security.identity.Role
- See Also:
Role#contains(Role)
getParent
public org.jboss.security.identity.Role getParent()
- Specified by:
getParent
in interface org.jboss.security.identity.Role
clone
protected Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class Object
- Throws:
CloneNotSupportedException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009 JBoss Inc.. All Rights Reserved.