Class SimpleWorkspaceAccessManager
- java.lang.Object
- 
- org.apache.jackrabbit.core.security.simple.SimpleWorkspaceAccessManager
 
- 
- All Implemented Interfaces:
- WorkspaceAccessManager
 
 public class SimpleWorkspaceAccessManager extends Object implements WorkspaceAccessManager SimpleWorkspaceAccessManageralways allows any set of principals to access any workspace.
- 
- 
Constructor SummaryConstructors Constructor Description SimpleWorkspaceAccessManager()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Dispose thisWorkspaceAccessManagerand its resources.booleangrants(Set<Principal> principals, String workspaceName)Always returnstrueallowing any set of principals to access all workspaces.voidinit(Session systemSession)Initialize thisWorkspaceAccessManager.
 
- 
- 
- 
Method Detail- 
initpublic void init(Session systemSession) Description copied from interface:WorkspaceAccessManagerInitialize thisWorkspaceAccessManager.- Specified by:
- initin interface- WorkspaceAccessManager
- Parameters:
- systemSession- Session used to initialize this instance.
- See Also:
- WorkspaceAccessManager.init(Session)
 
 - 
closepublic void close() throws RepositoryExceptionDescription copied from interface:WorkspaceAccessManagerDispose thisWorkspaceAccessManagerand its resources.- Specified by:
- closein interface- WorkspaceAccessManager
- Throws:
- RepositoryException- if an error occurs.
- See Also:
- WorkspaceAccessManager.close()
 
 - 
grantspublic boolean grants(Set<Principal> principals, String workspaceName) throws RepositoryException Always returnstrueallowing any set of principals to access all workspaces.- Specified by:
- grantsin interface- WorkspaceAccessManager
- Parameters:
- 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.
- Returns:
- true if the given set of principals is allowed to access the workspace with the specified name.
- Throws:
- RepositoryException- If an error occurs.
- See Also:
- WorkspaceAccessManager.grants(java.util.Set, String)
 
 
- 
 
-