public class BasicAuthHandler
extends java.lang.Object
implements io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
BasicAuthHandler.AuthenticatedRequest  | 
static class  | 
BasicAuthHandler.CacheRegistration  | 
static class  | 
BasicAuthHandler.Creds  | 
| Modifier and Type | Field and Description | 
|---|---|
io.vertx.core.Handler<BasicAuthHandler.AuthenticatedRequest> | 
lh  | 
| Constructor and Description | 
|---|
BasicAuthHandler(io.vertx.core.Vertx vertx,
                java.lang.String origin,
                io.vertx.core.Handler<BasicAuthHandler.AuthenticatedRequest> lh)  | 
BasicAuthHandler(io.vertx.core.Vertx vertx,
                java.lang.String origin,
                java.lang.String role,
                io.vertx.core.Handler<BasicAuthHandler.AuthenticatedRequest> lh)  | 
| Modifier and Type | Method and Description | 
|---|---|
BasicAuthHandler.Creds | 
getCredentials(java.lang.String auth)  | 
static java.lang.String | 
getSid(java.lang.String auth)  | 
void | 
handle(io.vertx.core.http.HttpServerRequest r)  | 
static void | 
purgeSessions()  | 
public final io.vertx.core.Handler<BasicAuthHandler.AuthenticatedRequest> lh
public BasicAuthHandler(io.vertx.core.Vertx vertx,
                        java.lang.String origin,
                        io.vertx.core.Handler<BasicAuthHandler.AuthenticatedRequest> lh)
public BasicAuthHandler(io.vertx.core.Vertx vertx,
                        java.lang.String origin,
                        java.lang.String role,
                        io.vertx.core.Handler<BasicAuthHandler.AuthenticatedRequest> lh)
public void handle(io.vertx.core.http.HttpServerRequest r)
handle in interface io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>public BasicAuthHandler.Creds getCredentials(java.lang.String auth)
public static void purgeSessions()
public static java.lang.String getSid(java.lang.String auth)
Copyright © 2023. All Rights Reserved.