public class WorkspaceSwitchedAccessController extends WorkspaceAccessController
AbstractProfileStorageBasedAccessController.CacheKind
AccessController.AccessResult
Modifier and Type | Field and Description |
---|---|
protected String |
_workspaceToMatch
The workspace to react on
|
protected String |
_workspaceToReplaceWith
The workspace to replace with
|
_context
_prefixes, _reverseWorkspaceMather, _workspaceMatcher, SEPARATOR
__ANONYMOUS_USER_IDENTITY, __ANY_CONTECTED_USER_IDENTITY, _profileAssignmentStorageEP, _rightManager, _rightProfileDAO
Constructor and Description |
---|
WorkspaceSwitchedAccessController() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Configuration configuration) |
protected Set<String> |
getRootPrefixes()
Get the prefix of the path accepted
|
protected Set<String> |
getSupportedPrefixes()
Get the prefix of the path accepted
|
_convertWorkspaceToRootRightContexts, contextualize
_getParents, isSupported
_getPermission, _getPermissionByGroup, _getPermissionByUser, _getPermissionForAnonymous, _getPermissionForAnyConnectedUser, getPermissionByRight
_convertContext, _hasRightResultInFirstCache, _hasRightResultInSecondCache, _putInFirstCache, _putInSecondCache, getPermission, getPermissionByGroup, getPermissionByUser, getPermissionForAnonymous, getPermissionForAnyConnectedUser, getReadAccessPermission, getReadAccessPermissionByGroup, getReadAccessPermissionByUser, getReadAccessPermissionForAnonymous, getReadAccessPermissionForAnyConnectedUser, hasAnonymousAnyPermissionOnWorkspace, hasAnonymousAnyReadAccessPermissionOnWorkspace, hasAnyConnectedUserAnyPermissionOnWorkspace, hasAnyConnectedUserAnyReadAccessPermissionOnWorkspace, hasUserAnyPermissionOnWorkspace, hasUserAnyReadAccessPermissionOnWorkspace, service
getLogger, setLogger
protected String _workspaceToMatch
protected String _workspaceToReplaceWith
public WorkspaceSwitchedAccessController()
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
configure
in class WorkspaceAccessController
ConfigurationException
protected Set<String> getRootPrefixes()
StringHierarchicalAccessController
getRootPrefixes
in class WorkspaceAccessController
protected Set<String> getSupportedPrefixes()
StringHierarchicalAccessController
getSupportedPrefixes
in class WorkspaceAccessController