public interface WorkspaceAccessManagerPlugin
AccessManagerPlugin
can define its own WorkspaceAccessManagerPlugin
,
if desired.Modifier and Type | Method and Description |
---|---|
boolean |
canAccess(String workspaceName)
Determines whether the subject of the current context is granted access
to the given workspace.
|
boolean canAccess(String workspaceName) throws javax.jcr.RepositoryException
false
, if no such workspace
exists.workspaceName
- name of workspacetrue
if the subject of the current context is
granted access to the given workspace; otherwise false
.javax.jcr.RepositoryException
- if an error occurs.Copyright © 2014 The Apache Software Foundation. All rights reserved.