returns the value of the permission
returns an optional resource that the permission is assigned-on
this methods verifies whether or not the authorization match the specified context.
this methods verifies whether or not the authorization match the specified user. Internally a basic context is created with the user and the method delegates to {@link Authorization#match}
sets an optional resource that the permission is assigned-on
this method verifies whether or not the authorization implies the specified authorization. Note that it doesn't always mean an exact match. For instance, in the case of a WildcardPermissionBasedAuthorization, this method may return true even if the permissions are different WildcardPermissionBasedAuthorization.create('*').verify(WildcardPermissionBasedAuthorization.create('anypermission')) would return true
Generated using TypeDoc
Represents a permission Note that the permission can optionally be assigned to a specific resource