org.jboss.security.identity.plugins
public class SimpleRole extends Object implements Role, Cloneable
Modifier and Type | Field and Description |
---|---|
static String |
ANYBODY |
static Role |
ANYBODY_ROLE |
Constructor and Description |
---|
SimpleRole(String roleName) |
SimpleRole(String roleName,
Role parent) |
public static final String ANYBODY
public static final Role ANYBODY_ROLE
public SimpleRole(String roleName)
public String getRoleName()
getRoleName
in interface Role
public boolean containsAll(Role anotherRole)
containsAll
in interface Role
Role#contains(Role)
protected Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2015 JBoss Inc.. All Rights Reserved.