Class AbstractSaslMechanism

    • Field Detail

      • username

        protected String username
      • password

        protected String password
      • failed

        protected boolean failed
      • failureReason

        protected String failureReason
    • Constructor Detail

      • AbstractSaslMechanism

        public AbstractSaslMechanism()
    • Method Detail

      • getUsername

        public String getUsername()
        Specified by:
        getUsername in interface SaslMechanism
        the User Name extracted from the SASL echange or null if none.
      • getPassword

        public String getPassword()
        Specified by:
        getPassword in interface SaslMechanism
        the Password extracted from the SASL echange or null if none.
      • isFailed

        public boolean isFailed()
        Specified by:
        isFailed in interface SaslMechanism
        true if the SASL processing failed during a step.
      • getFailureReason

        public String getFailureReason()
        Specified by:
        getFailureReason in interface SaslMechanism
        a failure error to explain why the mechanism failed.