Class CheckPageReadAccessAction

All Implemented Interfaces:
Component, LogEnabled, Serviceable, Action

Tests if the current page has some access restrictions.
  • If the page is not restricted, returns EMPTY_MAP. The page can be cached.
  • If the page is restricted and the current user is allowed, return null. The page can be served but can't be cached.
  • If the page is restricted but the current user is not allowed, an AccessDeniedException is thrown.
  • If the page is restricted but no one is logged in, an AuthorizationRequiredException is thrown.