You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sm...@apache.org on 2019/03/17 17:44:55 UTC
[directory-fortress-core] branch master updated: FC-266 - Delegated
Admin - Fix inconsistent service to api mappings.
This is an automated email from the ASF dual-hosted git repository.
smckinney pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-fortress-core.git
The following commit(s) were added to refs/heads/master by this push:
new 9f8152f FC-266 - Delegated Admin - Fix inconsistent service to api mappings.
9f8152f is described below
commit 9f8152f69c8a89d5a8cd5faadac928da917b4f29
Author: Shawn McKinney <sm...@apache.org>
AuthorDate: Sun Mar 17 12:44:48 2019 -0500
FC-266 - Delegated Admin - Fix inconsistent service to api mappings.
---
.../org/apache/directory/fortress/core/rest/ReviewMgrRestImpl.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/directory/fortress/core/rest/ReviewMgrRestImpl.java b/src/main/java/org/apache/directory/fortress/core/rest/ReviewMgrRestImpl.java
index da4b6cf..358095b 100755
--- a/src/main/java/org/apache/directory/fortress/core/rest/ReviewMgrRestImpl.java
+++ b/src/main/java/org/apache/directory/fortress/core/rest/ReviewMgrRestImpl.java
@@ -592,7 +592,7 @@ public class ReviewMgrRestImpl extends Manageable implements ReviewMgr
request.setContextId(this.contextId);
request.setEntity( role );
String szRequest = RestUtils.marshal(request);
- String szResponse = RestUtils.getInstance().post(szRequest, HttpIds.ROLE_AUTHZED);
+ String szResponse = RestUtils.getInstance().post(szRequest, HttpIds.USER_AUTHZED);
FortResponse response = RestUtils.unmarshall(szResponse);
if (response.getErrorCode() == 0)
{
@@ -623,7 +623,7 @@ public class ReviewMgrRestImpl extends Manageable implements ReviewMgr
request.setContextId(this.contextId);
request.setEntity(user);
String szRequest = RestUtils.marshal(request);
- String szResponse = RestUtils.getInstance().post(szRequest, HttpIds.USER_AUTHZED);
+ String szResponse = RestUtils.getInstance().post(szRequest, HttpIds.ROLE_AUTHZED);
FortResponse response = RestUtils.unmarshall(szResponse);
if (response.getErrorCode() == 0)
{