Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for DOMAIN (0.27 sec)

  1. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

        @Test
        @DisplayName("Test constructor with domain and server types")
        void testConstructor() {
            String domain = "WORKGROUP";
            int serverTypes = NetServerEnum2.SV_TYPE_ALL;
    
            netServerEnum2 = new NetServerEnum2(realConfig, domain, serverTypes);
    
            assertNotNull(netServerEnum2);
            assertEquals(domain, getFieldValue(netServerEnum2, "domain"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Dfs.java

                return false;
            }
            domain = domain.toLowerCase();
            return domains.get(domain) != null;
        }
    
        /**
         * Gets a domain controller transport for the specified domain
         * @param domain the domain name
         * @param auth the authentication credentials
         * @return an SMB transport to the domain controller
         * @throws SmbAuthException if authentication fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                    if (ci > 0) {
                        domain = username.substring(0, ci);
                        username = username.substring(ci + 1);
                    }
                }
            }
    
            this.domain = domain;
            this.username = username;
            this.password = password;
    
            initDefaults();
    
            if (domain == null) {
                this.domain = DEFAULT_DOMAIN;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

        }
    
        /**
         * Returns the domain in which the user has an account.
         *
         * @return A <code>String</code> containing the domain for the user.
         */
        public String getDomain() {
            return domain;
        }
    
        /**
         * Sets the domain for this message.
         *
         * @param domain The domain.
         */
        public void setDomain(final String domain) {
            this.domain = domain;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type3Message.java

        }
    
        /**
         * Returns the domain in which the user has an account.
         *
         * @return A <code>String</code> containing the domain for the user.
         */
        public String getDomain() {
            return this.domain;
        }
    
        /**
         * Sets the domain for this message.
         *
         * @param domain
         *            The domain.
         */
        public void setDomain(final String domain) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmUtil.java

         * Generates the NTOWFv2 hash for the given domain, username, and password.
         *
         * @param domain the authentication domain
         * @param username the username
         * @param password the password
         *
         * @return the calculated mac
         */
        public static byte[] nTOWFv2(final String domain, final String username, final String password) {
            return nTOWFv2(domain, username, getNTHash(password));
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

        /**
         * Create username/password credentials with specified domain
         *
         * @param domain the domain for authentication
         * @param username the username for authentication
         * @param password the password for authentication
         */
        public NtlmPasswordAuthenticator(String domain, String username, String password) {
            this(domain, username, password, (AuthenticationType) null);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/RequestWithPathTest.java

            doNothing().when(requestWithPath).setFullUNCPath(domain, server, fullPath);
            requestWithPath.setFullUNCPath(domain, server, fullPath);
    
            verify(requestWithPath, times(1)).setFullUNCPath(domain, server, fullPath);
    
            // Test with implementation
            testImplementation.setFullUNCPath(domain, server, fullPath);
            assertEquals(domain, testImplementation.getDomain());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/InputValidator.java

            }
        }
    
        /**
         * Validates domain name
         *
         * @param domain the domain to validate
         * @throws IllegalArgumentException if domain is invalid
         */
        public static void validateDomain(String domain) {
            if (domain == null) {
                return; // Null domain allowed
            }
            if (domain.length() > MAX_DOMAIN_LENGTH) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            NtlmPasswordAuthenticator startAuth = new NtlmPasswordAuthenticator("domain", "user", new String(diffAtStart));
            NtlmPasswordAuthenticator middleAuth = new NtlmPasswordAuthenticator("domain", "user", new String(diffAtMiddle));
            NtlmPasswordAuthenticator endAuth = new NtlmPasswordAuthenticator("domain", "user", new String(diffAtEnd));
    
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top