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

neil_a_wilson
04.58.2007 50eecfac301a49564cd88a2d8c180bbd72a6185d
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
commit50eecfac301a49564cd88a2d8c180bbd72a6185d
tree 9f31fa315c575217a5b882f451391040f3255cbf tree | zip | gz
parent 938eec61d6c1bf9f62c9c3dad50086d02340f006 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
opends/src/server/org/opends/server/api/SASLMechanismHandler.java 29 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/BindOperation.java 39 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/AnonymousSASLMechanismHandler.java 61 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/CRAMMD5SASLMechanismHandler.java 61 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/DigestMD5SASLMechanismHandler.java 59 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/ExternalSASLMechanismHandler.java 61 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/GSSAPISASLMechanismHandler.java 61 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/GSSAPIStateInfo.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/PlainSASLMechanismHandler.java 61 ●●●● diff | view | raw | blame | history