org.jboss.security.identity.plugins
Class SimpleRole

java.lang.Object
  extended by 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, Serializable, Cloneable

Simple Role

Since:
Nov 16, 2007
Version:
$Revision$
Author:
Anil.Saldhana@redhat.com
See Also:
Serialized Form

Constructor Summary
SimpleRole(String roleName)
           
 
Method Summary
protected  Object clone()
           
 boolean containsAll(org.jboss.security.identity.Role anotherRole)
           
 String getRoleName()
           
 org.jboss.security.identity.RoleType getType()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleRole

public SimpleRole(String roleName)
Method Detail

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)

clone

protected Object clone()
                throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008 JBoss Inc.. All Rights Reserved.