Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for user_age (0.11 sec)

  1. cmd/bucket-policy.go

    	currTime := UTCNow()
    
    	var (
    		username = cred.AccessKey
    		claims   = cred.Claims
    		groups   = cred.Groups
    	)
    
    	if cred.IsTemp() || cred.IsServiceAccount() {
    		// For derived credentials, check the parent user's permissions.
    		username = cred.ParentUser
    	}
    
    	principalType := "Anonymous"
    	if username != "" {
    		principalType = "User"
    		if len(claims) > 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/extra-models.md

    ```
    
    would result in something equivalent to:
    
    ```Python
    UserInDB(
        username="john",
        password="secret",
        email="******@****.***",
        full_name=None,
    )
    ```
    
    Or more exactly, using `user_dict` directly, with whatever contents it might have in the future:
    
    ```Python
    UserInDB(
        username = user_dict["username"],
        password = user_dict["password"],
        email = user_dict["email"],
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/InputValidatorTest.java

        }
    
        @ParameterizedTest
        @DisplayName("Test valid usernames")
        @ValueSource(strings = { "user", "user123", "user.name", "user-name", "user_name", "******@****.***" })
        void testValidUsernames(String username) {
            assertDoesNotThrow(() -> InputValidator.validateUsername(username));
        }
    
        @ParameterizedTest
        @DisplayName("Test invalid usernames")
        @ValueSource(strings = { "user name", // space
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. 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)
  5. docs/en/docs/tutorial/security/simple-oauth2.md

    ## Get the `username` and `password` { #get-the-username-and-password }
    
    We are going to use **FastAPI** security utilities to get the `username` and `password`.
    
    OAuth2 specifies that when using the "password flow" (that we are using) the client/user must send a `username` and `password` fields as form data.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/smb/AuthenticationProvider.java

                this.domain = domain;
                this.authType = authType;
                this.timestamp = System.currentTimeMillis();
                this.clientAddress = clientAddress;
                this.serverAddress = serverAddress;
            }
    
            public String getUsername() {
                return username;
            }
    
            public String getDomain() {
                return domain;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            assertNotNull(exception);
            assertEquals("User is not found: " + username, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withUnicodeCharacters() {
            // Test with username containing Unicode characters
            String username = "ユーザー名";
            FessUserNotFoundException exception = new FessUserNotFoundException(username);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. 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)
Back to top