Class ScramSaslClient.ServerFirstMessage

  • Enclosing class:
    ScramSaslClient

    static class ScramSaslClient.ServerFirstMessage
    extends Object
    Properties associated with the first server response.
    • Field Detail

      • MINIMUM_ITERATION_COUNT

        private static final int MINIMUM_ITERATION_COUNT
        Minimum number of iterations we will allow.
        See Also:
        Constant Field Values
      • message

        private final String message
        The server SASL credentials.
      • combinedNonce

        private final String combinedNonce
        Nonce parsed from the SASL credentials.
      • salt

        private final byte[] salt
        Salt parsed from the SASL credentials.
      • iterations

        private final int iterations
        Iterations parsed from the SASL credentials.
    • Constructor Detail

      • ServerFirstMessage

        ServerFirstMessage​(ScramSaslClient.ClientFirstMessage clientFirstMessage,
                           BindResponse result)
        Creates a new server first message.
        Parameters:
        clientFirstMessage - first message sent to the server
        result - response to the first message
    • Method Detail

      • getMessage

        public String getMessage()
      • getCombinedNonce

        public String getCombinedNonce()
      • getSalt

        public byte[] getSalt()
      • getIterations

        public int getIterations()