public final class ElytronPermission extends Permission
| Constructor and Description |
|---|
ElytronPermission(String name)
Construct a new instance.
|
ElytronPermission(String name,
String actions)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Determine if this permission equals the other object.
|
String |
getActions()
Get the actions.
|
int |
hashCode()
Get the hash code of this permission.
|
boolean |
implies(Permission p)
Determine if this permission implies the other permission.
|
PermissionCollection |
newPermissionCollection()
Get the specialized permission collection type for this permission class.
|
checkGuard, getName, toStringpublic ElytronPermission(String name)
name - the name of the permissionpublic PermissionCollection newPermissionCollection()
newPermissionCollection in class Permissionpublic String getActions()
getActions in class Permissionpublic boolean implies(Permission p)
ElytronPermission
and the name of the permission is equal to the name of this permission.implies in class Permissionp - the permission to testtrue if the given permission is implied by this one, false otherwisepublic boolean equals(Object obj)
ElytronPermission
and the name of the permission is equal to the name of this permission.equals in class Permissionobj - the object to testtrue if the given object is equal to this one, false otherwisepublic int hashCode()
hashCode in class PermissionCopyright © 2016 JBoss by Red Hat. All rights reserved.