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 2018/02/15 16:05:55 UTC
syncope git commit: [SYNCOPE-1274] Forgot to include authorization
Repository: syncope
Updated Branches:
refs/heads/2_0_X ec7571f4e -> a3c0da995
[SYNCOPE-1274] Forgot to include authorization
Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/a3c0da99
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/a3c0da99
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/a3c0da99
Branch: refs/heads/2_0_X
Commit: a3c0da9951349d6bde1a3dcf5178c19c4f455e9d
Parents: ec7571f
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Thu Feb 15 17:05:47 2018 +0100
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Thu Feb 15 17:05:47 2018 +0100
----------------------------------------------------------------------
.../apache/syncope/common/rest/api/service/UserSelfService.java | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/syncope/blob/a3c0da99/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 1256f0e..699a270 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
@@ -169,6 +169,9 @@ public interface UserSelfService extends JAXRSService {
* @param statusPatch status update details
* @return Response object featuring the updated user enriched with propagation status information
*/
+ @ApiOperation(value = "", authorizations = {
+ @Authorization(value = "BasicAuthentication")
+ , @Authorization(value = "Bearer") })
@ApiImplicitParams(
@ApiImplicitParam(name = RESTHeaders.PREFER, paramType = "header", dataType = "string",
value = "Allows the client to specify a preference for the result to be returned from the server",