Add Multi-Realm class handling
[aaf/cadi.git] / shiro / src / test / java / org / onap / aaf / cadi / shiro / test / JU_AAFRealm.java
index 386f529..f49ecb4 100644 (file)
@@ -37,11 +37,10 @@ import junit.framework.Assert;
 
 public class JU_AAFRealm {
 
-/*
- @Test
  public void test() {
        // NOTE This is a live test.  This JUnit needs to be built with "Mock" before it can be 
        // an official JUNIT
+       
        try {
                System.setProperty(Config.CADI_PROP_FILES, "/opt/app/osaaf/local/org.onap.aai.props");
                TestAAFRealm ar = new TestAAFRealm();
@@ -64,7 +63,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>()));