|
||||||||||
| 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(java.util.Set principals,
java.lang.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(javax.jcr.Session securitySession)
Initialize this WorkspaceAccessManager. |
| Method Detail |
|---|
void init(javax.jcr.Session securitySession)
throws javax.jcr.RepositoryException
WorkspaceAccessManager.
securitySession -
javax.jcr.RepositoryException - if an error occurs.
void close()
throws javax.jcr.RepositoryException
WorkspaceAccessManager and its resources.
javax.jcr.RepositoryException - if an error occurs.
boolean grants(java.util.Set principals,
java.lang.String workspaceName)
throws javax.jcr.RepositoryException
true if access to the workspace with the given name
is granted to the to any of the specified principals.
principals - workspaceName -
javax.jcr.RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||