public final class EJBRoleRefPermission extends Permission implements Serializable
| Constructor and Description |
|---|
EJBRoleRefPermission(String ejbName,
String actions)
Creates a new EJBRoleRefPermission with the specified name and actions.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object p)
Test an EJBRoleRefPermission for equality.
|
String |
getActions() |
int |
hashCode() |
boolean |
implies(Permission p)
Determines if the argument Permission is "implied by" this
EJBRoleRefPermission.
|
String |
toString()
Returns a string describing this Permission.
|
checkGuard, getName, newPermissionCollectionpublic EJBRoleRefPermission(String ejbName, String actions)
ejbName - - the ejb-name that identifies the EJB in whose context the
role references are to be evaluated.actions - - identifies the role reference to which the permission
pertains. The role reference is scoped to the EJB identified in the name
parameter. The value of the role reference must not be null or the empty
string.public boolean equals(Object p)
equals in class Permissionp - public String getActions()
getActions in class Permissionpublic int hashCode()
hashCode in class Permissionpublic boolean implies(Permission p)
implies in class Permissionp - - the EJBRoleRefPermission to testpublic String toString()
toString in class PermissionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.