public class CheckPathAccessAction extends ServiceableAction
| Modifier and Type | Field and Description |
|---|---|
private CurrentUserProvider |
_currentUserProvider |
private AmetysObjectResolver |
_resolver |
private RightManager |
_rightManager |
private SourceResolver |
_srcResolver |
managerEMPTY_MAP| Constructor and Description |
|---|
CheckPathAccessAction() |
| Modifier and Type | Method and Description |
|---|---|
private void |
_checkPageAccess(ZoneItem zoneItem) |
protected String |
_decodePath(String path)
Decode the resource path
|
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager smanager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerprivate SourceResolver _srcResolver
private AmetysObjectResolver _resolver
private CurrentUserProvider _currentUserProvider
private RightManager _rightManager
public CheckPathAccessAction()
public void service(ServiceManager smanager) throws ServiceException
service in interface Serviceableservice in class ServiceableActionServiceExceptionpublic Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exceptionprivate void _checkPageAccess(ZoneItem zoneItem) throws AuthorizationRequiredException, AmetysRepositoryException, AccessDeniedException
protected String _decodePath(String path) throws UnsupportedEncodingException, URISyntaxException
path - the resource pathUnsupportedEncodingException - if UTF-8 encoding is not supportedURISyntaxException - if an error occurred