org.objectweb.easybeans.security.struct
Class JRole

java.lang.Object
  extended by org.objectweb.easybeans.security.struct.JPrincipal
      extended by org.objectweb.easybeans.security.struct.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

Field Summary
private static long serialVersionUID
          UID for serialization.
 
Constructor Summary
JRole(java.lang.String roleName)
          Constructor (use the super constructor).
 
Method Summary
 
Methods inherited from class org.objectweb.easybeans.security.struct.JPrincipal
equals, getName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
UID for serialization.

See Also:
Constant Field Values
Constructor Detail

JRole

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

Parameters:
roleName - the name of this role