public interface AuthHandler extends AuthenticationHandler, Handler<RoutingContext>
An auth handler allows your application to provide authentication/authorization support.
Auth handler requires a SessionHandler to be on the routing chain before it.
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Method and Description |
|---|---|
AuthHandler |
addAuthorities(Set<String> authorities)
Deprecated.
|
AuthHandler |
addAuthority(String authority)
Deprecated.
|
String |
authenticateHeader(RoutingContext context)
Deprecated.
|
void |
authorize(User user)
Deprecated.
|
void |
authorize(User user,
Handler<AsyncResult<Void>> handler)
Deprecated.
|
AuthHandler |
getDelegate() |
void |
handle(RoutingContext event)
Deprecated.
|
static AuthHandler |
newInstance(AuthHandler arg) |
void |
postAuthentication(RoutingContext ctx)
Deprecated.
|
Single<Void> |
rxAuthorize(User user)
Deprecated.
|
newInstanceAuthHandler getDelegate()
getDelegate in interface AuthenticationHandler@Deprecated void handle(RoutingContext event)
handle in interface AuthenticationHandlerhandle in interface Handler<RoutingContext>event - the event to handle@Deprecated String authenticateHeader(RoutingContext context)
authenticateHeader in interface AuthenticationHandlercontext - @Deprecated void postAuthentication(RoutingContext ctx)
postAuthentication in interface AuthenticationHandlerctx - the routing context@Deprecated AuthHandler addAuthority(String authority)
authority - the authority@Deprecated AuthHandler addAuthorities(Set<String> authorities)
authorities - the set of authorities@Deprecated void authorize(User user, Handler<AsyncResult<Void>> handler)
user - a user.handler - the handler for the result.@Deprecated void authorize(User user)
user - a user.@Deprecated Single<Void> rxAuthorize(User user)
user - a user.static AuthHandler newInstance(AuthHandler arg)
Copyright © 2021 Eclipse. All rights reserved.