|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.security.simple.SimpleWorkspaceAccessManager
public class SimpleWorkspaceAccessManager
SimpleWorkspaceAccessManager
always allows any set of principals
to access any workspace.
Constructor Summary | |
---|---|
SimpleWorkspaceAccessManager()
|
Method Summary | |
---|---|
void |
close()
Dispose this WorkspaceAccessManager and its resources. |
boolean |
grants(Set<Principal> principals,
String workspaceName)
Always returns true allowing any set of principals to
access all workspaces. |
void |
init(Session systemSession)
Initialize this WorkspaceAccessManager . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleWorkspaceAccessManager()
Method Detail |
---|
public void init(Session systemSession)
WorkspaceAccessManager
WorkspaceAccessManager
.
init
in interface WorkspaceAccessManager
systemSession
- Session used to initialize this instance.WorkspaceAccessManager.init(Session)
public void close() throws RepositoryException
WorkspaceAccessManager
WorkspaceAccessManager
and its resources.
close
in interface WorkspaceAccessManager
RepositoryException
- if an error occurs.WorkspaceAccessManager.close()
public boolean grants(Set<Principal> principals, String workspaceName) throws RepositoryException
true
allowing any set of principals to
access all workspaces.
grants
in interface WorkspaceAccessManager
principals
- A set of principals to be tested for being allowed to
access workspace identified by workspaceName
.workspaceName
- Name of the workspace to be tested.
RepositoryException
- If an error occurs.WorkspaceAccessManager.grants(java.util.Set, String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |