directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-core git commit: FC-204 - getUser not setting contextId on request
Date Fri, 03 Feb 2017 16:58:17 GMT
Repository: directory-fortress-core
Updated Branches:
  refs/heads/master d7243735f -> 59157250d


FC-204 - getUser not setting contextId on request


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/commit/59157250
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/59157250
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/59157250

Branch: refs/heads/master
Commit: 59157250d35748f86f6ca6a89899781f3929c65e
Parents: d724373
Author: Shawn McKinney <smckinney@apache.org>
Authored: Fri Feb 3 10:58:07 2017 -0600
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Fri Feb 3 10:58:07 2017 -0600

----------------------------------------------------------------------
 .../org/apache/directory/fortress/core/rest/AccessMgrRestImpl.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/59157250/src/main/java/org/apache/directory/fortress/core/rest/AccessMgrRestImpl.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/rest/AccessMgrRestImpl.java
b/src/main/java/org/apache/directory/fortress/core/rest/AccessMgrRestImpl.java
index 157f5b6..6591936 100644
--- a/src/main/java/org/apache/directory/fortress/core/rest/AccessMgrRestImpl.java
+++ b/src/main/java/org/apache/directory/fortress/core/rest/AccessMgrRestImpl.java
@@ -358,6 +358,7 @@ public class AccessMgrRestImpl extends Manageable implements AccessMgr
         VUtil.assertNotNull(session, GlobalErrIds.USER_SESS_NULL, CLS_NM + ".getUser");
         User retUser;
         FortRequest request = new FortRequest();
+        request.setContextId(this.contextId);
         request.setSession(session);
         String szRequest = RestUtils.marshal(request);
         String szResponse = RestUtils.getInstance().post(szRequest, HttpIds.RBAC_USER);


Mime
View raw message