Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for setPort (0.05 sec)

  1. src/main/java/org/codelibs/fess/es/config/exentity/FileConfig.java

                    smbAuth.setDomain(domain == null ? StringUtil.EMPTY : domain);
                    smbAuth.setServer(fileAuth.getHostname());
                    smbAuth.setPort(fileAuth.getPort() == null ? -1 : fileAuth.getPort());
                    smbAuth.setUsername(fileAuth.getUsername());
                    smbAuth.setPassword(fileAuth.getPassword());
                    smbAuthList.add(smbAuth);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationTest.java

            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            smbAuthentication.setPort(1000);
            assertEquals("smb://hoge:1000/", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setPort(1000);
            assertEquals("smb://", 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/SmbAuthenticationTest.java

            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            smbAuthentication.setPort(1000);
            assertEquals("smb1://hoge:1000/", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setPort(1000);
            assertEquals("smb1://", 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)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthentication.java

        }
    
        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) {
            this.port = port;
        }
    
        public String getUsername() {
            return username;
        }
    
        public void setUsername(final String username) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

        }
    
        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) {
            this.port = port;
        }
    
        public String getUsername() {
            return username;
        }
    
        public void setUsername(final String username) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationHolderTest.java

            fugaAuth.setServer("fuga");
            smbAuthenticationHolder.add(fugaAuth);
            final SmbAuthentication fooAuth = new SmbAuthentication();
            fooAuth.setServer("foo");
            fooAuth.setPort(1000);
            smbAuthenticationHolder.add(fooAuth);
    
            assertEquals(hogeAuth, smbAuthenticationHolder.get("smb://hoge/"));
            assertEquals(fugaAuth, smbAuthenticationHolder.get("smb://fuga/"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java

        }
    
        /**
         * Get the proxy port.
         *
         * @return proxy server port
         */
        public int getPort() {
            return port;
        }
    
        /**
         * Set the proxy port.
         *
         * @param port proxy server port
         */
        public void setPort(int port) {
            this.port = port;
        }
    
        /**
         * Get the proxy username.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java

     */
    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"));
            assertTrue(auth.matches("ftp://hostname/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

        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) {
            this.port = port;
        }
    
        public String getUsername() {
            return username;
        }
    
        public void setUsername(final String username) {
    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. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolderTest.java

            fugaAuth.setServer("fuga");
            smbAuthenticationHolder.add(fugaAuth);
            final SmbAuthentication fooAuth = new SmbAuthentication();
            fooAuth.setServer("foo");
            fooAuth.setPort(1000);
            smbAuthenticationHolder.add(fooAuth);
    
            assertEquals(hogeAuth, smbAuthenticationHolder.get("smb1://hoge/"));
            assertEquals(fugaAuth, smbAuthenticationHolder.get("smb1://fuga/"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top