- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for event_type (0.84 sec)
-
src/main/java/jcifs/internal/witness/WitnessNotification.java
* * @return the event type */ public WitnessEventType getEventType() { return eventType; } /** * Sets the event type. * * @param eventType the event type */ public void setEventType(WitnessEventType eventType) { this.eventType = eventType; } /** * Gets the resource name. * * @return the resource nameRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
Map<EventType, Long> stats = logger.getStatistics(); assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_SUCCESS), "Should have 1 authentication success event"); assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_FAILURE), "Should have 1 authentication failure event"); assertEquals(Long.valueOf(1), stats.get(EventType.FILE_ACCESS), "Should have 1 file access event");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessNotificationTest.java
@Test void testDifferentEventTypes() { for (WitnessEventType eventType : WitnessEventType.values()) { WitnessNotification testNotification = new WitnessNotification(eventType, "Resource" + eventType.getValue()); assertEquals(eventType, testNotification.getEventType()); assertEquals("Resource" + eventType.getValue(), testNotification.getResourceName()); } } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
* * @param eventType the event type * @param resourceName the resource name */ public void sendNotification(WitnessEventType eventType, String resourceName) { // In a real implementation, this would send notifications to registered clients // For the mock, we just log it log.info("Mock sending notification: {} for resource: {}", eventType, resourceName);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.2K bytes - Viewed (0)