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

neil_a_wilson
18.41.2007 7269ae01fdc8953b1b568c06b1dd6b80f94d8e83
refs
author neil_a_wilson <neil_a_wilson@localhost>
Sunday, March 18, 2007 01:41 +0100
committer neil_a_wilson <neil_a_wilson@localhost>
Sunday, March 18, 2007 01:41 +0100
commit7269ae01fdc8953b1b568c06b1dd6b80f94d8e83
tree 354635b89dc512b27bc9a651fbc0ae962d690003 tree | zip | gz
parent c462bf01d4cc35d6da8cd20da193e60f5df71bd3 view | diff
Update the client connection code to ensure that any attempt to change the
authentication info structure goes through the setAuthenticationInfo() method.
This will ensure that all proper cleanup is done. Without doing this, there
may be problems if a client connection is used to authenticate multiple times
and the entry for one of the previous users is modified or deleted, since that
could cause an attempt to update the client connection which is now
authenticated as another user.

OpenDS Issue Number: 1392
3 files modified
99 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/api/ClientConnection.java 16 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/AuthenticatedUsers.java 21 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/BindOperationTestCase.java 62 ●●●●● diff | view | raw | blame | history