Class JWTClientLoginModule
java.lang.Object
com.here.platform.data.client.service.stream.kafka.sasl.JWTClientLoginModule
- All Implemented Interfaces:
LoginModule
An instance of this class is created by JAAS via reflexion
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanabort()booleancommit()static Stringstatic StringgetSaslJaasConfigWithToken(String token) voidinitialize(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) booleanlogin()booleanlogout()
-
Field Details
-
JWT_JAAS_CONFIG
- See Also:
-
JWT_TOKEN_PROPERTY
- See Also:
-
-
Constructor Details
-
JWTClientLoginModule
public JWTClientLoginModule()
-
-
Method Details
-
getSaslJaasConfig
-
getSaslJaasConfigWithToken
-
initialize
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) - Specified by:
initializein interfaceLoginModule
-
login
- Specified by:
loginin interfaceLoginModule- Throws:
LoginException
-
commit
- Specified by:
commitin interfaceLoginModule- Throws:
LoginException
-
abort
- Specified by:
abortin interfaceLoginModule- Throws:
LoginException
-
logout
- Specified by:
logoutin interfaceLoginModule- Throws:
LoginException
-