public abstract class AbstractManageLogsPropertiesJspBean
extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ALTERNATE_LOG_CONF_FILE_ABSOLUTE |
protected static boolean |
APP_SERVER_MULTI_WEBAPP |
protected static String |
EMPTY |
protected static String |
LUTECE_CONF_FILE_ABSOLUTE |
protected static String |
LUTECE_LOG_FILE |
protected static String |
LUTECE_LOG_PATH |
static String |
RIGHT_MANAGELOGSPROPERTIES |
protected static String |
SLASH |
protected static String |
TMP_LOG_ABSOLUTE |
protected static String |
TMP_LOG_FILE_NAME |
protected static String |
TMP_LOG_PATH |
protected static String |
TMP_LOG_PATH_ABSOLUTE |
| Constructor and Description |
|---|
AbstractManageLogsPropertiesJspBean() |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
getAbsolutePath(String strPath)
return absolute path from a path
|
protected static List<String> |
getFilesFromConfiguration(List<String> lines,
boolean throwExceptionOnInaccessibleFile)
get log files from configuration and check if parent folder is accessible and in allowed folder
|
protected static boolean |
isLogFileAccessible(String file)
Return true if file is accessible and within allowed log folder
|
addError, addError, addInfo, addInfo, addWarning, addWarning, download, download, fillCommons, getActionUrl, getControllerJsp, getControllerPath, getModel, getPage, getPage, getPage, getViewFullUrl, getViewUrl, processController, redirect, redirect, redirect, redirect, redirectView, validateBeangetPlugin, initgetAdminDashboardsUrl, getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, isUserHigherThanConnectedUser, populate, populate, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validateprotected static final String SLASH
protected static final String EMPTY
public static final String RIGHT_MANAGELOGSPROPERTIES
protected static final String TMP_LOG_PATH
protected static final String TMP_LOG_FILE_NAME
protected static final String TMP_LOG_PATH_ABSOLUTE
protected static final String TMP_LOG_ABSOLUTE
protected static final String LUTECE_LOG_PATH
protected static final String LUTECE_LOG_FILE
protected static final String ALTERNATE_LOG_CONF_FILE_ABSOLUTE
protected static final String LUTECE_CONF_FILE_ABSOLUTE
protected static final boolean APP_SERVER_MULTI_WEBAPP
protected static String getAbsolutePath(String strPath)
strPath - the pathprotected static List<String> getFilesFromConfiguration(List<String> lines, boolean throwExceptionOnInaccessibleFile) throws AccessDeniedException
lines - lines from configuration fileAccessDeniedExceptionprotected static boolean isLogFileAccessible(String file)
file - the file to checkCopyright © 2021 City of Paris. All rights reserved.