|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkspaceAccessManager
The WorkspaceAccessManager
is responsible for workspace access.
In contrast to Items that are identified, workspaces are named Objects
on different class hierarchy.
Method Summary | |
---|---|
void |
close()
Dispose this WorkspaceAccessManager and its resources. |
boolean |
grants(Set principals,
String workspaceName)
Returns true if access to the workspace with the given name
is granted to the to any of the specified principals. |
void |
init(Session securitySession)
Initialize this WorkspaceAccessManager . |
Method Detail |
---|
void init(Session securitySession) throws RepositoryException
WorkspaceAccessManager
.
securitySession
- The security session.
RepositoryException
- if an error occurs.void close() throws RepositoryException
WorkspaceAccessManager
and its resources.
RepositoryException
- if an error occurs.boolean grants(Set principals, String workspaceName) throws RepositoryException
true
if access to the workspace with the given name
is granted to the to any of the specified principals.
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |