- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 658 for passwords (0.06 seconds)
-
build-tools-internal/src/main/groovy/elasticsearch.authenticated-testclusters.gradle
.getOrElse('test_admin'), password: providers.systemProperty('tests.rest.cluster.password') .forUseAtConfigurationTime() .getOrElse('x-pack-test-password') ] tasks.withType(StandaloneRestIntegTestTask).configureEach { systemProperty 'tests.rest.cluster.username', clusterCredentials.username systemProperty 'tests.rest.cluster.password', clusterCredentials.password }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 20 11:25:54 GMT 2021 - 1.1K bytes - Click Count (0) -
docs_src/security/tutorial005_an_py310.py
def get_password_hash(password): return password_hash.hash(password) def get_user(db, username: str): if username in db: user_dict = db[username] return UserInDB(**user_dict) def authenticate_user(fake_db, username: str, password: str): user = get_user(fake_db, username) if not user: verify_password(password, DUMMY_HASH) return False
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 5.4K bytes - Click Count (0) -
docs/zh/docs/tutorial/security/simple-oauth2.md
# OAuth2 实现简单的 Password 和 Bearer 验证 { #simple-oauth2-with-password-and-bearer } 本章添加上一章示例中欠缺的部分,实现完整的安全流。 ## 获取 `username` 和 `password` { #get-the-username-and-password } 首先,使用 **FastAPI** 安全工具获取 `username` 和 `password`。 OAuth2 规范要求使用“密码流”时,客户端或用户必须以表单数据形式发送 `username` 和 `password` 字段。 并且,这两个字段必须命名为 `username` 和 `password`,不能使用 `user-name` 或 `email` 等其它名称。 不过也不用担心,前端仍可以显示终端用户所需的名称。 数据库模型也可以使用所需的名称。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 9K bytes - Click Count (0) -
docs_src/security/tutorial003_py310.py
if not user_dict: raise HTTPException(status_code=400, detail="Incorrect username or password") user = UserInDB(**user_dict) hashed_password = fake_hash_password(form_data.password) if not hashed_password == user.hashed_password: raise HTTPException(status_code=400, detail="Incorrect username or password") return {"access_token": user.username, "token_type": "bearer"} @app.get("/users/me")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.4K bytes - Click Count (0) -
docs_src/security/tutorial004_py310.py
def get_password_hash(password): return password_hash.hash(password) def get_user(db, username: str): if username in db: user_dict = db[username] return UserInDB(**user_dict) def authenticate_user(fake_db, username: str, password: str): user = get_user(fake_db, username) if not user: verify_password(password, DUMMY_HASH) return False
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 4.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/login/PasswordForm.java
/** * Form for password change. */ public class PasswordForm { /** * Default constructor. */ public PasswordForm() { // Default constructor } /** The username. */ public String username; /** The password. */ @NotBlank public String password; /** The confirm password. */ @NotBlankCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/login/LocalUserCredential.java
/** * Creates a new LocalUserCredential with the specified user and password. * * @param user the username * @param password the password */ public LocalUserCredential(final String user, final String password) { super(user, password); } @Override public String getUserId() { return getUser(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/login/LoginForm.java
} /** The username. */ @NotBlank public String username; /** The password. */ @NotBlank public String password; /** The confirm password. */ public String confirmPassword; /** * Clears the security info. */ public void clearSecurityInfo() { password = null; confirmPassword = null; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/user/AdminUserActionTest.java
} @Test public void test_createForm_setPassword() { final CreateForm form = new CreateForm(); form.password = "testpassword"; form.confirmPassword = "testpassword"; assertEquals("testpassword", form.password); assertEquals("testpassword", form.confirmPassword); } @Test public void test_createForm_setRolesAndGroups() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 5.3K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/elasticsearch.run.gradle
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 23 07:45:59 GMT 2021 - 1.8K bytes - Click Count (0)