Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for getOptionalRequest (0.15 sec)

  1. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

            });
        }
    
        @Execute
        public HtmlResponse search(final SearchForm form) {
            if (viewHelper.isUseSession()) {
                LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                    final HttpSession session = request.getSession(false);
                    if (session != null && form.num != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

        /* (non-Javadoc)
         * @see org.codelibs.fess.sso.spnego.SsoAuthenticator#getLoginCredential()
         */
        @Override
        public LoginCredential getLoginCredential() {
            return LaRequestUtil.getOptionalRequest().map(request -> {
                if (logger.isDebugEnabled()) {
                    logger.debug("Logging in with SPNEGO Authenticator");
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/QueryHelper.java

                    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) {
                    return session.getId();
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

            }
            ComponentUtil.getSsoManager().register(this);
        }
    
        @Override
        public LoginCredential getLoginCredential() {
            return LaRequestUtil.getOptionalRequest().map(request -> {
                if (logger.isDebugEnabled()) {
                    logger.debug("Logging in with OpenID Connect Authenticator");
                }
                final HttpSession session = request.getSession(false);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

                    scheduledJobService.getScheduledJob(id).ifPresent(entity -> {
                        loadScheduledJob(form, entity);
                        form.crudMode = crudMode;
                        LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                            request.setAttribute("running", entity.isRunning());
                            request.setAttribute("enabled", entity.isEnabled());
                        });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            }
    
            final ExternalContext externalContext = SingletonLaContainerFactory.getExternalContext();
            final OptionalThing<HttpServletRequest> requestOpt = LaRequestUtil.getOptionalRequest();
            final OptionalThing<HttpServletResponse> responseOpt = LaResponseUtil.getOptionalResponse();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            ComponentUtil.getRequestManager().findUserBean(FessUserBean.class).ifPresent(user -> {
                searchLog.setUser(user.getUserId());
            });
    
            LaRequestUtil.getOptionalRequest().ifPresent(req -> {
                searchLog.setClientIp(StringUtils.abbreviate(ComponentUtil.getViewHelper().getClientIp(req), 100));
                searchLog.setReferer(StringUtils.abbreviate(req.getHeader("referer"), 1000));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            return "\"" + key + "\":" + escapeJson(value);
        }
    
        protected void writeJsonResponse(final int status, final String body) {
            final String callback = LaRequestUtil.getOptionalRequest().map(req -> req.getParameter("callback")).orElse(null);
            final boolean isJsonp = ComponentUtil.getFessConfig().isApiJsonpEnabled() && StringUtil.isNotBlank(callback);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

            groupCache = CacheBuilder.newBuilder().expireAfterWrite(groupCacheExpiry, TimeUnit.SECONDS).build();
        }
    
        @Override
        public LoginCredential getLoginCredential() {
            return LaRequestUtil.getOptionalRequest().map(request -> {
                if (logger.isDebugEnabled()) {
                    logger.debug("Logging in with Azure AD Authenticator");
                }
                final HttpSession session = request.getSession(false);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top