|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.security.AMContext
An AMContext
is used to provide context information for an
AccessManager
.
AccessManager.init(AMContext)
Constructor Summary | |
AMContext(File homeDir,
FileSystem fs,
Subject subject,
HierarchyManager hierMgr,
String workspaceName)
Creates a new AMContext . |
Method Summary | |
FileSystem |
getFileSystem()
Returns the virtual filesystem |
HierarchyManager |
getHierarchyManager()
Returns the hierarchy manager |
File |
getHomeDir()
Returns the physical home directory |
Subject |
getSubject()
Returns the subject |
String |
getWorkspaceName()
Returns the name of the workspace. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AMContext(File homeDir, FileSystem fs, Subject subject, HierarchyManager hierMgr, String workspaceName)
AMContext
.
homeDir
- the physical home directoryfs
- the virtual jackrabbit filesystemsubject
- subject whose access rights should be reflectedhierMgr
- hierarchy managerMethod Detail |
public File getHomeDir()
public FileSystem getFileSystem()
public Subject getSubject()
public HierarchyManager getHierarchyManager()
public String getWorkspaceName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |