Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 193 for userId (0.03 sec)

  1. tests/scopes_test.go

    	}
    }
    
    func TestScopes(t *testing.T) {
    	users := []*User{
    		GetUser("ScopeUser1", Config{}),
    		GetUser("ScopeUser2", Config{}),
    		GetUser("ScopeUser3", Config{}),
    	}
    
    	DB.Create(&users)
    
    	var users1, users2, users3 []User
    	DB.Scopes(NameIn1And2).Find(&users1)
    	if len(users1) != 2 {
    		t.Errorf("Should found two users's name in 1, 2, but got %v", len(users1))
    	}
    
    	DB.Scopes(NameIn1And2, NameIn2And3).Find(&users2)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/UserService.java

         * Handles user authentication setup and database persistence.
         * If the surname is blank, it will be set to the user's name.
         *
         * @param user the user entity to store
         */
        public void store(final User user) {
            if (StringUtil.isBlank(user.getSurname())) {
                user.setSurname(user.getName());
            }
    
            ComponentUtil.getAuthenticationManager().insert(user);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/user/cbean/ca/bs/BsUserCA.java

     */
    package org.codelibs.fess.opensearch.user.cbean.ca.bs;
    
    import org.codelibs.fess.opensearch.user.allcommon.EsAbstractConditionAggregation;
    import org.codelibs.fess.opensearch.user.allcommon.EsAbstractConditionQuery;
    import org.codelibs.fess.opensearch.user.cbean.ca.UserCA;
    import org.codelibs.fess.opensearch.user.cbean.cq.UserCQ;
    import org.codelibs.fess.opensearch.user.cbean.cq.bs.BsUserCQ;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 212.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            // Make attempts from same IP with different users
            for (int i = 1; i <= 5; i++) {
                assertTrue(rateLimiter.checkAttempt("user" + i, ip), "Attempt " + i + " should be allowed");
                rateLimiter.recordFailure("user" + i, ip);
            }
    
            // 6th attempt from same IP should be blocked
            assertFalse(rateLimiter.checkAttempt("user6", ip), "Should block after IP rate limit");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/extra-models.md

    ///
    
    ### About `**user_in.dict()` { #about-user-in-dict }
    
    #### Pydantic's `.dict()` { #pydantics-dict }
    
    `user_in` is a Pydantic model of class `UserIn`.
    
    Pydantic models have a `.dict()` method that returns a `dict` with the model's data.
    
    So, if we create a Pydantic object `user_in` like:
    
    ```Python
    user_in = UserIn(username="john", password="secret", 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)
  6. docs/en/docs/tutorial/response-model.md

    Now, whenever a browser is creating a user with a password, the API will return the same password in the response.
    
    In this case, it might not be a problem, because it's the same user sending the password.
    
    But if we use the same model for another *path operation*, we could be sending our user's passwords to every client.
    
    /// danger
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. src/main/resources/fess_indices/fess_user.user/user.bulk

    {"index":{"_index":"fess_user.user","_id":"YWRtaW4="}}
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jan 12 13:23:26 UTC 2023
    - 166 bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java

    import org.codelibs.fess.Constants;
    import org.codelibs.fess.entity.FessUser;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.opensearch.user.bsentity.BsUser;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class User extends BsUser implements FessUser {
    
        private static final long serialVersionUID = 1L;
    
        private String originalPassword;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users.go

    			return
    		}
    		for user := range users {
    			checkedUserList = append(checkedUserList, user)
    		}
    		checkedUserList = append(checkedUserList, globalActiveCred.AccessKey)
    	} else {
    		for _, user := range users {
    			// Validate the user
    			_, ok := globalIAMSys.GetUser(ctx, user)
    			if !ok {
    				continue
    			}
    			checkedUserList = append(checkedUserList, user)
    		}
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
  10. clause/joins_test.go

    			sql: "INNER JOIN `user` ON `user_info`.`user_id` = `users`.`id`",
    		},
    		{
    			name: "CROSS JOIN",
    			join: clause.Join{
    				Type:  clause.CrossJoin,
    				Table: clause.Table{Name: "user"},
    				ON: clause.Where{
    					Exprs: []clause.Expression{clause.Eq{clause.Column{Table: "user_info", Name: "user_id"}, clause.PrimaryColumn}},
    				},
    			},
    			sql: "CROSS JOIN `user` ON `user_info`.`user_id` = `users`.`id`",
    		},
    		{
    			name: "USING",
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Nov 03 13:03:13 UTC 2022
    - 2.6K bytes
    - Viewed (0)
Back to top