Class ScramCredential
java.lang.Object
org.apache.kafka.common.security.scram.ScramCredential
SCRAM credential class that encapsulates the credential data persisted for each user that is
 accessible to the server. See RFC rfc5802
 for details.
- 
Constructor SummaryConstructorsConstructorDescriptionScramCredential(byte[] salt, byte[] storedKey, byte[] serverKey, int iterations) Constructs a new credential.
- 
Method SummaryModifier and TypeMethodDescriptionintNumber of iterations used to process this credential using the SCRAM algorithm.byte[]salt()Returns the salt used to process this credential using the SCRAM algorithm.byte[]Server key computed from the client password using the SCRAM algorithm.byte[]Stored key computed from the client password using the SCRAM algorithm.
- 
Constructor Details- 
ScramCredentialpublic ScramCredential(byte[] salt, byte[] storedKey, byte[] serverKey, int iterations) Constructs a new credential.
 
- 
- 
Method Details- 
saltpublic byte[] salt()Returns the salt used to process this credential using the SCRAM algorithm.
- 
serverKeypublic byte[] serverKey()Server key computed from the client password using the SCRAM algorithm.
- 
storedKeypublic byte[] storedKey()Stored key computed from the client password using the SCRAM algorithm.
- 
iterationspublic int iterations()Number of iterations used to process this credential using the SCRAM algorithm.
 
-