Class ServerErrorValue

java.lang.Object
com.ongres.scram.common.exception.ServerErrorValue

public final class ServerErrorValue extends Object
This attribute specifies an error that occurred during authentication exchange. It is sent by the server in its final message and can help diagnose the reason for the authentication exchange failure.
  • Method Details

    • getErrorMessage

      public static String getErrorMessage(String errorValue)
      This get the error message used in a ScramServerErrorException.
      Parameters:
      errorValue - the server-error-value send by the server
      Returns:
      String with a user friendly message about the error