AuthenticationHandler@Deprecated public interface AuthHandler extends AuthenticationHandler
An auth handler allows your application to provide authentication/authorization support.
Auth handler requires a SessionHandler to be on the routing chain before it.
| Modifier and Type | Method and Description |
|---|---|
AuthHandler |
addAuthorities(Set<String> authorities)
Deprecated.
this functionality is now handled by the new
AuthorizationProvider |
AuthHandler |
addAuthority(String authority)
Deprecated.
this functionality is now handled by the new
AuthorizationProvider |
default Future<Void> |
authorize(User user)
Deprecated.
this functionality is now handled by the new
AuthorizationProvider |
void |
authorize(User user,
Handler<AsyncResult<Void>> handler)
Deprecated.
this functionality is now handled by the new
AuthorizationProvider |
authenticateHeader, parseCredentials, parseCredentials, postAuthentication@Deprecated AuthHandler addAuthority(String authority)
AuthorizationProviderauthority - the authority@Deprecated AuthHandler addAuthorities(Set<String> authorities)
AuthorizationProviderauthorities - the set of authorities@Deprecated void authorize(User user, Handler<AsyncResult<Void>> handler)
AuthorizationProvideruser - a user.handler - the handler for the result.@Deprecated default Future<Void> authorize(User user)
AuthorizationProvideruser - a user.authorize(User, Handler)Copyright © 2021 Eclipse. All rights reserved.