Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 639 for password2 (0.07 seconds)

  1. 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)
  2. docs_src/security/tutorial005_an_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.4K bytes
    - Click Count (0)
  3. docs_src/security/tutorial003_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.4K bytes
    - Click Count (0)
  4. 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)
  5. docs/tr/docs/tutorial/security/first-steps.md

    Üçüncü taraf uygulamalar ve sistemler tarafından kullanılabilir.
    
    Ve aynı uygulamayı debug etmek, kontrol etmek ve test etmek için sizin tarafınızdan da kullanılabilir.
    
    ## `password` Flow { #the-password-flow }
    
    Şimdi biraz geri dönüp bunların ne olduğuna bakalım.
    
    `password` "flow"u, OAuth2’de güvenlik ve authentication’ı yönetmek için tanımlanmış yöntemlerden ("flow"lardan) biridir.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

            // Credentials
            final CredentialsConfig credentials = new CredentialsConfig();
            credentials.setUsername(username);
            final String password = paramMap.get(prefix + "password");
            credentials.setPassword(password == null ? StringUtil.EMPTY : password);
            if (Constants.NTLM.equals(scheme)) {
                credentials.setType(CredentialsType.NTLM);
                credentials.setDomain(paramMap.get(prefix + "domain"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

            }
        }
    
        @Override
        public boolean changePassword(final String username, final String password) {
            if (isTargetUser(username) && StringUtil.isNotBlank(password)) {
                return executeCommand(updateCommand, username, password) == 0;
            }
            return true;
        }
    
        @Override
        public User load(final User user) {
            return user;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  8. 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)
  9. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsWebAuthentication.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
    - 9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/login/LoginForm.java

        }
    
        /** The username. */
        @NotBlank
        public String username;
    
        /** The password. */
        @NotBlank
        public String password;
    
        /** The confirm password. */
        public String confirmPassword;
    
        /**
         * Clears the security info.
         */
        public void clearSecurityInfo() {
            password = null;
            confirmPassword = null;
        }
    
    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