assertThat(subgraph.getNode("/dna:repositories/Car Repository/dna:namespaces/dnatest"),
hasProperty(DnaLexicon.NAMESPACE_URI, "http://www.jboss.org/dna/test/1.0"));
// Initialize IDTrust and a policy file (which defines the "dna-jcr" login config name)
String configFile = "security/jaas.conf.xml";
IDTrustConfiguration idtrustConfig = new IDTrustConfiguration();
try {
idtrustConfig.config(configFile);
} catch (Exception ex) {
throw new IllegalStateException(ex);
}
// Create and start the engine ...