Class AuthenticationMD5Password

java.lang.Object
io.r2dbc.postgresql.message.backend.AuthenticationMD5Password
All Implemented Interfaces:
AuthenticationMessage, BackendMessage

public final class AuthenticationMD5Password extends Object implements AuthenticationMessage
The AuthenticationMD5Password message.
  • Constructor Details

    • AuthenticationMD5Password

      public AuthenticationMD5Password(io.netty.buffer.ByteBuf salt)
      Create a new message.
      Parameters:
      salt - the salt to use when encrypting the password
      Throws:
      IllegalArgumentException - if salt is null
  • Method Details

    • equals

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

      public ByteBuffer getSalt()
      Returns the salt to use when encrypting the password.
      Returns:
      the salt to use when encrypting the password
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object