Package org.ametys.web.rights
Class WebContentAccessController
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.core.impl.right.AbstractProfileStorageBasedAccessController
-
- org.ametys.plugins.core.impl.right.AbstractHierarchicalAccessController<AmetysObject>
-
- org.ametys.cms.rights.ContentAccessController
-
- org.ametys.web.rights.WebContentAccessController
-
- All Implemented Interfaces:
AccessController
,LogEnabled
,Component
,Contextualizable
,Serviceable
public class WebContentAccessController extends ContentAccessController
The access controller for web contents only
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ametys.plugins.core.impl.right.AbstractProfileStorageBasedAccessController
AbstractProfileStorageBasedAccessController.CacheKind
-
Nested classes/interfaces inherited from interface org.ametys.core.right.AccessController
AccessController.AccessResult
-
-
Field Summary
-
Fields inherited from class org.ametys.cms.rights.ContentAccessController
_contentHelper, _context, _resolver, _rootContentHelper
-
Fields inherited from class org.ametys.plugins.core.impl.right.AbstractProfileStorageBasedAccessController
__ANONYMOUS_USER_IDENTITY, __ANY_CONTECTED_USER_IDENTITY, _profileAssignmentStorageEP, _rightManager, _rightProfileDAO
-
-
Constructor Summary
Constructors Constructor Description WebContentAccessController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSupported(Object object)
Returns true if this access controller supports the given object-
Methods inherited from class org.ametys.cms.rights.ContentAccessController
_convertWorkspaceToRootRightContexts, _getParents, contextualize, service
-
Methods inherited from class org.ametys.plugins.core.impl.right.AbstractHierarchicalAccessController
_getPermission, _getPermissionByGroup, _getPermissionByUser, _getPermissionForAnonymous, _getPermissionForAnyConnectedUser, getPermissionByRight, isInheritanceDisallowed
-
Methods inherited from class org.ametys.plugins.core.impl.right.AbstractProfileStorageBasedAccessController
_convertContext, _hasRightResultInFirstCache, _hasRightResultInSecondCache, _putInFirstCache, _putInSecondCache, getPermission, getPermissionByGroup, getPermissionByUser, getPermissionForAnonymous, getPermissionForAnyConnectedUser, getReadAccessPermission, getReadAccessPermissionByGroup, getReadAccessPermissionByUser, getReadAccessPermissionForAnonymous, getReadAccessPermissionForAnyConnectedUser, hasAnonymousAnyPermissionOnWorkspace, hasAnonymousAnyReadAccessPermissionOnWorkspace, hasAnyConnectedUserAnyPermissionOnWorkspace, hasAnyConnectedUserAnyReadAccessPermissionOnWorkspace, hasUserAnyPermissionOnWorkspace, hasUserAnyReadAccessPermissionOnWorkspace
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
WebContentAccessController
public WebContentAccessController()
-
-
Method Detail
-
isSupported
public boolean isSupported(Object object)
Description copied from interface:AccessController
Returns true if this access controller supports the given object- Specified by:
isSupported
in interfaceAccessController
- Overrides:
isSupported
in classContentAccessController
- Parameters:
object
- The object to test- Returns:
- true if this access controller supports the given object
-
-