Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 579 for user$name (0.09 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. 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)
  3. docs/pt/docs/advanced/security/http-basic-auth.md

        * Isto contém o `username` e o `password` enviado.
    
    {* ../../docs_src/security/tutorial006_an_py310.py hl[4,8,12] *}
    
    Quando você tentar abrir a URL pela primeira vez (ou clicar no botão "Executar" na documentação) o navegador vai pedir pelo seu usuário e senha:
    
    <img src="/img/tutorial/security/image12.png">
    
    ## Verifique o usuário { #check-the-username }
    
    Aqui está um exemplo mais completo.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  4. docs_src/dependencies/tutorial008d_py310.py

            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: str = Depends(get_username)):
        if item_id == "portal-gun":
            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
            )
        if item_id != "plumbus":
            raise HTTPException(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 694 bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final String username = systemHelper.getUsername();
            final long currentTime = systemHelper.getCurrentTimeAsLong();
            return getEntity(form, username, currentTime).map(entity -> {
                entity.setUpdatedBy(username);
                entity.setUpdatedTime(currentTime);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  9. docs_src/dependencies/tutorial008d_an_py310.py

            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
            )
        if item_id != "plumbus":
            raise HTTPException(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 734 bytes
    - Click Count (0)
  10. docs_src/dependencies/tutorial012_an_py310.py

    
    @app.get("/items/")
    async def read_items():
        return [{"item": "Portal Gun"}, {"item": "Plumbus"}]
    
    
    @app.get("/users/")
    async def read_users():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 746 bytes
    - Click Count (0)
Back to Top