diff options
author | 2018-11-12 18:05:00 -0600 | |
---|---|---|
committer | 2018-11-12 18:28:32 -0600 | |
commit | b59c1784147d4ecd7d1a1b9b185ea62641b2ba31 (patch) | |
tree | 7798efb4c38e217012a185fafb98acc77ba5ac9b /shiro/src/test | |
parent | a40c48dafa7028f3ac504b2f19f3388fbcb36140 (diff) |
Create Authz map
Issue-ID: AAF-618
Change-Id: I9615734555591bff399d50d45e3d4c5e1ffe20c0
Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'shiro/src/test')
-rw-r--r-- | shiro/src/test/java/org/onap/aaf/cadi/shiro/test/JU_AAFRealm.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/shiro/src/test/java/org/onap/aaf/cadi/shiro/test/JU_AAFRealm.java b/shiro/src/test/java/org/onap/aaf/cadi/shiro/test/JU_AAFRealm.java index 386f529..281f8ad 100644 --- a/shiro/src/test/java/org/onap/aaf/cadi/shiro/test/JU_AAFRealm.java +++ b/shiro/src/test/java/org/onap/aaf/cadi/shiro/test/JU_AAFRealm.java @@ -27,16 +27,13 @@ import org.apache.shiro.authc.UsernamePasswordToken; import org.apache.shiro.authz.AuthorizationInfo; import org.apache.shiro.authz.Permission; import org.apache.shiro.subject.PrincipalCollection; -import org.junit.Test; import org.onap.aaf.cadi.aaf.AAFPermission; -import org.onap.aaf.cadi.config.Config; import org.onap.aaf.cadi.shiro.AAFRealm; import org.onap.aaf.cadi.shiro.AAFShiroPermission; import junit.framework.Assert; public class JU_AAFRealm { - /* @Test public void test() { @@ -64,7 +61,7 @@ public class JU_AAFRealm { Assert.fail(); } } -*/ + */ private void testAPerm(boolean expect, AuthorizationInfo azi, String ns, String type, String instance, String action) { AAFShiroPermission testPerm = new AAFShiroPermission(new AAFPermission(ns,type,instance,action,new ArrayList<String>())); |