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, newPermissionCollection
public 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 Permission
p
- public String getActions()
getActions
in class Permission
public int hashCode()
hashCode
in class Permission
public boolean implies(Permission p)
implies
in class Permission
p
- - the EJBRoleRefPermission to testpublic String toString()
toString
in class Permission
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.