public class NotAuthorizationImpl extends Object implements NotAuthorization
| Constructor and Description |
|---|
NotAuthorizationImpl() |
NotAuthorizationImpl(Authorization authorization) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Authorization |
getAuthorization() |
int |
hashCode() |
boolean |
match(AuthorizationContext context)
this methods verifies whether or not the authorization match the specified
context.
|
boolean |
verify(Authorization authorization)
this method verifies whether or not the authorization implies the specified
authorization.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcreatematchpublic NotAuthorizationImpl()
public NotAuthorizationImpl(Authorization authorization)
public Authorization getAuthorization()
getAuthorization in interface NotAuthorizationpublic boolean match(AuthorizationContext context)
Authorizationmatch in interface Authorizationcontext - the context.public boolean verify(Authorization authorization)
AuthorizationWildcardPermissionBasedAuthorization, this method
may return true even if the permissions are different
WildcardPermissionBasedAuthorization.create('*').verify(WildcardPermissionBasedAuthorization.create('anypermission'))
would return trueverify in interface Authorizationauthorization - the authorization.Copyright © 2021. All rights reserved.