Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for setPassword (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            if (username != null) {
                UserManager userManager = factory.getUserManager();
                BaseUser ftpUser = new BaseUser();
                ftpUser.setName(username);
                ftpUser.setPassword(password);
                final File file = ResourceUtil.getResourceAsFile("test");
                String path = file.getAbsolutePath();
                ftpUser.setHomeDirectory(path);
    
                userManager.save(ftpUser);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

            smbClient = container.getComponent("smbClient");
            Map<String, Object> params = new HashMap<>();
            SmbAuthentication auth1 = new SmbAuthentication();
            auth1.setUsername("testuser1");
            auth1.setPassword("test123");
            SmbAuthentication[] auths = new SmbAuthentication[] { auth1 };
            params.put("smbAuthentications", auths);
            smbClient.setInitParameterMap(params);
            smbClient.init();
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top