- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 99 for Injection (0.09 seconds)
-
docs/en/docs/tutorial/dependencies/index.md
It is designed to be very simple to use, and to make it very easy for any developer to integrate other components with **FastAPI**. ## What is "Dependency Injection" { #what-is-dependency-injection }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapUtilTest.java
} @Test public void test_escapeValue_mixedSpecialChars() { // Test LDAP injection attempt: admin* assertEquals("admin\\2a", LdapUtil.escapeValue("admin*")); // Test LDAP injection attempt: )(cn=* assertEquals("\\29\\28cn=\\2a", LdapUtil.escapeValue(")(cn=*")); // Test LDAP injection attempt: *)(uid=*))(|(uid=*Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 4.4K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/package-info.java
* <p> * Key features include: * <ul> * <li>Constructor, method, and field injection</li> * <li>Qualifiers for distinguishing between beans of the same type</li> * <li>Multiple scopes (Singleton, Session, and MojoExecution)</li> * <li>Priority-based implementation selection</li> * <li>Type-safe dependency injection</li> * </ul> * * @since 4.0.0 */
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jan 10 05:49:06 GMT 2026 - 1.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
// Normal username assertEquals("cn=admin,dc=example,dc=com", fessConfig.getLdapSecurityPrincipal("admin")); // Asterisk injection attempt assertEquals("cn=admin\\2a,dc=example,dc=com", fessConfig.getLdapSecurityPrincipal("admin*")); // Parentheses injection attempt assertEquals("cn=admin\\29\\28cn=\\2a,dc=example,dc=com", fessConfig.getLdapSecurityPrincipal("admin)(cn=*")); // BackslashCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 25.4K bytes - Click Count (0) -
docs/ja/docs/tutorial/dependencies/index.md
**FastAPI** は非常に強力でありながら直感的な **<dfn title="別名: コンポーネント、リソース、プロバイダ、サービス、インジェクタブル">依存性注入</dfn>** システムを持っています。 それは非常にシンプルに使用できるように設計されており、開発者が他のコンポーネント **FastAPI** と統合するのが非常に簡単になるように設計されています。 ## 「Dependency Injection」とは { #what-is-dependency-injection } **「Dependency Injection」** とは、プログラミングにおいて、コード(この場合は、*path operation 関数*)が動作したり使用したりするために必要なもの(「依存関係」)を宣言する方法があることを意味します: そして、そのシステム(この場合は、**FastAPI**)は、必要な依存関係をコードに提供するために必要なことは何でも行います(依存関係を「注入」します)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 11.9K bytes - Click Count (0) -
docs/en/docs/tutorial/security/get-current-user.md
## Code size { #code-size } This example might seem verbose. Keep in mind that we are mixing security, data models, utility functions and *path operations* in the same file. But here's the key point. The security and dependency injection stuff is written once.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 4K bytes - Click Count (0) -
tests/test_response_dependency.py
"""Test using special types (Response, Request, BackgroundTasks) as dependency annotations. These tests verify that special FastAPI types can be used with Depends() annotations and that the dependency injection system properly handles them. """ from typing import Annotated from fastapi import BackgroundTasks, Depends, FastAPI, Request, Response from fastapi.responses import JSONResponse from fastapi.testclient import TestClient
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 18:23:16 GMT 2026 - 5.2K bytes - Click Count (0) -
docs/en/docs/tutorial/background-tasks.md
* Any keyword arguments that should be passed to the task function (`message="some notification"`). ## Dependency Injection { #dependency-injection } Using `BackgroundTasks` also works with the dependency injection system, you can declare a parameter of type `BackgroundTasks` at multiple levels: in a *path operation function*, in a dependency (dependable), in a sub-dependency, etc.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.7K bytes - Click Count (0) -
CLAUDE.md
## Important Patterns for AI Assistants ### Do's 1. Use `@Resource` for field injection (not constructor injection) 2. Access helpers via `ComponentUtil.getXyzHelper()` 3. Use `OptionalEntity<T>` for nullable entity returns 4. Use DBFlute behavior classes (Bhv) for data access
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 09:48:10 GMT 2026 - 7.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java
allowEmptyPermission.set(false); assertTrue(ldapManager.allowEmptyGroupAndRole(user)); } // ======================================================================== // Tests for LDAP Injection Prevention // ======================================================================== @Test public void test_escapeLDAPSearchFilter_withNull() { LdapManager ldapManager = new LdapManager();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.9K bytes - Click Count (0)