- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for userid (0.03 sec)
-
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertEquals("Abc", StringUtil.capitalize("abc")); assertEquals("Abc", StringUtil.capitalize("Abc")); assertEquals("ABC", StringUtil.capitalize("ABC")); assertEquals("UserId", StringUtil.capitalize("userId")); } /** * @throws Exception */ @Test public void testDecapitalize() throws Exception { assertEquals("abc", StringUtil.decapitalize("abc"));
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 11.4K bytes - Viewed (0) -
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()) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 02:07:40 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
* Note: If the first two characters are uppercase, the string will not be decapitalized. * <p> * Usage example: * </p> * * <pre> * StringUtil.decapitalize("UserId") = "userId" * StringUtil.decapitalize("ABC") = "ABC" * </pre> * * @param name * the string to decapitalize * @return the decapitalized string */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 21.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java
messages.addErrorsInvalidConfirmPassword(GLOBAL); }, validationErrorLambda); } getUserBean().ifPresent(user -> { final String userId = user.getUserId(); fessLoginAssist.findLoginUser(new LocalUserCredential(userId, form.oldPassword)).orElseGet(() -> { throwValidationError(messages -> { messages.addErrorsNoUserForChangingPassword(GLOBAL);
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 07:01:25 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/login/LoginAction.java
getSession().map(session -> (String) session.getAttribute(INVALID_OLD_PASSWORD)).orElse(StringUtil.EMPTY); getUserBean().ifPresent(user -> { final String userId = user.getUserId(); fessLoginAssist.findLoginUser(new LocalUserCredential(userId, oldPassword)).orElseGet(() -> { throwValidationError(messages -> { messages.addErrorsNoUserForChangingPassword(GLOBAL);
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 07:01:25 UTC 2025 - 7.2K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
As in the example above we got `user_dict` from `user_in.model_dump()`, this code: ```Python user_dict = user_in.model_dump() UserInDB(**user_dict) ``` would be equivalent to: ```Python UserInDB(**user_in.model_dump()) ``` ...because `user_in.model_dump()` is a `dict`, and then we make Python "unpack" it by passing it to `UserInDB` prefixed with `**`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 6.9K bytes - Viewed (0) -
docs_src/extra_models/tutorial001_py310.py
def fake_save_user(user_in: UserIn): hashed_password = fake_password_hasher(user_in.password) user_in_db = UserInDB(**user_in.model_dump(), hashed_password=hashed_password) print("User saved! ..not really") return user_in_db @app.post("/user/", response_model=UserOut) async def create_user(user_in: UserIn): user_saved = fake_save_user(user_in)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 905 bytes - Viewed (0) -
docs_src/extra_models/tutorial001_py39.py
def fake_save_user(user_in: UserIn): hashed_password = fake_password_hasher(user_in.password) user_in_db = UserInDB(**user_in.model_dump(), hashed_password=hashed_password) print("User saved! ..not really") return user_in_db @app.post("/user/", response_model=UserOut) async def create_user(user_in: UserIn): user_saved = fake_save_user(user_in)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 949 bytes - Viewed (0) -
docs_src/extra_models/tutorial002_py310.py
full_name: str | None = None class UserIn(UserBase): password: str class UserOut(UserBase): pass class UserInDB(UserBase): hashed_password: str def fake_password_hasher(raw_password: str): return "supersecret" + raw_password def fake_save_user(user_in: UserIn): hashed_password = fake_password_hasher(user_in.password)Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 798 bytes - Viewed (0) -
docs_src/extra_models/tutorial002_py39.py
full_name: Union[str, None] = None class UserIn(UserBase): password: str class UserOut(UserBase): pass class UserInDB(UserBase): hashed_password: str def fake_password_hasher(raw_password: str): return "supersecret" + raw_password def fake_save_user(user_in: UserIn): hashed_password = fake_password_hasher(user_in.password)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 830 bytes - Viewed (0)