newDomain.setName(SecurityDomain.DEFAULT_NAME);
domainStorageManager.addDomain(newDomain);
}
this.profiler = (Profiler) scm.getComponent("profiler");
JetspeedProfilerImpl profilerImpl = (JetspeedProfilerImpl)scm.getComponent("profilerImpl");
assertNotNull("profiler not found ", profiler);
ProfileResolvers resolvers = (ProfileResolvers)scm.getComponent("ProfileResolvers");
assertNotNull("resolvers not found ", resolvers);
profilerImpl.setDefaultRule(JetspeedProfilerImpl.DEFAULT_RULE);
}