Update the CRAM-MD5 SASL mechanism handler to properly set a valid result code
for the case in which an authentication attempt fails because the client
sent a request with a digest having the correct length but that did not contain
only hexadecimal characters.
OpenDS Issue Number: 976
| | |
| | | { |
| | | assert debugException(CLASS_NAME, "processSASLBind", pe); |
| | | |
| | | bindOperation.setResultCode(ResultCode.INVALID_CREDENTIALS); |
| | | |
| | | int msgID = MSGID_SASLCRAMMD5_INVALID_DIGEST_CONTENT; |
| | | String message = getMessage(msgID, pe.getMessage()); |
| | | bindOperation.setAuthFailureReason(msgID, message); |