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.
  • Field Details

  • Constructor Details

    • ServerErrorValue

      private ServerErrorValue()
  • Method Details

    • initServerErrorValue

      private static ConcurrentMap<String,String> initServerErrorValue()
    • 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