EnvironmentContext ctx = new EnvironmentContext();
Set<String> adminRoles = new HashSet<String>();
adminRoles.add("administrators");
DummySecurityContext adminSecurityContext = new DummySecurityContext(new Principal()
{
public String getName()
{
return USER_ROOT;
}