Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getUserDomain (0.2 sec)

  1. src/test/java/jcifs/tests/ContextConfigTest.java

            NtlmPasswordAuthenticator setCredsNtlm = setCreds.unwrap(NtlmPasswordAuthenticator.class);
            assertEquals("TEST", setCredsNtlm.getUserDomain());
            assertEquals("test-user", setCredsNtlm.getUsername());
            assertEquals("test-pw", setCredsNtlm.getPassword());
            assertThat("anonymous", setCredsNtlm.isAnonymous(), CoreMatchers.is(false));
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DfsImpl.java

    
        private Map<String, Map<String, CacheEntry<DfsReferralDataInternal>>> getTrustedDomains ( CIFSContext tf ) throws SmbAuthException {
            if ( tf.getConfig().isDfsDisabled() || tf.getCredentials().getUserDomain() == null || tf.getCredentials().getUserDomain().isEmpty() ) {
                return null;
            }
    
            if ( this._domains != null && System.currentTimeMillis() > this._domains.expiration ) {
                this._domains = null;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/SessionTest.java

                assertNotNull(ntcreds.getUsername());
                assertEquals(user, ntcreds.getUsername());
                assertNotNull(ntcreds.getUserDomain());
                if ( dom != null ) {
                    assertEquals(dom, ntcreds.getUserDomain());
                }
                assertNotNull(ntcreds.getPassword());
                assertEquals(pass, ntcreds.getPassword());
    
                f.exists();
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
Back to top