Class PolicyBasedAuthorizationProvider
java.lang.Object
io.vertx.reactivex.ext.auth.abac.PolicyBasedAuthorizationProvider
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate, AuthorizationProvider
public class PolicyBasedAuthorizationProvider
extends Object
implements io.vertx.lang.rx.RxDelegate, AuthorizationProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.vertx.lang.rx.TypeArg<PolicyBasedAuthorizationProvider> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclear()create()booleangetAuthorizations(User user) Updates the user with the set of authorizations.getId()returns the id of the authorization providerinthashCode()rxGetAuthorizations(User user) Updates the user with the set of authorizations.setPolicies(List<Policy> policies) toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
PolicyBasedAuthorizationProvider
-
PolicyBasedAuthorizationProvider
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceAuthorizationProvider- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
getId
returns the id of the authorization provider- Specified by:
getIdin interfaceAuthorizationProvider- Returns:
-
getAuthorizations
Updates the user with the set of authorizations.- Specified by:
getAuthorizationsin interfaceAuthorizationProvider- Parameters:
user- user to lookup and update.- Returns:
- Future void to signal end of asynchronous call.
-
rxGetAuthorizations
Updates the user with the set of authorizations.- Specified by:
rxGetAuthorizationsin interfaceAuthorizationProvider- Parameters:
user- user to lookup and update.- Returns:
- Future void to signal end of asynchronous call.
-
create
-
addPolicy
-
setPolicies
-
clear
-
newInstance
-