* @throws RepositoryException if the access manager cannot be instantiated
*/
protected AccessManager createAccessManager(Subject subject)
throws AccessDeniedException, RepositoryException {
String wspName = getWorkspace().getName();
AMContext ctx = new AMContext(
new File(context.getRepository().getConfig().getHomeDir()),
context.getRepositoryContext().getFileSystem(),
this,
subject,
context.getHierarchyManager(),