- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 517 for USERNAME (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
* @param username the username to authenticate with * @param password the password to authenticate with */ public NtlmPasswordAuthentication(String domain, String username, final String password) { int ci; if (username != null) { ci = username.indexOf('@'); if (ci > 0) { domain = username.substring(ci + 1); username = username.substring(0, ci);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 26.7K bytes - Click Count (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
String username = "resetuser"; String ip = "192.168.1.5"; // Two failures assertTrue(rateLimiter.checkAttempt(username, ip)); rateLimiter.recordFailure(username, ip); assertTrue(rateLimiter.checkAttempt(username, ip)); rateLimiter.recordFailure(username, ip); // Success should reset counter assertTrue(rateLimiter.checkAttempt(username, ip));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.8K bytes - Click Count (0) -
tests/test_security_oauth2_optional.py
} }, auto_error=False, ) class User(BaseModel): username: str def get_current_user(oauth_header: str | None = Security(reusable_oauth2)): if oauth_header is None: return None user = User(username=oauth_header) return user @app.post("/login") def login(form_data: OAuth2PasswordRequestFormStrict = Depends()):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.8K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java
} /** * Get the proxy username. * * @return username for the proxy server */ public String getUserName() { return userName; } /** * Set the proxy username. * * @param userName username for the proxy server */ public void setUserName(String userName) { this.userName = userName; } /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4K bytes - Click Count (0) -
docs_src/security/tutorial004_py310.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
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/jcifs/smb/NtlmPasswordAuthenticator.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30.3K bytes - Click Count (0) -
docs_src/security/tutorial005_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.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
} } @Test @DisplayName("Test password stored as char array") void testPasswordStoredAsCharArray() throws Exception { authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", "password123"); // Use reflection to verify password is stored as char[] Field passwordField = NtlmPasswordAuthenticator.class.getDeclaredField("password"); passwordField.setAccessible(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.5K bytes - Click Count (0) -
docs_src/bigger_applications/app_an_py310/routers/users.py
@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) -
tests/test_filter_pydantic_sub_model_pv2.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 6.7K bytes - Click Count (0)