- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for getUserBean (0.05 sec)
-
src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java
final VaErrorHook toIndexPage = () -> { form.clearSecurityInfo(); return asIndexHtml(); }; validatePasswordForm(form, toIndexPage); final String username = getUserBean().map(FessUserBean::getUserId).get(); try { userService.changePassword(username, form.newPassword); saveInfo(messages -> messages.addSuccessChangedPassword(GLOBAL));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/login/LoginAction.java
form.clearSecurityInfo(); return getUserBean().map(u -> asHtml(virtualHost(path_Login_NewpasswordJsp)).useForm(PasswordForm.class)) .orElseGet(() -> redirect(LoginAction.class)); }; validatePasswordForm(form, toIndexPage); final String username = getUserBean().map(FessUserBean::getUserId).get(); try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java
* * @return an optional containing the current user bean, or empty if not logged in */ @Override protected OptionalThing<FessUserBean> getUserBean() { // to return as concrete class return fessLoginAssist.getSavedUserBean(); } /** * Returns the application type identifier for this Fess application. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
protected void setupHtmlData(final ActionRuntime runtime) { super.setupHtmlData(runtime); systemHelper.setupAdminHtmlData(this, runtime); final Boolean editable = getUserBean().map(user -> user.hasRoles(fessConfig.getAuthenticationAdminRolesAsArray()) || user.hasRole(getActionRole())) .orElse(false); runtime.registerData("editable", editable);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java
final User entity = userService.getUser(id).orElseGet(() -> { throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id)); return null; }); getUserBean().ifPresent(u -> { if (u.getFessUser() instanceof User && entity.getName().equals(u.getUserId())) { throwValidationErrorApi(messages -> messages.addErrorsCouldNotDeleteLoggedInUser(GLOBAL));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/go/GoAction.java
try { doc = searchHelper .getDocumentByDocId(form.docId, new String[] { fessConfig.getIndexFieldUrl(), fessConfig.getIndexFieldConfigId() }, getUserBean()) .orElse(null); } catch (final Exception e) { logger.warn("Failed to request: {}", form.docId, e); } if (doc == null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java
* Otherwise, displays the login page. * * @return HTML response for login page or redirect to admin interface */ protected HtmlResponse getHtmlResponse() { return getUserBean().map(this::redirectByUser).orElse(asHtml(virtualHost(path_Login_IndexJsp))); } /** * Redirects an authenticated user to the appropriate admin interface based on their roles.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/logout/LogoutAction.java
* * @return the HTML response after logout */ @Execute public HtmlResponse index() { final OptionalThing<FessUserBean> userBean = getUserBean(); activityHelper.logout(userBean); final String redirectUrl = userBean.map(user -> ComponentUtil.getSsoManager().logout(user)).orElse(null); fessLoginAssist.logout();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java
return redirectToLogin(); } Map<String, Object> doc = null; try { doc = searchHelper.getDocumentByDocId(form.docId, queryFieldConfig.getCacheResponseFields(), getUserBean()).orElse(null); } catch (final Exception e) { logger.warn("Failed to request: {}", form.docId, e); } if (doc == null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java
if (isLoginRequired()) { return redirectToLogin(); } final Map<String, Object> doc = searchHelper.getDocumentByDocId(form.docId, queryFieldConfig.getResponseFields(), getUserBean()).orElse(null); final String url = DocumentUtil.getValue(doc, fessConfig.getIndexFieldThumbnail(), String.class); if (StringUtil.isBlank(form.queryId) || StringUtil.isBlank(url) || !thumbnailSupport) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.4K bytes - Viewed (0)