Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for user_age (0.04 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/org/codelibs/fess/it/admin/WebAuthTests.java

        private static final String LIST_ENDPOINT_SUFFIX = "settings";
        private static final String ITEM_ENDPOINT_SUFFIX = "setting";
    
        private static final String KEY_PROPERTY = "username";
    
        @Override
        protected String getNamePrefix() {
            return NAME_PREFIX;
        }
    
        @Override
        protected String getApiPath() {
            return API_PATH;
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. 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)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

            this.port = port;
        }
    
        /**
         * Returns the username.
         * @return The username.
         */
        public String getUsername() {
            return username;
        }
    
        /**
         * Sets the username.
         * @param username The username.
         */
        public void setUsername(final String username) {
            this.username = username;
        }
    
        /**
         * Returns the password.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top