public class DigestAuthHandlerImpl extends AuthHandlerImpl implements DigestAuthHandler
| Modifier and Type | Field and Description |
|---|---|
protected io.vertx.ext.web.handler.impl.AuthorizationAuthHandler.Type |
type |
authorities, authProvider, realmDEFAULT_NONCE_EXPIRE_TIMEOUT| Constructor and Description |
|---|
DigestAuthHandlerImpl(HtdigestAuth authProvider,
long nonceExpireTimeout) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
authenticateHeader(RoutingContext context) |
protected void |
parseAuthorization(RoutingContext ctx,
boolean optional,
Handler<AsyncResult<String>> handler) |
void |
parseCredentials(RoutingContext context,
Handler<AsyncResult<JsonObject>> handler)
Parses the credentials from the request into a JsonObject.
|
addAuthorities, addAuthority, authorize, handle, processExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, createaddAuthorities, addAuthority, authorizepublic DigestAuthHandlerImpl(HtdigestAuth authProvider, long nonceExpireTimeout)
public void parseCredentials(RoutingContext context, Handler<AsyncResult<JsonObject>> handler)
AuthHandlerparseCredentials in interface AuthHandlercontext - the routing contexthandler - the handler to be called once the information is available.protected String authenticateHeader(RoutingContext context)
authenticateHeader in class AuthHandlerImplprotected final void parseAuthorization(RoutingContext ctx, boolean optional, Handler<AsyncResult<String>> handler)
Copyright © 2020. All rights reserved.