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.
See Also:
  • Constructor Details

    • ScramCredentialInfo

      public ScramCredentialInfo(ScramMechanism mechanism, int iterations)
      Parameters:
      mechanism - the required mechanism
      iterations - the number of iterations used when creating the credential
  • Method Details

    • mechanism

      public ScramMechanism mechanism()
      Returns:
      the mechanism
    • iterations

      public int iterations()
      Returns:
      the number of iterations used when creating the credential
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object