public interface ResourcePermission
ResourcePermissions.getInstance(String)
or one
of its variants.Modifier and Type | Method and Description |
---|---|
boolean |
equalsIgnoreGrant(Object other)
Deprecated.
as of v2.0.0-rc.5; use
equalsIgnoreGrantOption(Object) instead. |
boolean |
equalsIgnoreGrantOption(Object other)
Compare this permission with the specified other permission for equality, but ignoring the grant option.
|
String |
getPermissionName()
Retrieves the permission name.
|
long |
getSystemPermissionId()
Retrieve the id of a system permission.
|
boolean |
isGrantableFrom(ResourcePermission other)
Determines if this permission can be granted by a grantor holding the specified other permission.
|
boolean |
isSystemPermission()
Determines if this is system permission.
|
boolean |
isWithGrant()
Deprecated.
as of v2.0.0-rc.5; use
isWithGrantOption() instead. |
boolean |
isWithGrantOption()
Retrieves the value of the "grant option".
|
boolean isSystemPermission()
String getPermissionName()
long getSystemPermissionId()
IllegalStateException
- if this method is called on a non-system permission.boolean isWithGrantOption()
@Deprecated boolean isWithGrant()
isWithGrantOption()
instead.boolean isGrantableFrom(ResourcePermission other)
other
- another permission to compare withboolean equalsIgnoreGrantOption(Object other)
other
- another permission to compare withisWithGrantOption()
property.@Deprecated boolean equalsIgnoreGrant(Object other)
equalsIgnoreGrantOption(Object)
instead.other
- another permission to compare withisWithGrant()
property.
OACC is a Java Application Security Framework developed by Acciente, LLC., released under Apache License 2.0.
Copyright 2009-2017, Acciente, LLC.