Class MVCAdminJspBean

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AutoIncludeJspBean, EditorProfileJspBean, PortletTemplateJspBean, SecurityHeaderConfigJspBean, SecurityHeaderJspBean, ThemeJspBean

public abstract class MVCAdminJspBean extends PluginAdminPageJspBean
MVC Admin JspBean implementation let use MVC model to develop admin feature.
See Also:
  • Constructor Details

    • MVCAdminJspBean

      public MVCAdminJspBean()
  • Method Details

    • processController

      public String processController(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws AccessDeniedException
      Dispatches the HTTP request to the appropriate controller method based on annotations, and returns the path to the view to render (typically a JSP).

      This method is part of the MVC controller logic for administrative back-office. It performs:

      • Initialization and permission checks
      • Registration of actions for security token validation
      • Invocation of view or action methods based on request parameters
      • Fallback to the default view if none is explicitly matched

      A BeforeControllerEvent is fired at the beginning of execution, allowing CDI observers to modify behavior or intercept early.

      Parameters:
      request - the HttpServletRequest to process
      response - the HttpServletResponse associated with the request
      Returns:
      a String representing the path to the view (e.g., JSP page)
      Throws:
      AccessDeniedException - if the invoked method explicitly denies access
      AppException - if any reflection-related errors occur during method invocation