- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 355 for Username (0.43 sec)
-
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
if (isTargetUser(username)) { executeCommand(deleteCommand, username, StringUtil.EMPTY); } } @Override public boolean changePassword(final String username, final String password) { if (isTargetUser(username) && StringUtil.isNotBlank(password)) { return executeCommand(updateCommand, username, password) == 0; } return true; }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 14.4K bytes - Viewed (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: return False if not verify_password(password, user.hashed_password):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 5.3K bytes - Viewed (0) -
docs_src/security/tutorial005_an_py39.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: return False if not verify_password(password, user.hashed_password):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 5.3K bytes - Viewed (0) -
docs_src/security/tutorial003_py310.py
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: str | None = None full_name: str | None = None disabled: bool | None = None class UserInDB(User): hashed_password: str def get_user(db, username: str): if username in db: user_dict = db[username] return UserInDB(**user_dict) def fake_decode_token(token):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 2.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java
this.port = port; } /** * Returns the username. * @return The username. */ public String getUsername() { return username; } /** * Sets the username. * @param username The username. */ public void setUsername(final String username) { this.username = username; } /** * Returns the password.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
} /** * Record successful authentication * * @param username the username * @param sourceIp the source IP */ public void recordSuccess(String username, String sourceIp) { if (username != null) { AccountAttempts account = accountAttempts.get(username); if (account != null) { account.reset(); } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/UserService.java
} /** * Retrieves a user by their username. * * @param username the username to search for * @return an OptionalEntity containing the user if found */ public OptionalEntity<User> getUserByName(final String username) { return userBhv.selectEntity(cb -> { cb.query().setName_Equal(username); }); } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 02:07:40 UTC 2025 - 9.2K bytes - Viewed (0) -
docs_src/security/tutorial004_an_py39.py
payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username = payload.get("sub") if username is None: raise credentials_exception token_data = TokenData(username=username) except InvalidTokenError: raise credentials_exception user = get_user(fake_users_db, username=token_data.username) if user is None: raise credentials_exception return user
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/JAASAuthenticator.java
* JAAS configuration name * @param domain the domain for authentication * @param username the username for authentication * @param password the password for authentication */ public JAASAuthenticator(String serviceName, String domain, String username, String password) { super(null, domain, username, password); this.serviceName = serviceName; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.3K bytes - Viewed (1) -
docs_src/security/tutorial005_py39.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: return False if not verify_password(password, user.hashed_password):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 5.3K bytes - Viewed (0)