Class JWTSaslClient
java.lang.Object
com.here.platform.data.client.service.stream.kafka.sasl.JWTSaslClient
- All Implemented Interfaces:
SaslClient
An instance of this class is created by JAAS via reflexion
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()byte[]evaluateChallenge(byte[] challenge) getNegotiatedProperty(String propName) booleanbooleanvoidsetComplete(boolean complete) byte[]unwrap(byte[] incoming, int offset, int len) byte[]wrap(byte[] outgoing, int offset, int len)
-
Field Details
-
JWT_TOKEN_SYSTEM_PROPERTY
- See Also:
-
SASL_MECHANISM_JWT
- See Also:
-
-
Constructor Details
-
JWTSaslClient
-
-
Method Details
-
getMechanismName
- Specified by:
getMechanismNamein interfaceSaslClient
-
hasInitialResponse
public boolean hasInitialResponse()- Specified by:
hasInitialResponsein interfaceSaslClient
-
evaluateChallenge
- Specified by:
evaluateChallengein interfaceSaslClient- Throws:
SaslException
-
isComplete
public boolean isComplete()- Specified by:
isCompletein interfaceSaslClient
-
setComplete
public void setComplete(boolean complete) -
unwrap
- Specified by:
unwrapin interfaceSaslClient- Throws:
SaslException
-
wrap
- Specified by:
wrapin interfaceSaslClient- Throws:
SaslException
-
getNegotiatedProperty
- Specified by:
getNegotiatedPropertyin interfaceSaslClient
-
dispose
- Specified by:
disposein interfaceSaslClient- Throws:
SaslException
-