- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 608 for authenticator (0.11 seconds)
-
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
mockTransport.snd_buf_size = 16644; mockTransport.maxMpxCount = 50; // Configure mock session mockSession.transport = mockTransport; // Configure authentication - set fields directly since NtlmPasswordAuthentication is final mockAuth.username = "testuser"; mockAuth.domain = "TESTDOMAIN"; mockAuth.password = "testpass";Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
docs_src/security/tutorial004_an_py310.py
credentials_exception = HTTPException( status_code=status.HTTP_401_UNAUTHORIZED, detail="Could not validate credentials", headers={"WWW-Authenticate": "Bearer"}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username = payload.get("sub") if username is None: raise credentials_exception
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 4.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/FessUser.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.entity; import java.io.Serializable; /** * Interface representing a Fess user with authentication and authorization information. * Provides access to user name, roles, groups, and permissions. */ public interface FessUser extends Serializable { /** * Gets the user's display name.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java
SmbFileOutputStream out = null; boolean isStart = true; /** * Creates a DCERPC pipe handle with the specified URL and authentication * @param url the DCERPC URL specifying the endpoint * @param auth the NTLM authentication credentials * @throws UnknownHostException if the host cannot be resolved * @throws MalformedURLException if the URL is malformedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
assertThrows(SmbUnsupportedOperationException.class, () -> auth.createContext(tc, null, "server.example.com", init, false)); assertTrue(ex.getMessage().contains("Server does not support kerberos authentication")); // No fallback attempted; config should not be queried in this path verify(tc, never()).getConfig(); verifyNoInteractions(config); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/av/AvFlags.java
*/ package jcifs.ntlmssp.av; import jcifs.internal.util.SMBUtil; /** * NTLMSSP AV (Attribute-Value) pair representing flags information. * Contains flag values used in NTLM authentication attribute-value pairs. * * @author mbechler */ public class AvFlags extends AvPair { /** * Constructs an AV flags pair from raw bytes * @param raw the raw flag bytes */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/security/http-basic-auth.md
# HTTP 基本認證 { #http-basic-auth } 在最簡單的情況下,你可以使用 HTTP Basic 認證。 在 HTTP Basic 認證中,應用程式會期待一個包含使用者名稱與密碼的標頭。 如果沒有接收到,會回傳 HTTP 401「Unauthorized」錯誤。 並回傳一個 `WWW-Authenticate` 標頭,其值為 `Basic`,以及可選的 `realm` 參數。 這會告訴瀏覽器顯示內建的使用者名稱與密碼提示視窗。 接著,當你輸入該使用者名稱與密碼時,瀏覽器會自動在標頭中送出它們。 ## 簡單的 HTTP 基本認證 { #simple-http-basic-auth } - 匯入 `HTTPBasic` 與 `HTTPBasicCredentials`。 - 使用 `HTTPBasic` 建立一個「`security` scheme」。 - 在你的*路徑操作*中以依賴的方式使用該 `security`。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
} @Test @DisplayName("Should handle authentication failure during logon") void testLogonAuthenticationFailure() throws CIFSException { // Given doThrow(new CIFSException("Authentication failed")).when(transportPool).logon(context, address); // When & ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
docs/en/docs/reference/dependencies.md
You can import it directly from `fastapi`: ```python from fastapi import Depends ``` ::: fastapi.Depends ## `Security()` For many scenarios, you can handle security (authorization, authentication, etc.) with dependencies, using `Depends()`. But when you want to also declare OAuth2 scopes, you can use `Security()` instead of `Depends()`. You can import `Security()` directly from `fastapi`: ```python
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 671 bytes - Click Count (0) -
docs/en/docs/features.md
* URL. * Email. * UUID. * ...and others. All the validation is handled by the well-established and robust **Pydantic**. ### Security and authentication { #security-and-authentication } Security and authentication integrated. Without any compromise with databases or data models. All the security schemes defined in OpenAPI, including: * HTTP Basic.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.9K bytes - Click Count (0)