Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for isLoginRequired (0.06 sec)

  1. src/main/java/org/codelibs/fess/app/web/osdd/OsddAction.java

        /**
         * Returns the OSDD document.
         *
         * @return the OSDD document as a stream response
         */
        @Execute
        public ActionResponse index() {
            if (isLoginRequired()) {
                return redirectToLogin();
            }
            return osddHelper.asStream();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

         */
        @Execute
        public ActionResponse index(final ThumbnailForm form) {
            validate(form, messages -> {}, () -> asHtml(virtualHost(path_Error_ErrorJsp)));
            if (isLoginRequired()) {
                return redirectToLogin();
            }
    
            final Map<String, Object> doc =
                    searchHelper.getDocumentByDocId(form.docId, queryFieldConfig.getResponseFields(), getUserBean()).orElse(null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/RootAction.java

        /**
         * The index page.
         * @return The HTML response for the index page.
         */
        @Execute
        public HtmlResponse index() {
            if (isLoginRequired()) {
                return redirectToLogin();
            }
    
            return asHtml(virtualHost(path_IndexJsp)).useForm(SearchForm.class, op -> {
                op.setup(form -> {
                    buildFormParams(form);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

        /**
         * The advance search page.
         * @param form The search form.
         * @return The HTML response.
         */
        @Execute
        public HtmlResponse advance(final SearchForm form) {
            if (isLoginRequired()) {
                return redirectToLogin();
            }
            validate(form, messages -> {}, () -> asHtml(virtualHost(path_IndexJsp)).renderWith(data -> {
                buildInitParams();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java

         */
        @Execute
        public ActionResponse index(final CacheForm form) {
            validate(form, messages -> {}, () -> asHtml(virtualHost(path_Error_ErrorJsp)));
            if (isLoginRequired()) {
                return redirectToLogin();
            }
    
            Map<String, Object> doc = null;
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/help/HelpAction.java

         *
         * @return HtmlResponse containing the rendered help page or redirect to login if authentication is required
         */
        @Execute
        public HtmlResponse index() {
            if (isLoginRequired()) {
                return redirectToLogin();
            }
    
            return asHtml(virtualHost(path_HelpJsp)).useForm(SearchForm.class, op -> {
                op.setup(form -> {
                    buildFormParams(form);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

         */
        @Execute
        public ActionResponse index(final GoForm form) throws IOException {
            validate(form, messages -> {}, () -> asHtml(virtualHost(path_Error_ErrorJsp)));
            if (isLoginRequired()) {
                return redirectToLogin();
            }
    
            Map<String, Object> doc = null;
            try {
                doc = searchHelper
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

         * and user authentication status.
         *
         * @return true if login is required, false otherwise
         */
        protected boolean isLoginRequired() {
            if (fessConfig.isLoginRequired() && !fessLoginAssist.getSavedUserBean().isPresent()) {
                return true;
            }
            return false;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java

         * @param form the form to populate with configuration values
         */
        public static void updateForm(final FessConfig fessConfig, final EditForm form) {
            form.loginRequired = fessConfig.isLoginRequired() ? Constants.TRUE : Constants.FALSE;
            form.resultCollapsed = fessConfig.isResultCollapsed() ? Constants.TRUE : Constants.FALSE;
            form.loginLink = fessConfig.isLoginLinkEnabled() ? Constants.TRUE : Constants.FALSE;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        }
    
        default void setLoginRequired(final boolean value) {
            setSystemPropertyAsBoolean(Constants.LOGIN_REQUIRED_PROPERTY, value);
        }
    
        default boolean isLoginRequired() {
            return getSystemPropertyAsBoolean(Constants.LOGIN_REQUIRED_PROPERTY, false);
        }
    
        default void setResultCollapsed(final boolean value) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
Back to top