Class ScramBindRequest

    • Field Detail

      • scramMechanism

        private final Mechanism scramMechanism
        Mechanism.
      • username

        private final String username
        Username.
      • password

        private final String password
        Password.
      • scramNonce

        private final byte[] scramNonce
        Scram nonce.
    • Constructor Detail

      • ScramBindRequest

        public ScramBindRequest​(Mechanism mech,
                                String user,
                                String pass)
        Creates a new scram bind request.
        Parameters:
        mech - SCRAM SASL mechanism
        user - to bind as
        pass - to bind with
      • ScramBindRequest

        public ScramBindRequest​(Mechanism mech,
                                String user,
                                String pass,
                                byte[] nonce)
        Creates a new scram bind request.
        Parameters:
        mech - SCRAM SASL mechanism
        user - to bind as
        pass - to bind with
        nonce - to use with the SCRAM protocol