public abstract class AuthPhylum extends Object implements io.vertx.ext.web.handler.AuthHandler
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
authorities |
protected io.vertx.ext.auth.AuthProvider |
authProvider |
protected String |
realm |
| Constructor and Description |
|---|
AuthPhylum(io.vertx.ext.auth.AuthProvider authProvider) |
AuthPhylum(io.vertx.ext.auth.AuthProvider authProvider,
String realm) |
| Modifier and Type | Method and Description |
|---|---|
io.vertx.ext.web.handler.AuthHandler |
addAuthorities(Set<String> authorities) |
io.vertx.ext.web.handler.AuthHandler |
addAuthority(String authority) |
protected String |
authenticateHeader(io.vertx.ext.web.RoutingContext context) |
void |
authorize(io.vertx.ext.auth.User user,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler) |
protected io.vertx.up.log.Annal |
getLogger() |
void |
handle(io.vertx.ext.web.RoutingContext ctx) |
protected final String realm
protected transient io.vertx.ext.auth.AuthProvider authProvider
public AuthPhylum(io.vertx.ext.auth.AuthProvider authProvider)
public AuthPhylum(io.vertx.ext.auth.AuthProvider authProvider,
String realm)
public io.vertx.ext.web.handler.AuthHandler addAuthority(String authority)
addAuthority in interface io.vertx.ext.web.handler.AuthHandlerpublic io.vertx.ext.web.handler.AuthHandler addAuthorities(Set<String> authorities)
addAuthorities in interface io.vertx.ext.web.handler.AuthHandlerprotected String authenticateHeader(io.vertx.ext.web.RoutingContext context)
public void authorize(io.vertx.ext.auth.User user,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
authorize in interface io.vertx.ext.web.handler.AuthHandlerpublic void handle(io.vertx.ext.web.RoutingContext ctx)
handle in interface io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>protected io.vertx.up.log.Annal getLogger()
Copyright © 2019. All rights reserved.