Class ScramLoginModule
- java.lang.Object
-
- org.apache.kafka.common.security.scram.ScramLoginModule
-
- All Implemented Interfaces:
javax.security.auth.spi.LoginModule
public class ScramLoginModule extends java.lang.Object implements javax.security.auth.spi.LoginModule
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.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(javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler callbackHandler, java.util.Map<java.lang.String,?> sharedState, java.util.Map<java.lang.String,?> options)
boolean
login()
boolean
logout()
-
-
-
Field Detail
-
TOKEN_AUTH_CONFIG
public static final java.lang.String TOKEN_AUTH_CONFIG
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize(javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler callbackHandler, java.util.Map<java.lang.String,?> sharedState, java.util.Map<java.lang.String,?> options)
- Specified by:
initialize
in interfacejavax.security.auth.spi.LoginModule
-
login
public boolean login()
- Specified by:
login
in interfacejavax.security.auth.spi.LoginModule
-
logout
public boolean logout()
- Specified by:
logout
in interfacejavax.security.auth.spi.LoginModule
-
commit
public boolean commit()
- Specified by:
commit
in interfacejavax.security.auth.spi.LoginModule
-
abort
public boolean abort()
- Specified by:
abort
in interfacejavax.security.auth.spi.LoginModule
-
-