Package io.stargate.auth.jwt
Class PlainTextJwtTokenSaslNegotiator
- java.lang.Object
-
- io.stargate.auth.PlainTextTokenSaslNegotiator
-
- io.stargate.auth.jwt.PlainTextJwtTokenSaslNegotiator
-
- All Implemented Interfaces:
Authenticator.SaslNegotiator
public class PlainTextJwtTokenSaslNegotiator extends PlainTextTokenSaslNegotiator
-
-
Field Summary
-
Fields inherited from class io.stargate.auth.PlainTextTokenSaslNegotiator
authentication, authenticationSubject, tokenMaxLength, tokenUsername
-
-
Constructor Summary
Constructors Constructor Description PlainTextJwtTokenSaslNegotiator(AuthenticationService authentication, Authenticator.SaslNegotiator wrapped, String tokenUsername, int tokenMaxLength, ClientInfo clientInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanattemptTokenAuthentication(byte[] clientResponse)-
Methods inherited from class io.stargate.auth.PlainTextTokenSaslNegotiator
decodeCredentials, evaluateResponse, getAuthenticatedUser, isComplete
-
-
-
-
Constructor Detail
-
PlainTextJwtTokenSaslNegotiator
public PlainTextJwtTokenSaslNegotiator(AuthenticationService authentication, Authenticator.SaslNegotiator wrapped, String tokenUsername, int tokenMaxLength, ClientInfo clientInfo)
-
-
Method Detail
-
attemptTokenAuthentication
public boolean attemptTokenAuthentication(byte[] clientResponse)
- Specified by:
attemptTokenAuthenticationin classPlainTextTokenSaslNegotiator
-
-