Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for testPassword (0.09 sec)

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

            char[] testPassword = "CharArrayPass789!".toCharArray();
            NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("testuser", testPassword);
    
            // Verify password is stored correctly
            assertArrayEquals(testPassword, auth.getPasswordAsCharArray());
            assertEquals(new String(testPassword), auth.getPassword());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

        void testGetPasswordAsCharArray() {
            String testPassword = "securePassword456";
            authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", testPassword);
    
            char[] password = authenticator.getPasswordAsCharArray();
            assertNotNull(password, "Password char array should not be null");
            assertArrayEquals(testPassword.toCharArray(), password, "Password should match");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            constantTimeMethod.setAccessible(true);
    
            // Test the method directly
            char[] password1 = "testpassword".toCharArray();
            char[] password2 = "testpassword".toCharArray();
            char[] password3 = "testpassworX".toCharArray();
    
            Boolean result1 = (Boolean) constantTimeMethod.invoke(null, password1, password2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

        @DisplayName("Should create Type 3 message with authentication data")
        void testType3MessageCreation() throws Exception {
            // Given
            Type2Message type2 = createMockType2Message();
            String password = "testpassword";
            String domain = "TESTDOMAIN";
            String username = "testuser";
            String workstation = "TESTWS";
            int flags = NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

    class NtlmContextTest {
    
        @Mock
        private NtlmPasswordAuthentication mockAuth;
    
        private final String domain = "TEST_DOMAIN";
        private final String username = "testUser";
        private final String password = "testPassword";
        private final String workstation = "TEST_WORKSTATION";
    
        @BeforeEach
        void setUp() {
            // MockitoExtension handles mock initialization
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top