- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for getRequestManager (0.15 sec)
-
src/main/java/org/codelibs/fess/helper/SystemHelper.java
logger.warn("Failed to process shutdown task.", e); } }); } public String getUsername() { final RequestManager requestManager = ComponentUtil.getRequestManager(); return requestManager.findUserBean(FessUserBean.class).map(FessUserBean::getUserId).orElse(Constants.GUEST_USER); } public Date getCurrentTime() { return new Date(getCurrentTimeAsLong());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 17 12:10:08 UTC 2024 - 27.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java
}); } protected void registerProtocolSchemeItems(final RenderData data) { final List<Map<String, String>> itemList = new ArrayList<>(); final Locale locale = ComponentUtil.getRequestManager().getUserLocale(); itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_basic"), Constants.BASIC));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 15.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
df.applyPattern(pattern); return df.format(value); } private static Locale getUserLocale() { final Locale locale = ComponentUtil.getRequestManager().getUserLocale(); if (locale == null) { return Locale.ROOT; } return locale; } public static String formatFileSize(final long value) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 16.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java
runtime.registerData("labelTypeItems", labelTypeItems); runtime.registerData("displayLabelTypeItems", labelTypeItems != null && !labelTypeItems.isEmpty()); Locale locale = ComponentUtil.getRequestManager().getUserLocale(); if (locale == null) { locale = Locale.ENGLISH; } runtime.registerData("langItems", systemHelper.getLanguageItems(locale));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
} final boolean hasAccessToken = processAccessToken(request, roleSet, isApiRequest); final RequestManager requestManager = ComponentUtil.getRequestManager(); try { requestManager.findUserBean(FessUserBean.class) .ifPresent(fessUserBean -> stream(fessUserBean.getPermissions()).of(stream -> stream.forEach(roleSet::add)))
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 25 01:48:41 UTC 2024 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
public void process(final HttpServletRequest request, final HttpServletResponse response, final FilterChain chain) throws IOException, ServletException { final RequestManager requestManager = ComponentUtil.getRequestManager(); if (!requestManager.findUserBean(FessUserBean.class).map(user -> user.hasRoles(acceptedRoles)).orElse(Boolean.FALSE)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Aug 15 08:29:24 UTC 2024 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java
}); } protected void registerProtocolSchemeItems(final RenderData data) { final List<Map<String, String>> itemList = new ArrayList<>(); final Locale locale = ComponentUtil.getRequestManager().getUserLocale(); itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.file_auth_scheme_samba"), Constants.SAMBA));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 15.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchLogHelper.java
searchLog.setSearchQuery(StringUtils.abbreviate(queryResponseList.getSearchQuery(), 1000)); searchLog.setQueryOffset(pageStart); searchLog.setQueryPageSize(pageSize); ComponentUtil.getRequestManager().findUserBean(FessUserBean.class).ifPresent(user -> { searchLog.setUser(user.getUserId()); }); LaRequestUtil.getOptionalRequest().ifPresent(req -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 22 02:07:37 UTC 2024 - 21.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ComponentUtil.java
return getComponent(LDAP_MANAGER); } public static ActivityHelper getActivityHelper() { return getComponent(ACTIVITY_HELPER); } public static RequestManager getRequestManager() { return getComponent(RequestManager.class); } public static ResponseManager getResponseManager() { return getComponent(ResponseManager.class); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jun 17 13:35:51 UTC 2024 - 20.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
} return null; }).filter(StringUtil::isNotBlank).orElse(url); } public String getPagePath(final String page) { final Locale locale = ComponentUtil.getRequestManager().getUserLocale(); final String lang = locale.getLanguage(); final String country = locale.getCountry(); final String pathLC = getLocalizedPagePath(page, lang, country);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 40.2K bytes - Viewed (0)