Class MVCAdminJspBean
java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AutoIncludeJspBean,SecurityHeaderConfigJspBean,SecurityHeaderJspBean,StylesJspBean,ThemeJspBean
MVC Admin JspBean implementation let use MVC model to develop admin feature.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocessController(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Dispatches the HTTP request to the appropriate controller method based on annotations, and returns the path to the view to render (typically a JSP).Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, initMethods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getSecurityTokenService, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
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
BeforeControllerEventis fired at the beginning of execution, allowing CDI observers to modify behavior or intercept early.- Parameters:
request- theHttpServletRequestto processresponse- theHttpServletResponseassociated with the request- Returns:
- a
Stringrepresenting the path to the view (e.g., JSP page) - Throws:
AccessDeniedException- if the invoked method explicitly denies accessAppException- if any reflection-related errors occur during method invocation
-