Class NotAuthorization
- java.lang.Object
- 
- io.vertx.reactivex.ext.auth.authorization.NotAuthorization
 
- 
- All Implemented Interfaces:
- io.vertx.lang.rx.RxDelegate,- Authorization
 
 public class NotAuthorization extends Object implements io.vertx.lang.rx.RxDelegate, Authorization Allows to perform a logical 'not' of the specified authorizationNOTE: This class has been automatically generated from the originalnon RX-ified interface using Vert.x codegen.
- 
- 
Field SummaryFields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<NotAuthorization>__TYPE_ARG
 - 
Constructor SummaryConstructors Constructor Description NotAuthorization(NotAuthorization delegate)NotAuthorization(Object delegate)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NotAuthorizationcreate(Authorization authorization)booleanequals(Object o)AuthorizationgetAuthorization()NotAuthorizationgetDelegate()inthashCode()booleanmatch(AuthorizationContext context)this methods verifies whether or not the authorization match the specified context.booleanmatch(User user)this methods verifies whether or not the authorization match the specified user.static NotAuthorizationnewInstance(NotAuthorization arg)JsonObjecttoJson()StringtoString()booleanverify(Authorization authorization)this method verifies whether or not the authorization implies the specified authorization.
 
- 
- 
- 
Field Detail- 
__TYPE_ARGpublic static final io.vertx.lang.rx.TypeArg<NotAuthorization> __TYPE_ARG 
 
- 
 - 
Constructor Detail- 
NotAuthorizationpublic NotAuthorization(NotAuthorization delegate) 
 - 
NotAuthorizationpublic NotAuthorization(Object delegate) 
 
- 
 - 
Method Detail- 
getDelegatepublic NotAuthorization getDelegate() - Specified by:
- getDelegatein interface- Authorization
- Specified by:
- getDelegatein interface- io.vertx.lang.rx.RxDelegate
 
 - 
matchpublic boolean match(AuthorizationContext context) this methods verifies whether or not the authorization match the specified context.- Specified by:
- matchin interface- Authorization
- Parameters:
- context- the context.
- Returns:
- true if there's a match.
 
 - 
verifypublic boolean verify(Authorization authorization) 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 aWildcardPermissionBasedAuthorization, this method may return true even if the permissions are different WildcardPermissionBasedAuthorization.create('*').verify(WildcardPermissionBasedAuthorization.create('anypermission')) would return true- Specified by:
- verifyin interface- Authorization
- Parameters:
- authorization- the authorization.
- Returns:
- true if implies the argument.
 
 - 
toJsonpublic JsonObject toJson() - Specified by:
- toJsonin interface- Authorization
 
 - 
createpublic static NotAuthorization create(Authorization authorization) 
 - 
getAuthorizationpublic Authorization getAuthorization() 
 - 
matchpublic boolean match(User user) 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 toAuthorization.match(io.vertx.reactivex.ext.auth.authorization.AuthorizationContext)- Parameters:
- user- the user.
- Returns:
- true if there's a match
 
 - 
newInstancepublic static NotAuthorization newInstance(NotAuthorization arg) 
 
- 
 
-