This JIRA can be closed once we have REST support for the functionality described in OPENDJ-7034.
Today IDM returns structured advice information like this (https://backstage.forgerock.com/docs/idm/6.5/integrators-guide/#policy-validate):
curl \ --header "X-OpenIDM-Username: openidm-admin" \ --header "X-OpenIDM-Password: openidm-admin" \ --header "Content-Type: application/json" \ --request POST \ --data '{ "sn":"Jones", "givenName":"Bob", "telephoneNumber":"0827878921", "passPhrase":null, "mail":"bjones@example.com", "accountStatus":"active", "userName":"bjones@example.com", "password":"123" }' \ "http://localhost:8080/openidm/policy/managed/user/test?_action=validateObject" { "result": false, "failedPolicyRequirements": [ { "policyRequirements": [ { "policyRequirement": "MIN_LENGTH", "params": { "minLength": 8 } } ], "property": "password" }, { "policyRequirements": [ { "policyRequirement": "AT_LEAST_X_CAPITAL_LETTERS", "params": { "numCaps": 1 } } ], "property": "password" } ] }
Rest2Ldap does not have to mirror this exactly, but its response should be equivalent so that IDM can derive the above content.
- depends on
-
OPENDJ-7034 Provide a means for returning structured advice for invalid passwords during LDAP ADD, MODIFY, and password modify operations
-
- Done
-
- is related to
-
OPENDJ-7036 Add Rest2Ldap support for the LDAP "no-op" control
-
- Done
-
- is required by
-
OPENIDM-15750 Create a DS passwordQualityAdvice policy error mapping to IDM policy error mapping
-
- In Review
-
-
OPENDJ-7106 Doc REST APIs for passwordQualityAdvice and dryRun query parameters
-
- Done
-