public class BasicAuthHandlerImpl extends HTTPAuthorizationHandler<AuthenticationProvider> implements BasicAuthHandler
typeauthProvider, realmDEFAULT_REALM| Constructor and Description |
|---|
BasicAuthHandlerImpl(AuthenticationProvider authProvider,
String realm) |
| Modifier and Type | Method and Description |
|---|---|
void |
parseCredentials(RoutingContext context,
Handler<AsyncResult<Credentials>> handler)
Parses the credentials from the request into a JsonObject.
|
authenticateHeader, parseAuthorizationgetAuthProvider, handle, processExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, createauthenticateHeader, parseCredentials, postAuthenticationpublic BasicAuthHandlerImpl(AuthenticationProvider authProvider, String realm)
public 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.Copyright © 2021. All rights reserved.