Class AMContext
- java.lang.Object
- 
- org.apache.jackrabbit.core.security.AMContext
 
- 
 public class AMContext extends Object AnAMContextis used to provideSessionspecific context information for anAccessManager.
- 
- 
Constructor SummaryConstructors Constructor Description AMContext(File physicalHomeDir, FileSystem fs, Session session, Subject subject, HierarchyManager hierMgr, PrivilegeManager privilegeMgr, NamePathResolver resolver, String workspaceName)Creates a newAMContext.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSystemgetFileSystem()Returns the virtual filesystemHierarchyManagergetHierarchyManager()Returns the hierarchy managerFilegetHomeDir()Returns the physical home directoryNamePathResolvergetNamePathResolver()Returns the namespace resolverPrivilegeManagergetPrivilegeManager()Returns the privilege managerSessiongetSession()Returns the sessionSubjectgetSubject()Returns the subjectStringgetWorkspaceName()Returns the name of the workspace.
 
- 
- 
- 
Constructor Detail- 
AMContextpublic AMContext(File physicalHomeDir, FileSystem fs, Session session, Subject subject, HierarchyManager hierMgr, PrivilegeManager privilegeMgr, NamePathResolver resolver, String workspaceName) Creates a newAMContext.- Parameters:
- physicalHomeDir- the physical home directory
- fs- the virtual jackrabbit filesystem
- session- the session.
- subject- subject whose access rights should be reflected
- hierMgr- hierarchy manager
- privilegeMgr- privilege manager
- resolver- name and path resolver
- workspaceName- workspace name
 
 
- 
 - 
Method Detail- 
getHomeDirpublic File getHomeDir() Returns the physical home directory- Returns:
- the physical home directory
 
 - 
getFileSystempublic FileSystem getFileSystem() Returns the virtual filesystem- Returns:
- the virtual filesystem
 
 - 
getSessionpublic Session getSession() Returns the session- Returns:
- the session
 
 - 
getSubjectpublic Subject getSubject() Returns the subject- Returns:
- the subject
 
 - 
getHierarchyManagerpublic HierarchyManager getHierarchyManager() Returns the hierarchy manager- Returns:
- the hierarchy manager
 
 - 
getPrivilegeManagerpublic PrivilegeManager getPrivilegeManager() Returns the privilege manager- Returns:
- the privilege manager
 
 - 
getNamePathResolverpublic NamePathResolver getNamePathResolver() Returns the namespace resolver- Returns:
- the namespace resolver
 
 - 
getWorkspaceNamepublic String getWorkspaceName() Returns the name of the workspace.- Returns:
- the name of the workspace
 
 
- 
 
-