org.objectweb.jonas.security.auth
Class JRole

java.lang.Object
  extended by org.objectweb.jonas.security.auth.JPrincipal
      extended by org.objectweb.jonas.security.auth.JRole
All Implemented Interfaces:
java.io.Serializable, java.security.Principal

public class JRole
extends JPrincipal

This class defines a Role It use the Principal class in order to add roles to the java.security.acl.Group class

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
JRole(java.lang.String name)
          Constructor (use the super constructor)
 
Method Summary
 
Methods inherited from class org.objectweb.jonas.security.auth.JPrincipal
equals, getName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JRole

public JRole(java.lang.String name)
Constructor (use the super constructor)

Parameters:
name - the name of this role