Class ScramCredentialCallback
java.lang.Object
org.apache.kafka.common.security.scram.ScramCredentialCallback
- All Implemented Interfaces:
Callback
public class ScramCredentialCallback extends Object implements Callback
Callback used for SCRAM mechanisms.
-
Constructor Summary
Constructors Constructor Description ScramCredentialCallback()
-
Method Summary
Modifier and Type Method Description ScramCredential
scramCredential()
Returns the SCRAM credential if set on this instance.void
scramCredential(ScramCredential scramCredential)
Sets the SCRAM credential for this instance.
-
Constructor Details
-
ScramCredentialCallback
public ScramCredentialCallback()
-
-
Method Details
-
scramCredential
Sets the SCRAM credential for this instance. -
scramCredential
Returns the SCRAM credential if set on this instance.
-