Class Attribute
java.lang.Object
io.vertx.reactivex.ext.auth.abac.Attribute
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
An attribute is a simple matcher for policies. A Attribute is created from a JsonPointer to the object
and a logical operator:
has(String, Object)- the value must be in the JsonArray or JsonObjecteq(String, Object)- the value must be equals to the pointed locationne(String, Object)- the value must not be equals to the pointed location
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeA custom function to be used during matching.static AttributeVerifies whether the attribute matches the specified.booleanstatic AttributeVerifies whether the attribute matches the specified.inthashCode()booleanVerifies whether the attribute matches the specified user.static AttributeVerifies whether the attribute matches the specified.static AttributenewInstance(Attribute arg) toJson()toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
Attribute
-
Attribute
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
has
-
eq
-
ne
-
create
-
match
Verifies whether the attribute matches the specified user.- Parameters:
user- the user.- Returns:
- true if there's a match
-
toJson
-
newInstance
-