Author: deepal
Date: Thu Jan 3 20:59:15 2008
New Revision: 11823
Log:
fixing NPE due to secureregistry in Atom registry
Modified:
trunk/registry/modules/core/src/test/java/org/wso2/registry/app/APPTests.java
Modified:
trunk/registry/modules/core/src/test/java/org/wso2/registry/app/APPTests.java
==============================================================================
---
trunk/registry/modules/core/src/test/java/org/wso2/registry/app/APPTests.java
(original)
+++
trunk/registry/modules/core/src/test/java/org/wso2/registry/app/APPTests.java
Thu Jan 3 20:59:15 2008
@@ -78,6 +78,7 @@
//jdbcRegistry = new JDBCRegistry();
//jdbcRegistry.init(registryRealm);
System.getProperties().put(RegistryConstants.REGISTRY,
jdbcRegistry);
+
System.getProperties().put(RegistryConstants.REGISTRY_REALM, new
InMemoryRegistryRealm());
} catch (RegistryException e) {
e.printStackTrace();
}
_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev