Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for assertTrue (0.14 sec)

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

            props.put("jcifs.smb.client.password", "my-default-password");
    
            CIFSContext auth = new BaseContext(new PropertyConfiguration(props));
            assertTrue(auth.hasDefaultCredentials());
            assertTrue( auth.getCredentials() instanceof NtlmPasswordAuthenticator);
    
            NtlmPasswordAuthenticator pa = (NtlmPasswordAuthenticator) auth.getCredentials();
    
    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