An auth handler that chains to a sequence of handlers.
Anything
ChainAuthHandler
Basic
Identifiable
Object
Anything
no subtypes hierarchy
Initializer |
ChainAuthHandler(ChainAuthHandler unknown) |
Inherited Attributes |
Attributes inherited from: Object hash , string |
Methods | |
addAuthorities | shared actual default AuthHandler addAuthorities(Set<String> authorities) Add a set of required authorities for this auth handler Parameters:
Refines AuthHandler.addAuthorities |
addAuthority | shared actual default AuthHandler addAuthority(String authority) Add a required authority for this auth handler Parameters:
Refines AuthHandler.addAuthority |
append | shared default ChainAuthHandler append(AuthHandler authHandler) Appends a auth provider to the chain. Parameters:
|
authorize | shared actual default void authorize(User user, Anything(Throwable?) handler) Authorizes the given user against all added authorities. Parameters:
Refines AuthHandler.authorize |
clear | shared default void clear() Clears the chain. |
handle | shared actual default void handle(RoutingContext arg0) Refines AuthHandler.handle |
parseCredentials | shared actual default void parseCredentials(RoutingContext context, Anything(Throwable|Object) handler) Parses the credentials from the request into a JsonObject. The implementation should be able to extract the required info for the auth provider in the format the provider expects. Parameters:
Refines AuthHandler.parseCredentials |
remove | shared default Boolean remove(AuthHandler authHandler) Removes a provider from the chain. Parameters:
|
Inherited Methods |
Methods inherited from: Object equals |
Methods inherited from: AuthHandler |