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-187 - pass the tenantid
Date Thu, 06 Oct 2016 21:25:56 GMT
Repository: directory-fortress-core
Updated Branches:
  refs/heads/master b391b0140 -> 256e3797c


 FC-187 - pass the tenantid


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/256e3797
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/256e3797
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/256e3797

Branch: refs/heads/master
Commit: 256e3797ccada86bda9d68cc048644e7a69b7ed2
Parents: b391b01
Author: Shawn McKinney <smckinney@apache.org>
Authored: Thu Oct 6 14:37:36 2016 -0500
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Thu Oct 6 14:37:36 2016 -0500

----------------------------------------------------------------------
 .../org/apache/directory/fortress/core/impl/ReviewMgrImpl.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/256e3797/src/main/java/org/apache/directory/fortress/core/impl/ReviewMgrImpl.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/impl/ReviewMgrImpl.java b/src/main/java/org/apache/directory/fortress/core/impl/ReviewMgrImpl.java
index 4aae5b8..cbae5d6 100755
--- a/src/main/java/org/apache/directory/fortress/core/impl/ReviewMgrImpl.java
+++ b/src/main/java/org/apache/directory/fortress/core/impl/ReviewMgrImpl.java
@@ -722,8 +722,11 @@ public class ReviewMgrImpl extends Manageable implements ReviewMgr, Serializable
      * {@inheritDoc}
      */
     @Override
-    public List<RoleConstraint> findRoleConstraints(User user, Permission permission,
RoleConstraintType rcType) throws SecurityException {
+    public List<RoleConstraint> findRoleConstraints(User user, Permission permission,
RoleConstraintType rcType) throws SecurityException
+    {
         String methodName = "findRoleConstraints";
+        assertContext(CLS_NM, methodName, user, GlobalErrIds.USER_NULL);
+        assertContext(CLS_NM, methodName, permission, GlobalErrIds.PERM_NULL);
         checkAccess(CLS_NM, methodName);        
         //find roles this permission is authorized for
         Permission pe = permP.read(permission);


Mime
View raw message