Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for FtpAuthentication (0.34 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

    import org.codelibs.core.lang.StringUtil;
    
    /**
     * FtpAuthentication class holds the authentication information for FTP connections.
     * It includes server address, port number, username, and password.
     * It also provides a method to check if the authentication matches a given FTP path.
     *
     * @author shinsuke
     */
    public class FtpAuthentication {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationHolder.java

            // Default constructor
        }
    
        /**
         * Adds an FtpAuthentication object to the holder.
         * @param auth The FtpAuthentication object to add.
         */
        public void add(final FtpAuthentication auth) {
            if (auth != null) {
                authenticationList.add(auth);
            }
        }
    
        /**
         * Retrieves an FtpAuthentication object that matches the given path.
         * @param path The path to match.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                Map<String, Object> params = new HashMap<String, Object>();
                FtpAuthentication auth = new FtpAuthentication();
                auth.setUsername(username);
                auth.setPassword(password);
                params.put(FtpClient.FTP_AUTHENTICATIONS_PROPERTY, new FtpAuthentication[] { auth });
                ftpClient.setInitParameterMap(params);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java

    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class FtpAuthenticationTest extends PlainTestCase {
    
        public void test_matches() throws Exception {
            FtpAuthentication auth = new FtpAuthentication();
            auth.setServer("hostname");
            auth.setPort(21);
            auth.setUsername("testuser");
            auth.setPassword("testpass");
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java

                    smb1Auth.setPassword(fileAuth.getPassword());
                    smb1AuthList.add(smb1Auth);
                } else if (Constants.FTP.equals(fileAuth.getProtocolScheme())) {
                    final FtpAuthentication ftpAuth = new FtpAuthentication();
                    ftpAuth.setServer(fileAuth.getHostname());
                    ftpAuth.setPort(fileAuth.getPort() == null ? -1 : fileAuth.getPort());
                    ftpAuth.setUsername(fileAuth.getUsername());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Apr 03 09:24:53 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

            final FtpAuthentication[] ftpAuthentications =
                    getInitParameter(FTP_AUTHENTICATIONS_PROPERTY, new FtpAuthentication[0], FtpAuthentication[].class);
            if (ftpAuthentications != null) {
                for (final FtpAuthentication ftpAuthentication : ftpAuthentications) {
                    holder.add(ftpAuthentication);
                }
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

                            logger.warn("username is empty. fileAuth:{}", fileAuthName);
                            continue;
                        }
    
                        final FtpAuthentication ftpAuth = new FtpAuthentication();
                        ftpAuth.setServer(hostname);
                        if (StringUtil.isNotBlank(port)) {
                            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top