Class ServerErrorValue
java.lang.Object
com.ongres.scram.common.exception.ServerErrorValue
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getErrorMessage
(String errorValue) This get the error message used in aScramServerErrorException
.private static ConcurrentMap
<String, String>
-
Field Details
-
ERROR_MESSAGE
-
-
Constructor Details
-
ServerErrorValue
private ServerErrorValue()
-
-
Method Details
-
initServerErrorValue
-
getErrorMessage
This get the error message used in aScramServerErrorException
.- Parameters:
errorValue
- theserver-error-value
send by the server- Returns:
- String with a user friendly message about the error
-