Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for getUserBean (0.1 sec)

  1. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

                return ((ActionResponseCredential) loginCredential).execute();
            }
            try {
                return fessLoginAssist.loginRedirect(loginCredential, op -> {}, () -> {
                    activityHelper.login(getUserBean());
                    userInfoHelper.deleteUserCodeFromCookie(request);
                    return getHtmlResponse();
                });
            } catch (final LoginFailureException lfe) {
                if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java

            final Group entity = groupService.getGroup(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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

                body.q = Constants.MATCHES_ALL_QUERY;
            }
    
            final SearchRenderData renderData = new SearchRenderData();
            body.initialize();
            try {
                searchHelper.search(body, renderData, getUserBean());
                return asJson(new ApiDocsResponse().renderData(renderData).status(Status.OK).result());
            } catch (final InvalidQueryException e) {
                if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

                buildFormParams(form);
                form.lang = searchHelper.getLanguages(request, form);
                final WebRenderData renderData = new WebRenderData();
                searchHelper.search(form, renderData, getUserBean());
                return asHtml(virtualHost(path_SearchJsp)).renderWith(data -> {
                    if (form.hasConditionQuery()) {
                        form.q = renderData.getSearchQuery();
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final EditForm form) {
            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);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/AdminAction.java

                AdminMaintenanceAction.ROLE + VIEW, //
                AdminEsreqAction.ROLE, //
                AdminEsreqAction.ROLE + VIEW,//
    
        })
        public HtmlResponse index() {
            return redirect(getUserBean().map(user -> {
                final Class<? extends FessAdminAction> actionClass = getAdminActionClass(user);
                if (actionClass != null) {
                    return actionClass;
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

            form.initialize();
            request.setAttribute(Constants.SEARCH_LOG_ACCESS_TYPE, Constants.SEARCH_LOG_ACCESS_TYPE_ADMIN);
            try {
                searchHelper.search(form, renderData, getUserBean());
                return asListHtml().renderWith(data -> {
                    renderData.register(data);
                });
            } catch (final InvalidQueryException e) {
                if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top