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 Detail

      • checkedOnMayView

        boolean checkedOnMayView​(FileResourceSecurityPolicy checkedObject)
        Checks if the mayView method has been called on the given FileResourceSecurityPolicy object during the current HttpServletRequest. Returns true 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 a HttpServletRequest.
        Parameters:
        checkedObject - FileResourceSecurityPolicy object which is checked.
        Returns:
        true if the mayView method has been called on the given FileResourceSecurityPolicy object during the current HttpServletRequest, false otherwise.