mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
04.58.2007 68b327b8f45a8839c209dfa5294560118dfcd1c0
refs
author neil_a_wilson <neil_a_wilson@localhost>
Sunday, February 4, 2007 03:58 +0100
committer neil_a_wilson <neil_a_wilson@localhost>
Sunday, February 4, 2007 03:58 +0100
commit68b327b8f45a8839c209dfa5294560118dfcd1c0
tree 087267a305c5371bf24a4b976cc69bfee31b05a7 tree | zip | gz
parent 6bea4c909a3dbf8a3b5ffd84c96506bb298403ac view | diff
Update the process that SASL mechanisms use to set authentication info for the
bind operation. Previously, they were setting it directly in the client
connection, which introduced the possibility that a failure in bind processing
which occurred after the SASL credentials were validated could result in a
case in which a failure was returned to the client but the associated connection
could still be authenticated in the server. SASL mechanism handlers will now
set the authentication info in the bind operation and it will only be updated in
the client connection if all processing associated with the bind operation is
successful.

OpenDS Issue Number: 1203
9 files modified
436 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/api/SASLMechanismHandler.java 29 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/BindOperation.java 39 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/extensions/AnonymousSASLMechanismHandler.java 61 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/extensions/CRAMMD5SASLMechanismHandler.java 61 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/extensions/DigestMD5SASLMechanismHandler.java 59 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/extensions/ExternalSASLMechanismHandler.java 61 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/extensions/GSSAPISASLMechanismHandler.java 61 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/extensions/GSSAPIStateInfo.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/extensions/PlainSASLMechanismHandler.java 61 ●●●● diff | view | raw | blame | history