Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 640 for PassworD (0.06 seconds)

  1. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                auth1.close();
                auth2.close();
            }
        }
    
        /**
         * Test concurrent password comparisons to ensure thread safety and consistent timing.
         */
        @Test
        public void testConcurrentTimingConsistency() throws Exception {
            final char[] password = "concurrenttestpassword".toCharArray();
            final char[] wrongPassword = "concurrenttestpassworX".toCharArray(); // Different at end
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  2. dbflute_fess/dfprop/replaceSchemaMap.dfprop

        #   o user: (Required)
        #   o password: password plainly or path to password file (with default password)
        #       e.g. foo or df:dfprop/system-password.txt|foo
        #       (NotRequired - Default '')
        #   o isSkipIfNotFoundPasswordFileAndDefault: Does it skip the user SQL statement
        #       when using password file but not found it and also default password?
        #       (NotRequired - Default false)
        #
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 31 23:35:14 GMT 2015
    - 9.3K bytes
    - Click Count (0)
  3. docs_src/security/tutorial004_py310.py

    
    def get_password_hash(password):
        return password_hash.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    def authenticate_user(fake_db, username: str, password: str):
        user = get_user(fake_db, username)
        if not user:
            verify_password(password, DUMMY_HASH)
            return False
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/service/UserService.java

                user.clearOriginalPassword();
            }
        }
    
        /**
         * Changes the password for a user identified by username.
         * Updates both the authentication manager and the database with the new encrypted password.
         *
         * @param username the username of the user
         * @param password the new password in plain text
         * @throws FessUserNotFoundException if the user is not found
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:22:27 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  5. docs_src/security/tutorial005_py310.py

    
    def get_password_hash(password):
        return password_hash.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    def authenticate_user(fake_db, username: str, password: str):
        user = get_user(fake_db, username)
        if not user:
            verify_password(password, DUMMY_HASH)
            return False
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/security/first-steps.md

    그리고 동일한 애플리케이션을 디버그하고, 확인하고, 테스트하기 위해 본인이 사용할 수도 있습니다.
    
    ## `password` 플로우 { #the-password-flow }
    
    이제 조금 돌아가서 이것들이 무엇인지 이해해 봅시다.
    
    `password` "flow"는 보안과 인증을 처리하기 위해 OAuth2에서 정의한 여러 방식("flows") 중 하나입니다.
    
    OAuth2는 backend 또는 API가 사용자를 인증하는 서버와 독립적일 수 있도록 설계되었습니다.
    
    하지만 이 경우에는 같은 **FastAPI** 애플리케이션이 API와 인증을 모두 처리합니다.
    
    따라서, 단순화된 관점에서 다시 정리해보면:
    
    * 사용자가 frontend에서 `username`과 `password`를 입력하고 `Enter`를 누릅니다.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/security/simple-oauth2.md

    # パスワードとBearerによるシンプルなOAuth2 { #simple-oauth2-with-password-and-bearer }
    
    前章から発展させて、完全なセキュリティフローに必要な不足部分を追加していきます。
    
    ## `username` と `password` を取得する { #get-the-username-and-password }
    
    `username` と `password` を取得するために **FastAPI** のセキュリティユーティリティを使います。
    
    OAuth2 では、「password flow」(ここで使用するフロー)を使う場合、クライアント/ユーザーはフォームデータとして `username` と `password` フィールドを送信する必要があります。
    
    しかも、フィールド名はこの通りでなければなりません。つまり、`user-name` や `email` では動作しません。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  8. 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)
  9. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsFileAuthentication.java

            this.parameters = value;
        }
    
        public String getPassword() {
            checkSpecifiedProperty("password");
            return convertEmptyToNull(password);
        }
    
        public void setPassword(String value) {
            registerModifiedProperty("password");
            this.password = value;
        }
    
        public Integer getPort() {
            checkSpecifiedProperty("port");
            return port;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  10. docs_src/security/tutorial003_an_py310.py

        if not user_dict:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
        user = UserInDB(**user_dict)
        hashed_password = fake_hash_password(form_data.password)
        if not hashed_password == user.hashed_password:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
    
        return {"access_token": user.username, "token_type": "bearer"}
    
    
    @app.get("/users/me")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top