Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for UserName (0.04 sec)

  1. src/main/java/jcifs/util/AuthenticationRateLimiter.java

        }
    
        /**
         * Record successful authentication
         *
         * @param username the username
         * @param sourceIp the source IP
         */
        public void recordSuccess(String username, String sourceIp) {
            if (username != null) {
                AccountAttempts account = accountAttempts.get(username);
                if (account != null) {
                    account.reset();
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                    username = username.substring(0, ci);
                } else {
                    ci = username.indexOf('\\');
                    if (ci > 0) {
                        domain = username.substring(0, ci);
                        username = username.substring(ci + 1);
                    }
                }
            }
    
            this.domain = domain != null ? domain : "";
            this.username = username != null ? username : "";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            String username = "resetuser";
            String ip = "192.168.1.5";
    
            // Two failures
            assertTrue(rateLimiter.checkAttempt(username, ip));
            rateLimiter.recordFailure(username, ip);
    
            assertTrue(rateLimiter.checkAttempt(username, ip));
            rateLimiter.recordFailure(username, ip);
    
            // Success should reset counter
            assertTrue(rateLimiter.checkAttempt(username, ip));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

         * @param username the username to authenticate with
         * @param password the password to authenticate with
         */
        public NtlmPasswordAuthentication(String domain, String username, final String password) {
            int ci;
    
            if (username != null) {
                ci = username.indexOf('@');
                if (ci > 0) {
                    domain = username.substring(ci + 1);
                    username = username.substring(0, ci);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

                        final String username = paramMap.get(CRAWLER_FILE_AUTH + "." + fileAuthName + ".username");
                        final String password = paramMap.get(CRAWLER_FILE_AUTH + "." + fileAuthName + ".password");
    
                        if (StringUtil.isEmpty(username)) {
                            logger.warn("username is empty. fileAuth:{}", fileAuthName);
                            continue;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

         *
         * @param form the form containing duplicate host data
         * @param username the current username
         * @param currentTime the current timestamp
         * @return optional duplicate host entity
         */
        public static OptionalEntity<DuplicateHost> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/audit/SecurityAuditLogger.java

        }
    
        private String maskUsername(String username) {
            if (!maskSensitiveData || username == null) {
                return username;
            }
    
            // Show first and last character only
            if (username.length() <= 2) {
                return "***";
            }
    
            return username.charAt(0) + "***" + username.charAt(username.length() - 1);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

        public void update(final User user) {
            final String username = user.getName();
            final String password = user.getOriginalPassword();
            changePassword(username, password);
        }
    
        @Override
        public void delete(final User user) {
            final String username = user.getName();
            if (isTargetUser(username)) {
                executeCommand(deleteCommand, username, StringUtil.EMPTY);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/InputValidator.java

        }
    
        /**
         * Validates username
         *
         * @param username the username to validate
         * @throws IllegalArgumentException if username is invalid
         */
        public static void validateUsername(String username) {
            if (username == null) {
                return; // Null username allowed for anonymous
            }
            if (username.length() > MAX_USERNAME_LENGTH) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmUtil.java

         * Generates the NTOWFv2 hash for the given domain, username, and password.
         *
         * @param domain the authentication domain
         * @param username the username
         * @param password the password
         *
         * @return the calculated mac
         */
        public static byte[] nTOWFv2(final String domain, final String username, final String password) {
            return nTOWFv2(domain, username, getNTHash(password));
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top