- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 270 for authenticated (0.18 sec)
-
docs/zh/docs/advanced/security/http-basic-auth.md
# HTTP 基础授权 最简单的用例是使用 HTTP 基础授权(HTTP Basic Auth)。 在 HTTP 基础授权中,应用需要请求头包含用户名与密码。 如果没有接收到 HTTP 基础授权,就返回 HTTP 401 `"Unauthorized"` 错误。 并返回含 `Basic` 值的请求头 `WWW-Authenticate`以及可选的 `realm` 参数。 HTTP 基础授权让浏览器显示内置的用户名与密码提示。 输入用户名与密码后,浏览器会把它们自动发送至请求头。 ## 简单的 HTTP 基础授权 * 导入 `HTTPBasic` 与 `HTTPBasicCredentials` * 使用 `HTTPBasic` 创建**安全概图** * 在*路径操作*的依赖项中使用 `security` * 返回类型为 `HTTPBasicCredentials` 的对象:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
ntlm = (NtlmPasswordAuthentication) ssn.getAttribute("npa-" + server); } if (ntlm == null) { resp.setHeader("WWW-Authenticate", "NTLM"); if (offerBasic) { resp.addHeader("WWW-Authenticate", "Basic realm=\"" + realm + "\""); } resp.setHeader("Connection", "close");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.6K bytes - Viewed (0) -
docs/ru/docs/how-to/authentication-error-status-code.md
после неудачной аутентификации, они использовали HTTP статус-код `403 Forbidden`. Начиная с версии FastAPI `0.122.0`, используется более подходящий HTTP статус-код `401 Unauthorized`, и в ответе возвращается имеющий смысл HTTP-заголовок `WWW-Authenticate` в соответствии со спецификациями HTTP, <a href="https://datatracker.ietf.org/doc/html/rfc7235#section-3.1" class="external-link" target="_blank">RFC 7235</a>, <a href="https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized" class="external-link"...
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Dec 11 21:25:03 UTC 2025 - 1.8K bytes - Viewed (0) -
docs/sts/tls.md
a client certificate. The following curl example shows how to authenticate to a MinIO server with client certificate and obtain STS access credentials. ```curl curl -X POST --key private.key --cert public.crt "https://minio:9000?Action=AssumeRoleWithCertificate&Version=2011-06-15&DurationSeconds=3600"
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 6K bytes - Viewed (1) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
* * @param dc the domain controller to authenticate against * @param auth the authentication credentials * @throws SmbException if authentication fails or an SMB error occurs */ public static void logon(final UniAddress dc, final NtlmPasswordAuthentication auth) throws SmbException { logon(dc, 0, auth); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
auth.refresh(); Subject afterRefresh = auth.getSubject(); // After refresh, may succeed or fail depending on JAAS configuration // Just verify that refresh doesn't break the authenticator assertNotNull(auth, "Authenticator should remain usable after refresh"); } @Test @DisplayName("handle: sets NameCallback and PasswordCallback on happy path")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransportPool.java
* @return whether any transport was still in use * * @throws CIFSException if an error occurs during authentication * */ boolean close() throws CIFSException; /** * Authenticate arbitrary credentials represented by the * <code>NtlmPasswordAuthentication</code> object against the domain controller * specified by the <code>UniAddress</code> parameter. If the credentials areRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.5K bytes - Viewed (0) -
okhttp-tls/README.md
--------------------- The above scenario is representative of most TLS set ups: the client uses certificates to validate the identity of a server. The converse is also possible. Here we create a server that authenticates a client and a client that authenticates a server. ```java // Create the root for client and server to trust. We could also use different roots for each! HeldCertificate rootCertificate = new HeldCertificate.Builder()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 21:39:59 UTC 2025 - 9.1K bytes - Viewed (0) -
okhttp-urlconnection/README.md
OkHttp URLConnection ==================== This module integrates OkHttp with `Authenticator` and `CookieHandler` from `java.net`. This module is obsolete; prefer `okhttp-java-net-cookiejar`. ### Download ```kotlin testImplementation("com.squareup.okhttp3:okhttp-urlconnection:5.3.0")Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 21:39:59 UTC 2025 - 292 bytes - Viewed (0) -
docs/pt/docs/advanced/security/http-basic-auth.md
No HTTP Basic Auth, a aplicação espera um cabeçalho que contém um usuário e uma senha. Caso ela não receba, ela retorna um erro HTTP 401 "Unauthorized". E retorna um cabeçalho `WWW-Authenticate` com o valor `Basic`, e um parâmetro opcional `realm`. Isso sinaliza ao navegador para mostrar o prompt integrado para um usuário e senha.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 5.3K bytes - Viewed (0)