shadowTemplate.getConfigurableRepository().setIndexable(false);
shadowTemplate.getConfigurableRepository().setId(repoId + "-shadow");
shadowTemplate.getExternalConfiguration(true).setMasterRepositoryId(repoId);
return shadowTemplate.create();
}
private Subject loginUser(String username)
throws AuthenticationException
{