com.sun.enterprise.deployment
Class Role
java.lang.Object
org.glassfish.security.common.PrincipalImpl
com.sun.enterprise.deployment.Role
- All Implemented Interfaces:
- java.io.Serializable, java.security.Principal
public class Role
- extends PrincipalImpl
In EJBs, ACL checking is done using the Roles. Roles are an abstraction
of an application specific Logical Principals. These Principals do not
have any properties of Principals within a Security Domain (or Realm).
They merely serve as abstraction to application specific entities.
- Author:
- Harish Prabandham
- See Also:
- Serialized Form
|
Constructor Summary |
Role(java.lang.String name)
Creates a new Role with a given name |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Role
public Role(java.lang.String name)
- Creates a new Role with a given name
equals
public boolean equals(java.lang.Object other)
- Specified by:
equals in interface java.security.Principal- Overrides:
equals in class PrincipalImpl
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
Copyright © 2012 GlassFish Community. All Rights Reserved.