public class WebWorkspaceAccessController extends StringHierarchicalAccessController implements Contextualizable
WorkspaceAccessController
will add the current sitemap to the cms workspaceAbstractProfileStorageBasedAccessController.CacheKind
AccessController.AccessResult
Modifier and Type | Field and Description |
---|---|
private Context |
_context |
_prefixes, _reverseWorkspaceMather, _workspaceMatcher, SEPARATOR
__ANONYMOUS_USER_IDENTITY, __ANY_CONTECTED_USER_IDENTITY, _profileAssignmentStorageEP, _rightManager, _rightProfileDAO
Constructor and Description |
---|
WebWorkspaceAccessController() |
Modifier and Type | Method and Description |
---|---|
protected Object |
_convertContext(Object initialContext)
For methods getXXXXPermissionYYY allow to have a modification of the context before transfering it to the profile assignment storage extension point
The default implemenation keep the context as it is
|
private String |
_getSiteName() |
void |
contextualize(Context context) |
protected Set<String> |
getRootPrefixes()
Get the prefix of the path accepted
|
protected Set<String> |
getSupportedPrefixes()
Get the prefix of the path accepted
|
_convertWorkspaceToRootRightContexts, _getParents, configure, isSupported
getPermission, getPermissionByGroup, getPermissionByRight, getPermissionByUser, getPermissionForAnonymous, getPermissionForAnyConnectedUser, getReadAccessPermission, getReadAccessPermissionByGroup, getReadAccessPermissionByUser, getReadAccessPermissionForAnonymous, getReadAccessPermissionForAnyConnectedUser
_hasRightResultInFirstCache, _hasRightResultInSecondCache, _putInFirstCache, _putInSecondCache, hasAnonymousAnyPermissionOnWorkspace, hasAnonymousAnyReadAccessPermissionOnWorkspace, hasAnyConnectedUserAnyPermissionOnWorkspace, hasAnyConnectedUserAnyReadAccessPermissionOnWorkspace, hasUserAnyPermissionOnWorkspace, hasUserAnyReadAccessPermissionOnWorkspace, service
getLogger, setLogger
public WebWorkspaceAccessController()
public void contextualize(Context context) throws ContextException
contextualize
in interface Contextualizable
ContextException
protected Set<String> getSupportedPrefixes()
StringHierarchicalAccessController
getSupportedPrefixes
in class StringHierarchicalAccessController
protected Object _convertContext(Object initialContext)
AbstractProfileStorageBasedAccessController
_convertContext
in class AbstractProfileStorageBasedAccessController
initialContext
- The right context that is supportedprotected Set<String> getRootPrefixes()
StringHierarchicalAccessController
getRootPrefixes
in class StringHierarchicalAccessController
private String _getSiteName()