Package org.apache.kafka.clients.admin
Class ScramCredentialInfo
- java.lang.Object
-
- org.apache.kafka.clients.admin.ScramCredentialInfo
-
public class ScramCredentialInfo extends Object
Mechanism and iterations for a SASL/SCRAM credential associated with a user.
-
-
Constructor Summary
Constructors Constructor Description ScramCredentialInfo(ScramMechanism mechanism, int iterations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
int
iterations()
ScramMechanism
mechanism()
String
toString()
-
-
-
Constructor Detail
-
ScramCredentialInfo
public ScramCredentialInfo(ScramMechanism mechanism, int iterations)
- Parameters:
mechanism
- the required mechanismiterations
- the number of iterations used when creating the credential
-
-
Method Detail
-
mechanism
public ScramMechanism mechanism()
- Returns:
- the mechanism
-
iterations
public int iterations()
- Returns:
- the number of iterations used when creating the credential
-
-