You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2018/09/20 16:04:55 UTC

[isis] branch v2 updated: ISIS-1920: revert/remove debug code

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch v2
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/v2 by this push:
     new a4cc972  ISIS-1920: revert/remove debug code
a4cc972 is described below

commit a4cc97294d0a6a9fd5536af2f944de487b6cb21d
Author: Andi Huber <ah...@apache.org>
AuthorDate: Thu Sep 20 18:04:47 2018 +0200

    ISIS-1920: revert/remove debug code
    
    Task-Url: https://issues.apache.org/jira/browse/ISIS-1920
---
 .../apache/isis/security/shiro/ShiroAuthenticatorOrAuthorizor.java   | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/core/plugins/security-shiro/src/main/java/org/apache/isis/security/shiro/ShiroAuthenticatorOrAuthorizor.java b/core/plugins/security-shiro/src/main/java/org/apache/isis/security/shiro/ShiroAuthenticatorOrAuthorizor.java
index 299d1e8..8e2fe4d 100644
--- a/core/plugins/security-shiro/src/main/java/org/apache/isis/security/shiro/ShiroAuthenticatorOrAuthorizor.java
+++ b/core/plugins/security-shiro/src/main/java/org/apache/isis/security/shiro/ShiroAuthenticatorOrAuthorizor.java
@@ -245,11 +245,6 @@ public class ShiroAuthenticatorOrAuthorizor implements Authenticator, Authorizor
 
     @Override
     public boolean isUsableInAnyRole(Identifier identifier) {
-        
-        if((""+identifier).startsWith("domainapp.modules.simple.dom.impl.SimpleObject")) {
-            return false;
-        }
-        
         return isPermitted(identifier, "w");
     }