Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testHandleWithNullPasswordDoesNotSet (0.27 seconds)

  1. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            assertNull(pc.getPassword());
        }
    
        @Test
        @DisplayName("handle: null password leaves PasswordCallback unset")
        void testHandleWithNullPasswordDoesNotSet() throws Exception {
            // Spy to override getPasswordAsCharArray() to return null
            JAASAuthenticator spyAuth = spy(new JAASAuthenticator("DOM", "user", null));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top