Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testFixedCredentials (0.08 sec)

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

            assertFalse(this.context.hasDefaultCredentials());
            assertNotNull(this.context.getCredentials());
        }
    
    
        @Test
        @SuppressWarnings ( "deprecation" )
        public void testFixedCredentials () {
            Credentials guestCreds = this.context.withGuestCrendentials().getCredentials();
            assertThat(guestCreds, CoreMatchers.is(CoreMatchers.instanceOf(NtlmPasswordAuthenticator.class)));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top