public class ChainAuthHandlerImpl extends AuthenticationHandlerImpl<AuthenticationProvider> implements ChainAuthHandler
authProvider, realm| Constructor and Description |
|---|
ChainAuthHandlerImpl(boolean all) |
| Modifier and Type | Method and Description |
|---|---|
ChainAuthHandler |
add(AuthenticationHandler other)
Appends a auth provider to the chain.
|
String |
authenticateHeader(RoutingContext ctx)
Returns
|
void |
parseCredentials(RoutingContext context,
Handler<AsyncResult<Credentials>> handler)
Parses the credentials from the request into a JsonObject.
|
getAuthProvider, handle, processExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitall, any, createparseCredentials, postAuthenticationpublic ChainAuthHandler add(AuthenticationHandler other)
ChainAuthHandleradd in interface ChainAuthHandlerother - auth handlerpublic void parseCredentials(RoutingContext context, Handler<AsyncResult<Credentials>> handler)
AuthenticationHandlerparseCredentials in interface AuthenticationHandlercontext - the routing contexthandler - the handler to be called once the information is available.public String authenticateHeader(RoutingContext ctx)
AuthenticationHandlerauthenticateHeader in interface AuthenticationHandlerCopyright © 2021. All rights reserved.