Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for validity (3.29 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

            extractor.getText(in, null);
    
            assertTrue("validateInputStream should be called", extractor.isValidateCalled());
            assertSame("Should validate the same stream instance", in, extractor.getLastValidatedStream());
        }
    
        /**
         * Test that getText throws exception when null stream is provided.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

         * @throws IOException if an I/O error occurs during content retrieval
         */
        @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 {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

         * Show the edit page.
         * @param form The edit form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            accessTokenService.getAccessToken(id).ifPresent(entity -> {
                copyBeanToBean(entity, form,
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

         * Upload a design file.
         * @param form The upload form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse upload(final UploadForm form) {
            validate(form, messages -> {}, () -> asListHtml(form));
            verifyToken(this::asListHtml);
            final String uploadedFileName = form.designFile.getFileName();
            String fileName = form.designFileName;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

         *
         * @param form the edit form
         * @return HTML response for the edit page
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            labelTypeService.getLabelType(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, copyOp -> {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/FileUtil.java

    import org.codelibs.core.timer.TimeoutManager;
    
    /**
     * Utility class for handling {@link File}.
     * <p>
     * <strong>SECURITY NOTE:</strong> When accepting file paths from untrusted sources,
     * always validate them using {@link #isPathSafe(Path, Path)} to prevent path traversal attacks.
     * Methods that accept path strings do not perform automatic validation to maintain backward compatibility.
     * </p>
     *
     * @author higa
     */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

         *
         * @param form the login form containing username and password
         * @return the HTML response after login attempt
         */
        @Execute
        public HtmlResponse login(final LoginForm form) {
            validate(form, messages -> {}, () -> asIndexPage(form));
            verifyToken(() -> asIndexPage(form));
            final String username = form.username;
            final String password = form.password;
            form.clearSecurityInfo();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

         * @return HTML response redirecting to the maintenance page
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse reindexOnly(final ActionForm form) {
            validate(form, messages -> {}, this::asIndexHtml);
            verifyToken(this::asIndexHtml);
            if (startReindex(isCheckboxEnabled(form.replaceAliases), isCheckboxEnabled(form.resetDictionaries), form.numberOfShardsForDoc,
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java

         * @return HTML response after sending test mail
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse sendmail(final MailForm form) {
            validate(form, messages -> {}, () -> asHtml(path_AdminGeneral_AdminGeneralJsp));
    
            final String[] toAddresses = form.notificationTo.split(",");
            final Map<String, Object> dataMap = new HashMap<>();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

         * @return HTML response redirecting to the storage list after upload
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse upload(final ItemForm form) {
            validate(form, messages -> {}, () -> asListHtml(form.path));
            if (form.uploadFile == null) {
                throwValidationError(messages -> messages.addErrorsStorageNoUploadFile(GLOBAL), () -> asListHtml(form.path));
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top