Class ScramLoginModule
- java.lang.Object
-
- org.apache.kafka.common.security.scram.ScramLoginModule
-
- All Implemented Interfaces:
LoginModule
public class ScramLoginModule extends Object implements LoginModule
-
-
Field Summary
Fields Modifier and Type Field Description static String
TOKEN_AUTH_CONFIG
-
Constructor Summary
Constructors Constructor Description ScramLoginModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
abort()
boolean
commit()
void
initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
boolean
login()
boolean
logout()
-
-
-
Field Detail
-
TOKEN_AUTH_CONFIG
public static final String TOKEN_AUTH_CONFIG
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
- Specified by:
initialize
in interfaceLoginModule
-
login
public boolean login()
- Specified by:
login
in interfaceLoginModule
-
logout
public boolean logout()
- Specified by:
logout
in interfaceLoginModule
-
commit
public boolean commit()
- Specified by:
commit
in interfaceLoginModule
-
abort
public boolean abort()
- Specified by:
abort
in interfaceLoginModule
-
-