Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for setServer (0.09 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationHolderTest.java

            hogeAuth.setServer("hoge");
            smbAuthenticationHolder.add(hogeAuth);
            final SmbAuthentication fugaAuth = new SmbAuthentication();
            fugaAuth.setServer("fuga");
            smbAuthenticationHolder.add(fugaAuth);
            final SmbAuthentication fooAuth = new SmbAuthentication();
            fooAuth.setServer("foo");
            fooAuth.setPort(1000);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationTest.java

            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            assertEquals("smb1://hoge/", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            smbAuthentication.setPort(1000);
            assertEquals("smb1://hoge:1000/", smbAuthentication.getPathPrefix());
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolderTest.java

            hogeAuth.setServer("hoge");
            smbAuthenticationHolder.add(hogeAuth);
            final SmbAuthentication fugaAuth = new SmbAuthentication();
            fugaAuth.setServer("fuga");
            smbAuthenticationHolder.add(fugaAuth);
            final SmbAuthentication fooAuth = new SmbAuthentication();
            fooAuth.setServer("foo");
            fooAuth.setPort(1000);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationTest.java

            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            assertEquals("smb://hoge/", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            smbAuthentication.setPort(1000);
            assertEquals("smb://hoge:1000/", smbAuthentication.getPathPrefix());
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/FileConfig.java

                    final String domain = map.get("domain");
                    smbAuth.setDomain(domain == null ? StringUtil.EMPTY : domain);
                    smbAuth.setServer(fileAuth.getHostname());
                    smbAuth.setPort(fileAuth.getPort() == null ? -1 : fileAuth.getPort());
                    smbAuth.setUsername(fileAuth.getUsername());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthentication.java

                    buf.append(port);
                }
                buf.append('/');
            }
            return buf.toString();
        }
    
        public String getServer() {
            return server;
        }
    
        public void setServer(final String server) {
            this.server = server;
        }
    
        public int getPort() {
            return port;
        }
    
        public void setPort(final int port) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

        public NtlmPasswordAuthentication getAuthentication() {
            return new NtlmPasswordAuthentication(domain == null ? "" : domain, username, password);
        }
    
        public String getServer() {
            return server;
        }
    
        public void setServer(final String server) {
            this.server = server;
        }
    
        public int getPort() {
            return port;
        }
    
        public void setPort(final int port) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java

    /**
     * @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");
    
            assertTrue(auth.matches("ftp://hostname:21/test/aaa.html"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

        private String server;
    
        private int port;
    
        private String username;
    
        private String password;
    
        public String getServer() {
            return server;
        }
    
        public void setServer(final String server) {
            this.server = server;
        }
    
        public int getPort() {
            return port;
        }
    
        public void setPort(final int port) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

                        }
    
                        final SmbAuthentication smbAuth = new SmbAuthentication();
                        smbAuth.setDomain(domain == null ? StringUtil.EMPTY : domain);
                        smbAuth.setServer(hostname);
                        if (StringUtil.isNotBlank(port)) {
                            try {
                                smbAuth.setPort(Integer.parseInt(port));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top