Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for setJsonLoggingEnabled (0.63 seconds)

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

            }
        }
    
        @Test
        @DisplayName("Test JSON logging toggle")
        void testJsonLoggingToggle() {
            logger.setJsonLoggingEnabled(true);
            logger.logAuthentication(true, "user", "DOMAIN", "192.168.1.1");
    
            logger.setJsonLoggingEnabled(false);
            logger.logAuthentication(true, "user2", "DOMAIN", "192.168.1.2");
    
            // Verify that both events were logged
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.6K bytes
    - Click Count (0)
Back to Top