Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 657 for passWord (0.06 seconds)

  1. src/main/java/jcifs/util/SecureCredentialStorage.java

                throw new IllegalArgumentException("Master password cannot be null or empty");
            }
    
            // Generate salt for key derivation
            this.salt = new byte[SALT_SIZE];
            secureRandom.nextBytes(this.salt);
    
            // Derive master key from password
            this.masterKey = deriveKey(masterPassword, salt);
    
            // Clear the master password after use
            Arrays.fill(masterPassword, '\0');
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/security/simple-oauth2.md

    # 簡易 OAuth2:Password 與 Bearer { #simple-oauth2-with-password-and-bearer }
    
    現在從上一章延伸,補上缺少的部分,完成整個安全流程。
    
    ## 取得 `username` 與 `password` { #get-the-username-and-password }
    
    我們要使用 **FastAPI** 提供的安全性工具來取得 `username` 與 `password`。
    
    OAuth2 規範中,當使用「password flow」(我們現在使用的)時,用戶端/使用者必須以表單資料送出 `username` 與 `password` 欄位。
    
    而且規範要求欄位名稱必須就是這兩個,所以像是 `user-name` 或 `email` 都不行。
    
    但別擔心,你在前端要怎麼呈現給最終使用者都可以。
    
    而你的資料庫模型也可以使用任何你想要的欄位名稱。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

        }
    
        /**
         * Returns the password.
         * @return The password.
         */
        public String getPassword() {
            return password;
        }
    
        /**
         * Sets the password.
         * @param password The password.
         */
        public void setPassword(final String password) {
            this.password = password;
        }
    
        /**
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 09:30:17 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        /**
         * Validates a password against configured password policy requirements.
         *
         * @param password The password to validate.
         * @return An empty string if the password is valid, or an error key for the validation failure.
         */
        public String validatePassword(final String password) {
            if (StringUtil.isBlank(password)) {
                return "errors.blank_password";
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

        }
    
        /**
         * Changes the password for a user across all authentication chains.
         * @param username The username for which to change the password.
         * @param password The new password.
         * @return True if the password was successfully changed in all chains, false otherwise.
         */
        public boolean changePassword(final String username, final String password) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsFileAuthenticationCQ.java

            TermQueryBuilder builder = regTermQ("password", password);
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setPassword_NotEqual(String password) {
            setPassword_NotTerm(password, null);
        }
    
        public void setPassword_NotTerm(String password) {
            setPassword_NotTerm(password, 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)
  7. docs/zh/docs/tutorial/security/simple-oauth2.md

    # OAuth2 实现简单的 Password 和 Bearer 验证 { #simple-oauth2-with-password-and-bearer }
    
    本章添加上一章示例中欠缺的部分,实现完整的安全流。
    
    ## 获取 `username` 和 `password` { #get-the-username-and-password }
    
    首先,使用 **FastAPI** 安全工具获取 `username` 和 `password`。
    
    OAuth2 规范要求使用“密码流”时,客户端或用户必须以表单数据形式发送 `username` 和 `password` 字段。
    
    并且,这两个字段必须命名为 `username` 和 `password`,不能使用 `user-name` 或 `email` 等其它名称。
    
    不过也不用担心,前端仍可以显示终端用户所需的名称。
    
    数据库模型也可以使用所需的名称。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/base/login/LocalUserCredential.java

        /**
         * Creates a new LocalUserCredential with the specified user and password.
         *
         * @param user the username
         * @param password the password
         */
        public LocalUserCredential(final String user, final String password) {
            super(user, password);
        }
    
        @Override
        public String getUserId() {
            return getUser();
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

                if (form.crudMode.intValue() == CrudMode.CREATE || StringUtil.isNotBlank(form.password)) {
                    final String encodedPassword = ComponentUtil.getComponent(FessLoginAssist.class).encryptPassword(form.password);
                    entity.setOriginalPassword(form.password);
                    entity.setPassword(encodedPassword);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:18:24 GMT 2026
    - 21K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/login/PasswordForm.java

    /**
     * Form for password change.
     */
    public class PasswordForm {
    
        /**
         * Default constructor.
         */
        public PasswordForm() {
            // Default constructor
        }
    
        /** The username. */
        public String username;
    
        /** The password. */
        @NotBlank
        public String password;
    
        /** The confirm password. */
        @NotBlank
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.2K bytes
    - Click Count (0)
Back to Top