Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for authReq (0.05 seconds)

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

        public void testAutoCloseableImpl() {
            String testPassword = "AutoCloseablePass123!";
            NtlmPasswordAuthenticator authRef;
    
            // Use try-with-resources
            try (NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("user", testPassword)) {
                authRef = auth;
                assertEquals(testPassword, auth.getPassword());
                assertFalse(auth.isClosed());
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
Back to Top