Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for logAuthentication (0.83 sec)

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

        }
    
        @Test
        @DisplayName("Test statistics accumulation")
        void testStatisticsAccumulation() {
            logger.logAuthentication(true, "user1", "DOMAIN", "192.168.1.1");
            logger.logAuthentication(false, "user2", "DOMAIN", "192.168.1.2");
            logger.logFileAccess("WRITE", "/file.txt", true, "user1");
    
            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)
  2. src/main/java/jcifs/audit/SecurityAuditLogger.java

         * @param username the username (will be masked if configured)
         * @param authMethod authentication method used (domain or method)
         * @param remoteAddress remote address
         */
        public void logAuthentication(boolean success, String username, String authMethod, String remoteAddress) {
            EventType type = success ? EventType.AUTHENTICATION_SUCCESS : EventType.AUTHENTICATION_FAILURE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            if (this.sessionId == null) {
                this.sessionId = String.format("smb-%s-%s-%d", this.username, host, System.currentTimeMillis());
            }
    
            // Log authentication attempt
            auditLogger.logAuthentication(false, this.username, this.domain, host);
    
            if (tc.getConfig().isUseRawNTLM()) {
                return setupTargetName(tc, host, new NtlmContext(tc, this, doSigning));
            }
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
Back to top