Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 36 for getDomain (0.21 seconds)

  1. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            // When
            Type3Message parsed = new Type3Message(messageBytes);
    
            // Then
            // Note: getType() method does not exist, so we cannot compare message types
            assertEquals(original.getDomain(), parsed.getDomain());
            assertEquals(original.getUser(), parsed.getUser());
            assertEquals(original.getWorkstation(), parsed.getWorkstation());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/RequestWithPathTest.java

        }
    
        @Test
        @DisplayName("Test getDomain returns correct domain")
        void testGetDomain() {
            // Test with mock
            String expectedDomain = "WORKGROUP";
            when(requestWithPath.getDomain()).thenReturn(expectedDomain);
    
            assertEquals(expectedDomain, requestWithPath.getDomain());
            verify(requestWithPath, times(1)).getDomain();
    
            // Test with implementation
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  3. 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)
  4. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.DfsReferralData#getDomain()
         */
        @Override
        public String getDomain() {
            return this.domain;
        }
    
        /**
         * Set the domain for this referral
         *
         * @param domain
         *            the domain to set
         */
        public void setDomain(final String domain) {
            this.domain = domain;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                // Test with mock
                when(mockReferralData.getDomain()).thenReturn(domain);
                assertEquals(domain, mockReferralData.getDomain());
                verify(mockReferralData, times(1)).getDomain();
    
                // Test with concrete implementation
                String concreteDomain = concreteImplementation.getDomain();
                // Should be DOMAIN based on our initialization
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  10. 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)
Back to Top