Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NtlmPasswordAuthenticator (0.12 sec)

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

            CIFSContext testCtx = this.context.withCredentials(new NtlmPasswordAuthenticator("TEST", "test-user", "test-pw"));
            Credentials setCreds = testCtx.getCredentials();
            assertThat(setCreds, CoreMatchers.is(CoreMatchers.instanceOf(NtlmPasswordAuthenticator.class)));
            NtlmPasswordAuthenticator setCredsNtlm = setCreds.unwrap(NtlmPasswordAuthenticator.class);
            assertEquals("TEST", setCredsNtlm.getUserDomain());
    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. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                        accessTimeoutTask.cancel();
                    }
                }
            }
        }
    
        protected NtlmPasswordAuthenticator getAuthenticator(final SmbAuthentication smbAuthentication) {
            return new NtlmPasswordAuthenticator(smbAuthentication.getDomain() == null ? "" : smbAuthentication.getDomain(),
                    smbAuthentication.getUsername(), smbAuthentication.getPassword());
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/SessionTest.java

                assertFalse(creds.isAnonymous());
                assertFalse(creds.isGuest());
                assertTrue(creds instanceof NtlmPasswordAuthenticator);
                NtlmPasswordAuthenticator ntcreds = (NtlmPasswordAuthenticator) creds;
    
                assertNotNull(ntcreds.getUsername());
                assertEquals(user, ntcreds.getUsername());
                assertNotNull(ntcreds.getUserDomain());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/context/BaseContext.java

            String defDomain = config.getDefaultDomain();
            if ( defUser != null ) {
                this.defaultCredentials = new NtlmPasswordAuthenticator(defDomain, defUser, defPassword);
            } else {
                this.defaultCredentials = new NtlmPasswordAuthenticator();
            }
        }
    
    
        /**
         * {@inheritDoc}
         * 
         * @throws CIFSException
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 27 18:25:00 UTC 2022
    - 5.3K bytes
    - Viewed (0)
Back to top