From deca3939ae5482b660aa10bb1bcfefeafd46e043 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Thu, 23 Jun 2016 00:21:25 +0000
Subject: [PATCH] OPENDJ-2789 Split passwordModify into distinct requests: modifyPassword and resetPassword
---
opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Action.java | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Action.java b/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Action.java
index 1cd7ee6..21d6bae 100644
--- a/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Action.java
+++ b/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Action.java
@@ -21,15 +21,14 @@
* supported.
*/
public enum Action {
- // Notes:
- //
- // - actions are likely to become an extension point in future versions of Rest2Ldap, in which case this enum
- // will need to be converted into a regular class or interface,
- //
- // - the actions are named so that they can be parsed easily from JSON.
+ // Note: actions are likely to become an extension point in future versions of Rest2Ldap, in which case this enum
+ // will need to be converted into a regular class or interface,
- /** An action that allows users to change or reset their password. */
- PASSWORDMODIFY("passwordModify");
+ /** An action that allows users to change their password. */
+ MODIFY_PASSWORD("modifyPassword"),
+
+ /** An action that allows users to reset their password. */
+ RESET_PASSWORD("resetPassword");
private final String actionId;
--
Gitblit v1.10.0