You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2017/06/28 08:34:39 UTC
[2/4] syncope git commit: Clarifying
UserSelfService#mustChangePassword
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/f09caa08
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/f09caa08
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/f09caa08
Branch: refs/heads/master
Commit: f09caa082f5d7eb7c05ce03cd597a8a4a2c36f90
Parents: 8261c41
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Wed Jun 28 09:36:05 2017 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Wed Jun 28 10:34:22 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/f09caa08/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.