Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 266 for mypassword (0.1 seconds)

  1. src/test/java/org/codelibs/fess/ldap/LdapUtilTest.java

            assertEquals("\\2a\\29\\28uid=\\2a\\29\\29\\28|\\28uid=\\2a", LdapUtil.escapeValue("*)(uid=*))(|(uid=*"));
    
            // Test complex injection: admin)(&(password=*))
            assertEquals("admin\\29\\28&\\28password=\\2a\\29\\29", LdapUtil.escapeValue("admin)(&(password=*))"));
        }
    
        @Test
        public void test_escapeValue_allSpecialCharsInSequence() {
            assertEquals("\\5c\\2a\\28\\29\\00", LdapUtil.escapeValue("\\*()\0"));
    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)
  2. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            assertTrue("Result should contain password={cipher}, but was: " + result, result.contains("password={cipher}"));
    
            // Test with empty encryption target
            value = "password=";
            result = ParameterUtil.encrypt(value);
            assertTrue(result.contains("password={cipher}"));
    
            // Test with only whitespace value
            value = "password=   ";
            result = ParameterUtil.encrypt(value);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

            LdapManager ldapManager = new LdapManager();
            ldapManager.init();
    
            // Complex injection attempt should be fully escaped
            String injectionAttempt = "admin)(|(password=*";
            String expected = "admin\\29\\28|\\28password=\\2a";
            assertEquals(expected, ldapManager.escapeLDAPSearchFilter(injectionAttempt));
        }
    
        @Test
        public void test_escapeLDAPSearchFilter_withAllSpecialCharacters() {
    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)
  4. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

                    return "";
                }
            });
    
            assertEquals("errors.password_no_uppercase", systemHelper.validatePassword("password"));
            assertEquals("", systemHelper.validatePassword("Password"));
            assertEquals("", systemHelper.validatePassword("PASSWORD"));
        }
    
        @Test
        public void test_validatePassword_requireLowercase() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  5. tests/test_security_oauth2.py

                    "msg": "String should match pattern '^password$'",
                    "input": grant_type,
                    "ctx": {"pattern": "^password$"},
                }
            ]
        }
    
    
    def test_strict_login_correct_grant_type():
        response = client.post(
            "/login",
            data={"username": "johndoe", "password": "secret", "grant_type": "password"},
        )
        assert response.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  6. tests/test_security_oauth2_optional_description.py

                    "msg": "String should match pattern '^password$'",
                    "input": grant_type,
                    "ctx": {"pattern": "^password$"},
                }
            ]
        }
    
    
    def test_strict_login_correct_correct_grant_type():
        response = client.post(
            "/login",
            data={"username": "johndoe", "password": "secret", "grant_type": "password"},
        )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  7. 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)
  8. tests/test_security_oauth2_optional.py

                    "msg": "String should match pattern '^password$'",
                    "input": grant_type,
                    "ctx": {"pattern": "^password$"},
                }
            ]
        }
    
    
    def test_strict_login_correct_data():
        response = client.post(
            "/login",
            data={"username": "johndoe", "password": "secret", "grant_type": "password"},
        )
        assert response.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/security/simple-oauth2.md

    # Password ve Bearer ile Basit OAuth2 { #simple-oauth2-with-password-and-bearer }
    
    Şimdi önceki bölümün üzerine inşa edip, eksik parçaları ekleyerek tam bir güvenlik akışı oluşturalım.
    
    ## `username` ve `password`’ü Alma { #get-the-username-and-password }
    
    `username` ve `password`’ü almak için **FastAPI** security yardımcı araçlarını kullanacağız.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  10. fastapi/security/oauth2.py

    class OAuth2PasswordRequestForm:
        """
        This is a dependency class to collect the `username` and `password` as form data
        for an OAuth2 password flow.
    
        The OAuth2 specification dictates that for a password flow the data should be
        collected using form data (instead of JSON) and that it should have the specific
        fields `username` and `password`.
    
        All the initialization parameters are extracted from the request.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 24 16:32:10 GMT 2026
    - 23.6K bytes
    - Click Count (0)
Back to Top