Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 573 for user_me (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

                assertEquals("user" + i, chains.get(i).lastLoadedUser.getName());
            }
        }
    
        // Helper method to create test user
        private User createTestUser(String username) {
            User user = new User();
            user.setName(username);
            return user;
        }
    
        // Test implementation of AuthenticationChain
        private static class TestAuthenticationChain implements AuthenticationChain {
            int id;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  2. docs/de/docs/tutorial/path-params.md

    Und Sie haben auch einen Pfad `/users/{user_id}`, um Daten über einen spezifischen Benutzer zu erhalten, mittels einer Benutzer-ID.
    
    Weil *Pfadoperationen* in ihrer Reihenfolge ausgewertet werden, müssen Sie sicherstellen, dass der Pfad `/users/me` vor `/users/{user_id}` deklariert wurde:
    
    {* ../../docs_src/path_params/tutorial003_py310.py hl[6,11] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 10K bytes
    - Click Count (0)
  3. compat/maven-settings/src/main/java/org/apache/maven/settings/RuntimeInfo.java

     *
     */
    @Deprecated
    public class RuntimeInfo {
        @SuppressWarnings("checkstyle:constantname")
        public static final String userHome = System.getProperty("user.home");
    
        @SuppressWarnings("checkstyle:constantname")
        public static final File userMavenConfigurationHome = new File(userHome, ".m2");
    
        public static final File DEFAULT_USER_SETTINGS_FILE = new File(userMavenConfigurationHome, "settings.xml");
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

    @ExtendWith(MockitoExtension.class)
    class NtlmContextTest {
    
        @Mock
        private NtlmPasswordAuthentication mockAuth;
    
        private final String domain = "TEST_DOMAIN";
        private final String username = "testUser";
        private final String password = "testPassword";
        private final String workstation = "TEST_WORKSTATION";
    
        @BeforeEach
        void setUp() {
            // MockitoExtension handles mock initialization
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

        public static class AdditionState {
            List<Path> poms;
    
            @Setup(Level.Iteration)
            public void setUp() throws IOException {
                Path userHome = Paths.get(System.getProperty("user.home"));
                poms = Files.walk(userHome.resolve(".m2/repository/org/apache/maven"))
                        .filter(p -> p.getFileName().toString().endsWith(".pom"))
                        .collect(Collectors.toList());
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/security/oauth2-scopes.md

    ## 驗證 `username` 與資料結構 { #verify-the-username-and-data-shape }
    
    我們先確認取得了 `username`,並取出 scopes。
    
    接著用 Pydantic 模型驗證這些資料(捕捉 `ValidationError` 例外),若在讀取 JWT token 或用 Pydantic 驗證資料時出錯,就丟出先前建立的 `HTTPException`。
    
    為此,我們更新了 Pydantic 模型 `TokenData`,加入新屬性 `scopes`。
    
    透過 Pydantic 驗證資料,我們可以確保,例如,scopes 正好是 `list` 的 `str`,而 `username` 是 `str`。
    
    否則若是 `dict` 或其他型別,可能在後續某處使應用壞掉,造成安全風險。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  7. src/main/resources/app.xml

    					<property name="updateCommand">[
    					"/usr/sbin/htpasswd",
    					"-b",
    					"/tmp/test.txt",
    					"$USERNAME",
    					"$PASSWORD"
    					]</property>
    					<property name="deleteCommand">[
    					"/usr/sbin/htpasswd",
    					"-D",
    					"/tmp/test.txt",
    					"$USERNAME"
    					]</property>
    					<property name="targetUsers">[
    					"admin"
    					]</property>
    				</component>
    			</arg>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt

      var base: String? = null
      var scheme = ""
      var username = ""
      var password: String? = null
      var host = ""
      var port = ""
      var path = ""
      var query = ""
      var fragment = ""
    
      fun expectParseFailure() = scheme.isEmpty()
    
      private operator fun set(
        name: String,
        value: String,
      ) {
        when (name) {
          "s" -> scheme = value
          "u" -> username = value
          "pass" -> password = value
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  9. fastapi/.agents/skills/fastapi/references/dependencies.md

            yield "Rick"
        finally:
            print("Cleanup up before response is sent")
    
    UserNameDep = Annotated[str, Depends(get_username, scope="function")]
    
    @app.get("/users/me")
    def get_user_me(username: UserNameDep):
        return username
    ```
    
    ## Class Dependencies
    
    Avoid creating class dependencies when possible.
    
    If a class is needed, instead create a regular function dependency that returns a class instance.
    
    Do this:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/config/PropertyConfigurationTest.java

            parentProps.setProperty("jcifs.smb.client.domain", "parentdomain");
            parentProps.setProperty("jcifs.smb.client.username", "parentuser");
    
            Properties childProps = new Properties(parentProps);
            childProps.setProperty("jcifs.smb.client.username", "childuser");
    
            // When
            PropertyConfiguration testConfig = new PropertyConfiguration(childProps);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
Back to Top