Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for getDomain (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/DfsReferralDataTest.java

        void testGetDomain() {
            // Given
            String domain = "TESTDOMAIN";
            when(mockReferralData.getDomain()).thenReturn(domain);
    
            // When
            String result = mockReferralData.getDomain();
    
            // Then
            assertEquals(domain, result);
            verify(mockReferralData).getDomain();
        }
    
        @Test
        @DisplayName("Should get share")
        void testGetShare() {
            // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/CookieConfig.java

        }
    
        /**
         * Gets the cookie domain.
         *
         * @return the domain
         */
        public String getDomain() {
            return domain;
        }
    
        /**
         * Sets the cookie domain.
         *
         * @param domain the domain
         */
        public void setDomain(final String domain) {
            this.domain = domain;
        }
    
        /**
         * Gets the cookie path.
         *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/RequestWithPath.java

         * Gets the server name.
         *
         * @return the server name
         */
        String getServer();
    
        /**
         * Gets the domain name.
         *
         * @return the domain name
         */
        String getDomain();
    
        /**
         * Gets the full UNC path.
         *
         * @return the full UNC path
         */
        String getFullUNCPath();
    
        /**
         * Sets the path to the resource.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/DfsReferralData.java

         * @return the server this referral points to
         */
        String getServer();
    
        /**
         * Get the domain this referral is for
         *
         * @return the domain this referral is for
         */
        String getDomain();
    
        /**
         * Get the share this referral points to
         *
         * @return the share this referral points to
         */
        String getShare();
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/AuthenticationProvider.java

                this.serverAddress = serverAddress;
            }
    
            public String getUsername() {
                return username;
            }
    
            public String getDomain() {
                return domain;
            }
    
            public AuthType getAuthType() {
                return authType;
            }
    
            public long getTimestamp() {
                return timestamp;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 3.9K bytes
    - Click Count (1)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/CredentialsConfig.java

        }
    
        /**
         * Gets the NTLM domain.
         *
         * @return the domain
         */
        public String getDomain() {
            return domain;
        }
    
        /**
         * Sets the NTLM domain.
         *
         * @param domain the domain
         */
        public void setDomain(final String domain) {
            this.domain = domain;
        }
    
        /**
         * Gets the NTLM workstation.
         *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/http/NtlmSsp.java

                    byte[] ntResponse = type3.getNTResponse();
                    if (ntResponse == null) {
                        ntResponse = new byte[0];
                    }
                    return new NtlmPasswordAuthentication(type3.getDomain(), type3.getUser(), challenge, lmResponse, ntResponse);
                }
            } else {
                resp.setHeader("WWW-Authenticate", "NTLM");
            }
            resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/http/NtlmSsp.java

                    byte[] ntResponse = type3.getNTResponse();
                    if (ntResponse == null) {
                        ntResponse = new byte[0];
                    }
                    return new NtlmPasswordAuthentication(type3.getDomain(), type3.getUser(), challenge, lmResponse, ntResponse);
                }
            } else {
                resp.setHeader("WWW-Authenticate", "NTLM");
            }
            resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

        }
    
        @Test
        void testInitSecContext_state1_type1Message() throws Exception {
            // Test the first step of context initialization (creating Type 1 message)
            when(mockAuth.getDomain()).thenReturn(domain);
            NtlmContext context = new NtlmContext(mockAuth, true);
            byte[] type1Token = context.initSecContext(new byte[0], 0, 0);
    
            assertNotNull(type1Token);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            assertEquals("user", auth.getUsername());
            assertEquals("password", auth.getPassword());
        }
    
        // Test constructor with user info string without password
        @Test
        void testConstructorWithUserInfoNoPassword() {
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("DOMAIN;user");
            assertEquals("DOMAIN", auth.getDomain());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
Back to Top