- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getUserId (0.08 sec)
-
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
} @Override public void resolveCredential(final LoginCredentialResolver resolver) { resolver.resolve(SpnegoCredential.class, credential -> { final String username = credential.getUserId(); if (!ComponentUtil.getFessConfig().isAdminUser(username)) { return ComponentUtil.getLdapManager().login(username); } return OptionalEntity.empty(); });
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 11.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
if (user.hasRoles(ComponentUtil.getFessConfig().getAuthenticationAdminRolesAsArray())) { return Constants.SEARCH_PREFERENCE_LOCAL; } return user.getUserId(); }).ifPresent(p -> searchRequestBuilder.setPreference(p)).orElse(() -> LaRequestUtil.getOptionalRequest().map(r -> { final HttpSession session = r.getSession(false); if (session != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 11.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java
verifyCrudMode(form.crudMode, CrudMode.DETAILS); validate(form, messages -> {}, this::asDetailsHtml); getUserBean().ifPresent(u -> { if (u.getFessUser() instanceof User && form.name.equals(u.getUserId())) { throwValidationError(messages -> messages.addErrorsCouldNotDeleteLoggedInUser(GLOBAL), this::asDetailsHtml); } }); verifyToken(this::asDetailsHtml);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 15.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchLogHelper.java
searchLog.setQueryOffset(pageStart); searchLog.setQueryPageSize(pageSize); ComponentUtil.getRequestManager().findUserBean(FessUserBean.class).ifPresent(user -> { searchLog.setUser(user.getUserId()); }); LaRequestUtil.getOptionalRequest().ifPresent(req -> { searchLog.setClientIp(StringUtils.abbreviate(ComponentUtil.getViewHelper().getClientIp(req), 100));
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/helper/SystemHelper.java
}); } 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()); } public long 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)