Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 558 for Password (0.1 sec)

  1. docs/en/docs/tutorial/extra-models.md

    * The **input model** needs to be able to have a password.
    * The **output model** should not have a password.
    * The **database model** would probably need to have a hashed password.
    
    /// danger
    
    Never store user's plaintext passwords. Always store a "secure hash" that you can then verify.
    
    If you don't know, you will learn what a "password hash" is in the [security chapters](security/simple-oauth2.md#password-hashing){.internal-link target=_blank}.
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java

            params.put(ExtractData.RESOURCE_NAME_KEY, resourceName);
            assertEquals("PASSWORD", pdfExtractor.getPassword(params));
        }
    
        public void test_getPassword_json() {
            String url;
            Map<String, String> params = new HashMap<>();
            params.put(ExtractData.FILE_PASSWORDS, "{\".*hoge1.pdf\":\"password\",\"fuga.pdf\":\"PASSWORD\"}");
    
            url = null;
            params.put(ExtractData.URL, url);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_request_form_models/test_tutorial001_an_py39.py

                        "properties": {
                            "username": {"type": "string", "title": "Username"},
                            "password": {"type": "string", "title": "Password"},
                        },
                        "type": "object",
                        "required": ["username", "password"],
                        "title": "FormData",
                    },
                    "ValidationError": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 05 15:16:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_security/test_tutorial003_an.py

    
    def test_login_incorrect_username():
        response = client.post("/token", data={"username": "foo", "password": "secret"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Incorrect username or password"}
    
    
    def test_no_token():
        response = client.get("/users/me")
        assert response.status_code == 401, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

        }
    
        public void setUsername(final String username) {
            this.username = username;
        }
    
        public String getPassword() {
            return password;
        }
    
        public void setPassword(final String password) {
            this.password = password;
        }
    
        public String getDomain() {
            return domain;
        }
    
        public void setDomain(final String domain) {
            this.domain = domain;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java

            this.host = host;
        }
    
        /**
         * Get user's password used to log in to proxy server.
         *
         * @return user's password at proxy host
         */
        public String getPassword() {
            return password;
        }
    
        /**
         * Set the user's password for the proxy server.
         *
         * @param password password to use to log in to a proxy server
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/Type3Message.java

         * @param targetName
         *            SPN of the target system, optional
         * @param passwordHash
         *            The NT password hash, takes precedence over password (which is no longer required unless legacy LM
         *            authentication is needed)
         * @param password
         *            The password to use when constructing the response.
         * @param domain
         *            The domain in which the user has an account.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         * domain, username, and password. Parameters that are <tt>null</tt>
         * will be substituted with <tt>jcifs.smb.client.domain</tt>,
         * <tt>jcifs.smb.client.username</tt>, <tt>jcifs.smb.client.password</tt>
         * property values.
         * 
         * @param tc
         *            context to use
         * @param domain
         * @param username
         * @param password
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_security/test_tutorial005.py

        app,
        create_access_token,
        fake_users_db,
        get_password_hash,
        verify_password,
    )
    
    client = TestClient(app)
    
    
    def get_access_token(username="johndoe", password="secret", scope=None):
        data = {"username": username, "password": password}
        if scope:
            data["scope"] = scope
        response = client.post("/token", data=data)
        content = response.json()
        access_token = content.get("access_token")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 2.4K bytes
    - Viewed (0)
Back to top