public class BasicHandler extends AbstractSecurityHandler
Handles authentication when mode is “Basic”, so we have encoded: UserName and Password and turn it on our own turf into a JWT Header so it fits into our general approach
Constructor and Description |
---|
BasicHandler() |
Modifier and Type | Method and Description |
---|---|
void |
authenticate(io.vertx.ext.web.RoutingContext ctx,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.auth.User>> handler) |
AuthLogin |
getAuthLogin(io.vertx.core.json.JsonObject userObj,
io.vertx.core.Vertx vertx) |
protected boolean |
isBasicAuth() |
denyAccessToTheHeathans, denyAccessToTheHeathans, getAsyncResultUser, handle, incrementAuthenticationMetrics
public void authenticate(io.vertx.ext.web.RoutingContext ctx, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.auth.User>> handler)
public AuthLogin getAuthLogin(io.vertx.core.json.JsonObject userObj, io.vertx.core.Vertx vertx)
userObj
- vertx
- protected boolean isBasicAuth()
isBasicAuth
in class AbstractSecurityHandler