syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [4/4] syncope git commit: Clarifying UserSelfService#mustChangePassword
Date Wed, 28 Jun 2017 08:34:41 GMT
Clarifying UserSelfService#mustChangePassword


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/11a428cf
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/11a428cf
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/11a428cf

Branch: refs/heads/2_0_X
Commit: 11a428cfb9829b2c83d1d37f1d21e6097f7bab4a
Parents: 035557b
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Wed Jun 28 09:36:05 2017 +0200
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Wed Jun 28 10:34:29 2017 +0200

----------------------------------------------------------------------
 .../apache/syncope/common/rest/api/service/UserSelfService.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/11a428cf/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserSelfService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserSelfService.java
b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserSelfService.java
index 44a592e..ff95a55 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserSelfService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserSelfService.java
@@ -98,7 +98,7 @@ public interface UserSelfService extends JAXRSService {
     Response delete();
 
     /**
-     * Changes own password.
+     * Changes own password when change was forced by an administrator.
      *
      * @param password the password value to update
      *
@@ -107,7 +107,7 @@ public interface UserSelfService extends JAXRSService {
     @POST
     @Path("changePassword")
     @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
-    Response changePassword(@NotNull @QueryParam("password") String password);
+    Response changePassword(String password);
 
     /**
      * Provides answer for the security question configured for user matching the given username,
if any.


Mime
View raw message