- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 86 for userDN (0.07 seconds)
-
src/main/java/org/codelibs/fess/ldap/LdapManager.java
* Adds user attributes to the LDAP entry for user creation. * * @param entry the BasicAttributes to add user attributes to * @param user the user object containing attribute values */ protected void addUserAttributes(final BasicAttributes entry, final User user) { entry.put(new BasicAttribute("cn", user.getName())); entry.put(new BasicAttribute("userPassword", user.getOriginalPassword()));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 08:06:20 GMT 2026 - 85.2K bytes - Click Count (0) -
cmd/sts-handlers_test.go
case len(entities.UserMappings) != 1: c.Fatalf("Expected to find exactly one user mapping") case entities.UserMappings[0].User != testCase.expectedOutDN: c.Fatalf("Expected user DN `%s`, found `%s`", testCase.expectedOutDN, entities.UserMappings[0].User) case len(entities.UserMappings[0].Policies) != 1: c.Fatalf("Expected exactly one policy attached to user") case entities.UserMappings[0].Policies[0] != policy:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 103.4K bytes - Click Count (1) -
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) { final String username = user.getName(); final boolean isUpdate = StringUtil.isNotBlank(user.getId()); if (logger.isDebugEnabled()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:22:27 GMT 2026 - 9.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/chat/ChatClient.java
* @param userMessage the user's message * @param userId the user ID (can be null for anonymous users) * @return the chat response including session info and sources */ public ChatResult chat(final String sessionId, final String userMessage, final String userId) { return chat(sessionId, userMessage, userId, Collections.emptyMap(), new String[0]); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 56.6K bytes - Click Count (0) -
tests/test_security_scopes_sub_dependency.py
"current_user": { "user": "user_1", "scopes": ["me"], "db_session": "db_session_1", }, }, "user_items": { "user_items": "user_items_1", "user_me": { "user_me": "user_me_2", "current_user": { "user": "user_2", "scopes": ["items", "me"],
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2.9K bytes - Click Count (0) -
docs/en/docs/tutorial/extra-models.md
### About `**user_in.model_dump()` { #about-user-in-model-dump } #### Pydantic's `.model_dump()` { #pydantics-model-dump } `user_in` is a Pydantic model of class `UserIn`. Pydantic models have a `.model_dump()` 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="******@****.***") ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.7K bytes - Click Count (0) -
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
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 15.5K bytes - Click Count (0) -
docs/tr/docs/tutorial/response-model.md
`BaseUser` temel field’lara sahiptir. Ardından `UserIn`, `BaseUser`’dan miras alır ve `password` field’ını ekler; yani iki modelin field’larının tamamını içerir. Fonksiyonun dönüş tipini `BaseUser` olarak annotate ediyoruz ama gerçekte bir `UserIn` instance’ı döndürüyoruz.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 17K bytes - Click Count (0) -
docs_src/bigger_applications/app_an_py310/routers/users.py
from fastapi import APIRouter router = APIRouter() @router.get("/users/", tags=["users"]) async def read_users(): return [{"username": "Rick"}, {"username": "Morty"}] @router.get("/users/me", tags=["users"]) async def read_user_me(): return {"username": "fakecurrentuser"} @router.get("/users/{username}", tags=["users"]) async def read_user(username: str):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 407 bytes - Click Count (0) -
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;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:22:27 GMT 2026 - 4.1K bytes - Click Count (0)