Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testHandleNameOnly (0.09 sec)

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

            // Password should be set
            assertEquals("pass", new String(pc.getPassword()));
        }
    
        @Test
        @DisplayName("handle: sets only provided callbacks (name-only)")
        void testHandleNameOnly() throws Exception {
            JAASAuthenticator auth = new JAASAuthenticator("DOM", "user", "secret");
            NameCallback nc = new NameCallback("user:");
            auth.handle(new Callback[] { nc });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top