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 booleanequals(Object o)inthashCode()intiterations()ScramMechanismmechanism()StringtoString()
-
-
-
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
-
-