public class DigestAuthHandler extends Object implements AuthHandler
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static TypeArg<DigestAuthHandler> |
__TYPE_ARG |
| Constructor and Description |
|---|
DigestAuthHandler(DigestAuthHandler delegate) |
| Modifier and Type | Method and Description |
|---|---|
AuthHandler |
addAuthorities(Set<String> authorities)
Add a set of required authorities for this auth handler
|
AuthHandler |
addAuthority(String authority)
Add a required authority for this auth handler
|
static DigestAuthHandler |
create(HtdigestAuth authProvider)
Create a digest auth handler
|
static DigestAuthHandler |
create(HtdigestAuth authProvider,
long nonceExpireTimeout)
Create a digest auth handler, specifying the expire timeout for nonces.
|
DigestAuthHandler |
getDelegate() |
void |
handle(RoutingContext arg0)
Something has happened, so handle it.
|
static DigestAuthHandler |
newInstance(DigestAuthHandler arg) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewInstancepublic static final TypeArg<DigestAuthHandler> __TYPE_ARG
public DigestAuthHandler(DigestAuthHandler delegate)
public DigestAuthHandler getDelegate()
getDelegate in interface AuthHandlerpublic void handle(RoutingContext arg0)
Handlerhandle in interface Handler<RoutingContext>handle in interface AuthHandlerarg0 - the event to handlepublic AuthHandler addAuthority(String authority)
addAuthority in interface AuthHandlerauthority - the authoritypublic AuthHandler addAuthorities(Set<String> authorities)
addAuthorities in interface AuthHandlerauthorities - the set of authoritiespublic static DigestAuthHandler create(HtdigestAuth authProvider)
authProvider - the auth provider to usepublic static DigestAuthHandler create(HtdigestAuth authProvider, long nonceExpireTimeout)
authProvider - the auth service to usenonceExpireTimeout - the nonce expire timeout in milliseconds.public static DigestAuthHandler newInstance(DigestAuthHandler arg)
Copyright © 2017. All rights reserved.