Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 667 for user_name (0.06 seconds)

  1. build-tools-internal/src/main/groovy/elasticsearch.authenticated-testclusters.gradle

     * Side Public License, v 1.
     */
    
    import org.elasticsearch.gradle.testclusters.StandaloneRestIntegTestTask
    
    def clusterCredentials = [
            username: providers.systemProperty('tests.rest.cluster.username')
                    .forUseAtConfigurationTime()
                    .getOrElse('test_admin'),
            password: providers.systemProperty('tests.rest.cluster.password')
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 11:25:54 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        assertThat(parse("http://username:@host/path"))
          .isEqualTo(parse("http://username@host/path"))
      }
    
      @Test
      fun passwordWithEmptyUsername() {
        // Chrome doesn't mind, but Firefox rejects URLs with empty usernames and non-empty passwords.
        assertThat(parse("http://:@host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http://:password@@host/path").encodedPassword)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Aug 04 07:38:48 GMT 2025
    - 69.9K bytes
    - Click Count (0)
  3. tests/test_security_openid_connect_optional.py

    app = FastAPI()
    
    oid = OpenIdConnect(openIdConnectUrl="/openid", auto_error=False)
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str | None = Security(oid)):
        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User | None = Depends(get_current_user)):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsFileAuthenticationCQ.java

            TermQueryBuilder builder = regTermQ("username", username);
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setUsername_NotEqual(String username) {
            setUsername_NotTerm(username, null);
        }
    
        public void setUsername_NotTerm(String username) {
            setUsername_NotTerm(username, null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 88.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

         *
         * @param form the create form
         * @param username the current username
         * @param currentTime the current time
         * @return optional key match entity
         */
        public static OptionalEntity<KeyMatch> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

                @Override
                public boolean isLdapAdminEnabled(String username) {
                    return true;
                }
            });
            LdapManager ldapManager = new LdapManager();
            ldapManager.init();
    
            // Null username should return false
            assertFalse(ldapManager.changePassword(null, "newPassword"));
        }
    
        @Test
    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)
  7. docs/en/docs/tutorial/security/first-steps.md

    So, let's review it from that simplified point of view:
    
    * The user types the `username` and `password` in the frontend, and hits `Enter`.
    * The frontend (running in the user's browser) sends that `username` and `password` to a specific URL in our API (declared with `tokenUrl="token"`).
    * The API checks that `username` and `password`, and responds with a "token" (we haven't implemented any of this yet).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/security/first-steps.md

    Voyons cela selon ce point de vue simplifié :
    
    - L'utilisateur saisit le `username` et le `password` dans le frontend, puis appuie sur Entrée.
    - Le frontend (exécuté dans le navigateur de l'utilisateur) envoie ce `username` et ce `password` vers une URL spécifique de notre API (déclarée avec `tokenUrl="token"`).
    - L'API vérifie ce `username` et ce `password`, et répond avec un « token » (nous n'avons encore rien implémenté de tout cela).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  9. docs/de/docs/advanced/security/http-basic-auth.md

    Um dies zu lösen, konvertieren wir zunächst den `username` und das `password` in UTF-8-codierte `bytes`.
    
    Dann können wir `secrets.compare_digest()` verwenden, um sicherzustellen, dass `credentials.username` `"stanleyjobson"` und `credentials.password` `"swordfish"` ist.
    
    {* ../../docs_src/security/tutorial007_an_py310.py hl[1,12:24] *}
    
    Dies wäre das gleiche wie:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  10. docs/zh/docs/advanced/security/http-basic-auth.md

    为了解决这个问题,我们首先将 `username` 和 `password` 转换为使用 UTF-8 编码的 `bytes` 。
    
    然后我们可以使用 `secrets.compare_digest()` 来确保 `credentials.username` 是 `"stanleyjobson"`,且 `credentials.password` 是`"swordfish"`。
    
    {* ../../docs_src/security/tutorial007_an_py310.py hl[1,12:24] *}
    
    这类似于:
    
    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
    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)
Back to Top