public class BasicAuthHandler extends Object implements AuthenticationHandler, Handler<RoutingContext>
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description | 
|---|---|
| static io.vertx.lang.rx.TypeArg<BasicAuthHandler> | __TYPE_ARG | 
| static String | DEFAULT_REALMThe default realm to use | 
| Constructor and Description | 
|---|
| BasicAuthHandler(BasicAuthHandler delegate) | 
| BasicAuthHandler(Object delegate) | 
| Modifier and Type | Method and Description | 
|---|---|
| static BasicAuthHandler | create(AuthenticationProvider authProvider)Create a basic auth handler | 
| static BasicAuthHandler | create(AuthenticationProvider authProvider,
      String realm)Create a basic auth handler, specifying realm | 
| boolean | equals(Object o) | 
| BasicAuthHandler | getDelegate() | 
| void | handle(RoutingContext event)Something has happened, so handle it. | 
| int | hashCode() | 
| static BasicAuthHandler | newInstance(BasicAuthHandler arg) | 
| String | toString() | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitnewInstancepublic static final io.vertx.lang.rx.TypeArg<BasicAuthHandler> __TYPE_ARG
public static final String DEFAULT_REALM
public BasicAuthHandler(BasicAuthHandler delegate)
public BasicAuthHandler(Object delegate)
public BasicAuthHandler getDelegate()
getDelegate in interface AuthenticationHandlerpublic void handle(RoutingContext event)
handle in interface Handler<RoutingContext>handle in interface AuthenticationHandlerevent - the event to handlepublic static BasicAuthHandler create(AuthenticationProvider authProvider)
authProvider - the auth provider to usepublic static BasicAuthHandler create(AuthenticationProvider authProvider, String realm)
authProvider - the auth service to userealm - the realm to usepublic static BasicAuthHandler newInstance(BasicAuthHandler arg)
Copyright © 2023 Eclipse. All rights reserved.