- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 639 for UserName (0.05 seconds)
-
src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java
@Override public boolean isLdapAdminEnabled(String username) { return true; } }); LdapManager ldapManager = new LdapManager(); ldapManager.init(); // Null username should return false assertFalse(ldapManager.changePassword(null, "newPassword")); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/auth/chain/AuthenticationChain.java
void delete(User user); /** * Changes the password for the specified user. * @param username The username for which to change the password. * @param password The new password. * @return True if the password was successfully changed, false otherwise. */ boolean changePassword(String username, String password); /** * Loads user information from the authentication chain.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/chat/ChatAction.java
* otherwise, returns the guest user code. * * @return the user ID */ protected String getUserId() { final String username = systemHelper.getUsername(); if (!Constants.GUEST_USER.equals(username)) { return username; } return userInfoHelper.getUserCode(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Tue Mar 10 14:54:51 GMT 2026 - 4.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
* than relying on the one from the system property. * * - Under Java 8, createTempDir() fails because it falls back to the bogus username from the * system property. */ String save = System.getProperty("user.name"); System.setProperty("user.name", "-this-is-definitely-not-the-username-we-are-running-as//?"); try {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 25 19:16:54 GMT 2025 - 4.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/auth/AuthenticationManager.java
* @param username The username for which to change the password. * @param password The new password. * @return True if the password was successfully changed in all chains, false otherwise. */ public boolean changePassword(final String username, final String password) { return chains().get(stream -> stream.allMatch(c -> c.changePassword(username, password))); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.1K bytes - Click Count (0) -
docs_src/security/tutorial002_py310.py
app = FastAPI() oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: str | None = None full_name: str | None = None disabled: bool | None = None def fake_decode_token(token): return User( username=token + "fakedecoded", email="******@****.***", full_name="John Doe" )
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 711 bytes - Click Count (0) -
docs_src/dependencies/tutorial008e_an_py310.py
def get_username(): try: yield "Rick" finally: print("Cleanup up before response is sent") @app.get("/users/me") def get_user_me(username: Annotated[str, Depends(get_username, scope="function")]):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 329 bytes - Click Count (0) -
docs_src/security/tutorial002_an_py310.py
app = FastAPI() oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: str | None = None full_name: str | None = None disabled: bool | None = None def fake_decode_token(token): return User( username=token + "fakedecoded", email="******@****.***", full_name="John Doe" )
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 761 bytes - Click Count (0) -
docs_src/dependencies/tutorial008e_py310.py
app = FastAPI() def get_username(): try: yield "Rick" finally: print("Cleanup up before response is sent") @app.get("/users/me") def get_user_me(username: str = Depends(get_username, scope="function")):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 289 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/client/CrawlerEngineClient.java
.put("http.heartbeat_interval", fessConfig.getFesenHeartbeatInterval()); final String username = fessConfig.getFesenUsername(); final String password = fessConfig.getFesenPassword(); if (StringUtil.isNotBlank(username) && StringUtil.isNotBlank(password)) { builder.put(Constants.FESEN_USERNAME, username); builder.put(Constants.FESEN_PASSWORD, password); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 2.6K bytes - Click Count (0)