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)
AuthorizationProvider
authority
- the authority@Deprecated AuthHandler addAuthorities(Set<String> authorities)
AuthorizationProvider
authorities
- the set of authorities@Deprecated void authorize(User user, Handler<AsyncResult<Void>> handler)
AuthorizationProvider
user
- a user.handler
- the handler for the result.@Deprecated default Future<Void> authorize(User user)
AuthorizationProvider
user
- a user.authorize(User, Handler)
Copyright © 2021 Eclipse. All rights reserved.