Package nl.gx.webmanager.cms.core
Interface FileResourceSecurityCheckPoint
-
- All Superinterfaces:
FileResourceSecurityPolicy
public interface FileResourceSecurityCheckPoint extends FileResourceSecurityPolicy
This interface is very closely related FileResourceSecurityPolicy and it is used to indicate to the FileResourceController servlet that an object can be used as the starting point when determining if a request for a file is authorised.- Author:
- simon
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
checkedOnMayView(FileResourceSecurityPolicy checkedObject)
Checks if the mayView method has been called on the givenFileResourceSecurityPolicy
object during the currentHttpServletRequest
.-
Methods inherited from interface nl.gx.webmanager.cms.core.FileResourceSecurityPolicy
mayView
-
-
-
-
Method Detail
-
checkedOnMayView
boolean checkedOnMayView(FileResourceSecurityPolicy checkedObject)
Checks if the mayView method has been called on the givenFileResourceSecurityPolicy
object during the currentHttpServletRequest
. Returnstrue
if it has been called,false
otherwise. Note that this method's result can only be trusted if it is always called on the same object during aHttpServletRequest
.- Parameters:
checkedObject
-FileResourceSecurityPolicy
object which is checked.- Returns:
true
if the mayView method has been called on the givenFileResourceSecurityPolicy
object during the currentHttpServletRequest
,false
otherwise.
-
-