public interface AuthenticationService
| Modifier and Type | Method and Description |
|---|---|
String |
createToken(String key,
Map<String,String> headers) |
String |
createToken(String key,
String secret,
Map<String,String> headers) |
Authenticator.SaslNegotiator |
getSaslNegotiator(Authenticator.SaslNegotiator wrapped,
ClientInfo clientInfo) |
AuthenticationSubject |
validateToken(String token) |
default AuthenticationSubject |
validateToken(String token,
ClientInfo clientInfo) |
default AuthenticationSubject |
validateToken(String token,
Map<String,String> headers) |
String createToken(String key, String secret, Map<String,String> headers) throws UnauthorizedException
UnauthorizedExceptionString createToken(String key, Map<String,String> headers) throws UnauthorizedException
UnauthorizedExceptionAuthenticationSubject validateToken(String token) throws UnauthorizedException
UnauthorizedExceptiondefault AuthenticationSubject validateToken(String token, Map<String,String> headers) throws UnauthorizedException
UnauthorizedExceptiondefault AuthenticationSubject validateToken(String token, ClientInfo clientInfo) throws UnauthorizedException
UnauthorizedExceptionAuthenticator.SaslNegotiator getSaslNegotiator(Authenticator.SaslNegotiator wrapped, ClientInfo clientInfo)
Copyright © 2022. All rights reserved.