Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for withGuestCrendentials (0.24 sec)

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

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