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

neil_a_wilson
18.41.2007 00f5eee9ce02ed3e3d0b3c1f2658951b8f37acef
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
commit00f5eee9ce02ed3e3d0b3c1f2658951b8f37acef
tree 0c57247a44ea0cf56131fb461bd9a7e2a2d361f8 tree | zip | gz
parent d9572cbdff869801cecc5bf653c3449062de07bc 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
opends/src/server/org/opends/server/api/ClientConnection.java 16 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/AuthenticatedUsers.java 21 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/BindOperationTestCase.java 62 ●●●●● diff | view | raw | blame | history