public class DigestAuthHandlerImpl extends HTTPAuthorizationHandler<HtdigestAuth> implements DigestAuthHandler
typeauthProvider, realmDEFAULT_NONCE_EXPIRE_TIMEOUT| Constructor and Description |
|---|
DigestAuthHandlerImpl(Vertx vertx,
HtdigestAuth authProvider,
long nonceExpireTimeout) |
| Modifier and Type | Method and Description |
|---|---|
String |
authenticateHeader(RoutingContext context)
Returns
|
void |
parseCredentials(RoutingContext context,
Handler<AsyncResult<Credentials>> handler)
Parses the credentials from the request into a JsonObject.
|
parseAuthorizationgetAuthProvider, handle, processExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, createparseCredentials, postAuthenticationpublic DigestAuthHandlerImpl(Vertx vertx, HtdigestAuth authProvider, long nonceExpireTimeout)
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.public String authenticateHeader(RoutingContext context)
HTTPAuthorizationHandlerauthenticateHeader in interface AuthenticationHandlerauthenticateHeader in class HTTPAuthorizationHandler<HtdigestAuth>Copyright © 2021. All rights reserved.