- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 161 for realm (0.02 seconds)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/WebAuthenticationConfig.java
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Fri Jan 09 23:46:52 GMT 2026 - 6.9K bytes - Click Count (0) -
tests/test_security_http_basic_realm_description.py
assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"' def test_security_http_basic_invalid_credentials(): response = client.get( "/users/me", headers={"Authorization": "Basic notabase64token"} ) assert response.status_code == 401, response.text assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"' assert response.json() == {"detail": "Not authenticated"}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.9K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java
+ extension.getVersion(); final ClassRealm realm = classWorld.newRealm(realmId, null); Set<String> providedArtifacts = Collections.emptySet(); String classLoadingStrategy = extension.getClassLoadingStrategy(); if (STRATEGY_PARENT_FIRST.equals(classLoadingStrategy)) { realm.importFrom(parentRealm, ""); } else if (STRATEGY_PLUGIN.equals(classLoadingStrategy)) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 13.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java
+ extension.getVersion(); final ClassRealm realm = classWorld.newRealm(realmId, null); Set<String> providedArtifacts = Collections.emptySet(); String classLoadingStrategy = extension.getClassLoadingStrategy(); if (STRATEGY_PARENT_FIRST.equals(classLoadingStrategy)) { realm.importFrom(parentRealm, ""); } else if (STRATEGY_PLUGIN.equals(classLoadingStrategy)) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 13.9K bytes - Click Count (0) -
tests/test_security_http_basic_realm.py
assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"' def test_security_http_basic_invalid_credentials(): response = client.get( "/users/me", headers={"Authorization": "Basic notabase64token"} ) assert response.status_code == 401, response.text assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"' assert response.json() == {"detail": "Not authenticated"}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java
logger.warn("Failed to parse port: {}", port, e); } } final String realm = paramMap.get(prefix + "realm"); if (StringUtil.isNotBlank(realm)) { config.setRealm(realm); } // AuthSchemeType if (Constants.BASIC.equals(scheme)) { config.setAuthSchemeType(AuthSchemeType.BASIC);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:38:30 GMT 2026 - 17.7K bytes - Click Count (0) -
fastapi/security/http.py
self.scheme_name = scheme_name or self.__class__.__name__ self.realm = realm self.auto_error = auto_error def make_authenticate_headers(self) -> dict[str, str]: if self.realm: return {"WWW-Authenticate": f'Basic realm="{self.realm}"'} return {"WWW-Authenticate": "Basic"} async def __call__( # type: ignoreCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 16 10:16:48 GMT 2026 - 13.1K bytes - Click Count (0) -
docs/en/docs/advanced/security/http-basic-auth.md
If it doesn't receive it, it returns an HTTP 401 "Unauthorized" error. And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter. That tells the browser to show the integrated prompt for a username and password. Then, when you type that username and password, the browser sends them in the header automatically.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5K bytes - Click Count (0) -
docs/zh/docs/advanced/security/http-basic-auth.md
# HTTP 基础授权 { #http-basic-auth } 最简单的用例是使用 HTTP 基础授权(HTTP Basic Auth)。 在 HTTP 基础授权中,应用需要请求头包含用户名与密码。 如果没有接收到 HTTP 基础授权,就返回 HTTP 401 `"Unauthorized"` 错误。 并返回响应头 `WWW-Authenticate`,其值为 `Basic`,以及可选的 `realm` 参数。 HTTP 基础授权让浏览器显示内置的用户名与密码提示。 输入用户名与密码后,浏览器会把它们自动发送至请求头。 ## 简单的 HTTP 基础授权 { #simple-http-basic-auth } * 导入 `HTTPBasic` 与 `HTTPBasicCredentials` * 使用 `HTTPBasic` 创建**安全方案** * 在*路径操作*的依赖项中使用 `security`Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 4.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
"WWW-Authenticate", "Basic realm=\"protected area\", charset=\"UTF-8\"", ), body = "Please authenticate with UTF-8.", ), ) server.enqueue( MockResponse( code = 401, headers = headersOf( "WWW-Authenticate", "Basic realm=\"protected area\"", ),Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0)