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

Jean-Noël Rouvignac
12.39.2015 392bde20d260cc00dbdf5c80d512f57ebc760c4e
refs
author Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Thursday, November 12, 2015 10:39 +0100
committer Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Monday, November 16, 2015 17:49 +0100
commit392bde20d260cc00dbdf5c80d512f57ebc760c4e
tree 12c2290cd8b27a7c6d11f348c3688ac84ab6468f tree | zip | gz
parent f2ba5ed4af5beac50fdc51b267d109d6f22147a5 view | diff
OPENDJ-2383 REST interface: Implement password modify action

Server-side implementation. See the equivalent change in the SDK.

LdapHttpApplication.java, CollectClientConnectionsFilter.java::
In LdapHttpApplication ctor, do not use the SecurityContextFactory (alas, this duplicates code :( ),
instead create the SecurityContext in CollectClientConnectionsFilter.doChain().

SdkConnectionAdapter.java:
In extendedRequestAsync(), set the authorization entry from the authentication info.

Converters.java:
In newSDKResult(), return a PasswordModifyExtendedResult for a PasswordModifyExtendedOperation.
4 files modified
71 ■■■■ changed files
opendj-server-legacy/src/main/java/org/forgerock/opendj/adapter/server3x/Converters.java 43 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/protocols/http/CollectClientConnectionsFilter.java 4 ●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/protocols/http/LdapHttpApplication.java 17 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/protocols/http/SdkConnectionAdapter.java 7 ●●●●● diff | view | raw | blame | history