Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for getPassword (0.04 sec)

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

            assertNull(pdfExtractor.getPassword(params));
    
            url = "http://test.com/hoge1.pdf";
            params.put(ExtractData.URL, url);
            assertEquals("password", pdfExtractor.getPassword(params));
    
            url = "http://test.com/hoge1.pdf";
            params.put(ExtractData.URL, url);
            assertEquals("password", pdfExtractor.getPassword(params));
    
            url = "http://test.com/fuga.pdf";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            resourceName = null;
            assertNull(tikaExtractor.getPassword(createParams(url, resourceName)));
    
            url = "http://test.com/hoge1.pdf";
            resourceName = null;
            assertNull(tikaExtractor.getPassword(createParams(url, resourceName)));
    
            url = "http://test.com/hoge1.pdf";
            resourceName = "hoge2.pdf";
            assertNull(tikaExtractor.getPassword(createParams(url, resourceName)));
    
            url = null;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java

        }
    
        /**
         * Returns the password for the given parameters.
         * @param params The parameters.
         * @return The password.
         */
        protected String getPassword(final Map<String, String> params) {
            final String url = params != null ? params.get(ExtractData.URL) : null;
            if (!passwordMap.isEmpty()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

        }
    
        /**
         * Returns the password.
         * @return The password.
         */
        public String getPassword() {
            return password;
        }
    
        /**
         * Sets the password.
         * @param password The password.
         */
        public void setPassword(final String password) {
            this.password = password;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

        }
    
        /**
         * Returns the password.
         * @return The password.
         */
        public String getPassword() {
            return password;
        }
    
        /**
         * Sets the password.
         * @param password The password.
         */
        public void setPassword(final String password) {
            this.password = password;
        }
    
        /**
         * Returns the domain.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthentication.java

        /**
         * Returns the password for SMB authentication.
         * @return the password
         */
        public String getPassword() {
            return password;
        }
    
        /**
         * Sets the password for SMB authentication.
         * @param password the password to set
         */
        public void setPassword(final String password) {
            this.password = password;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                    final boolean normalizeText = params == null ? true : !Constants.FALSE.equalsIgnoreCase(params.get(NORMALIZE_TEXT));
                    final String password = getPassword(params);
    
                    final Metadata metadata = createMetadata(resourceName, contentType, contentEncoding, password);
    
                    final Parser parser = new TikaDetectParser();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
    
            final String password = getPassword(params);
            try (PDDocument document = Loader.loadPDF(new RandomAccessReadBuffer(in), password)) {
                final StringWriter writer = new StringWriter();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

            if (StringUtil.isNotBlank(value)) {
                return value.replace(USERNAME, credentials.getUserPrincipal().getName()).replace(PASSWORD, credentials.getPassword());
            }
            return StringUtil.EMPTY;
        }
    
        /**
         * Returns a string representation of this object.
         * @return A string representation.
         */
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (1)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

            return new NtlmPasswordAuthenticator(smbAuthentication.getDomain() == null ? "" : smbAuthentication.getDomain(),
                    smbAuthentication.getUsername(), smbAuthentication.getPassword());
        }
    
        /**
         * Retrieves response data for the given URI.
         *
         * @param uri the URI to retrieve data from
         * @param includeContent whether to include content in the response
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (3)
Back to top