Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 590 for password2 (0.05 sec)

  1. src/main/java/org/codelibs/fess/app/service/UserService.java

                throw e;
            }
        }
    
        /**
         * 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
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/security/simple-oauth2.md

    # Simples OAuth2 com senha e Bearer { #simple-oauth2-with-password-and-bearer }
    
    Agora vamos construir a partir do capítulo anterior e adicionar as partes que faltam para ter um fluxo de segurança completo.
    
    ## Obtenha o `username` e a `password` { #get-the-username-and-password }
    
    É utilizado o utils de segurança da **FastAPI** para obter o `username` e a `password`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 10.3K bytes
    - Viewed (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")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. docs_src/security/tutorial003_an_py39.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")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_security/test_tutorial004.py

    def get_mod(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.security.{request.param}")
    
        return mod
    
    
    def get_access_token(*, username="johndoe", password="secret", client: TestClient):
        data = {"username": username, "password": password}
        response = client.post("/token", data=data)
        content = response.json()
        access_token = content.get("access_token")
        return access_token
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/audit/SecurityAuditLogger.java

                if (!lowerData.contains("password") && !lowerData.contains("secret") && !lowerData.contains("token")
                        && !lowerData.contains("key") && !lowerData.contains("credential") && !lowerData.contains("auth")) {
                    return data; // No sensitive patterns detected, skip regex
                }
            }
    
            // Mask passwords and secrets using cached pattern
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. docs_src/security/tutorial004_an_py39.py

        return password_hash.verify(plain_password, hashed_password)
    
    
    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:
            return False
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. 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;
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/security/simple-oauth2.md

    Теперь, отталкиваясь от предыдущей главы, добавим недостающие части, чтобы получить полный поток безопасности.
    
    ## Получение `username` и `password` { #get-the-username-and-password }
    
    Для получения `username` и `password` мы будем использовать утилиты безопасности **FastAPI**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  10. 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) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top