Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_SUCCESS), "Should have 1 authentication event");
        }
    
        @Test
        @DisplayName("Test log authentication failure")
        void testLogAuthenticationFailure() {
            logger.logAuthentication(false, "testuser", "DOMAIN", "192.168.1.1");
    
            Map<EventType, Long> stats = logger.getStatistics();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top