Class ScramCredentialCallback
- java.lang.Object
-
- org.apache.kafka.common.security.scram.ScramCredentialCallback
-
- All Implemented Interfaces:
javax.security.auth.callback.Callback
public class ScramCredentialCallback extends java.lang.Object implements javax.security.auth.callback.Callback
Callback used for SCRAM mechanisms.
-
-
Constructor Summary
Constructors Constructor Description ScramCredentialCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods 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.
-
-
-
Method Detail
-
scramCredential
public void scramCredential(ScramCredential scramCredential)
Sets the SCRAM credential for this instance.
-
scramCredential
public ScramCredential scramCredential()
Returns the SCRAM credential if set on this instance.
-
-