Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 547 for PassworD (0.07 sec)

  1. docs/em/docs/advanced/security/http-basic-auth.md

    ๐Ÿต ๐Ÿ‘ˆ, ๐Ÿ‘ฅ ๐Ÿฅ‡ ๐Ÿ—œ `username` & `password` `bytes` ๐Ÿ”ข ๐Ÿ‘ซ โฎ๏ธ ๐Ÿ” -8๏ธโƒฃ.
    
    โคด๏ธ ๐Ÿ‘ฅ ๐Ÿ’ช โš™๏ธ `secrets.compare_digest()` ๐Ÿšš ๐Ÿ‘ˆ `credentials.username` `"stanleyjobson"`, & ๐Ÿ‘ˆ `credentials.password` `"swordfish"`.
    
    ```Python hl_lines="1  11-21"
    {!../../docs_src/security/tutorial007.py!}
    ```
    
    ๐Ÿ‘‰ ๐Ÿ”œ ๐ŸŽ:
    
    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
        # Return some error
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. internal/event/target/kafka_scram_client_contrib.go

    // factory receiver.  This constructor will normalize the username, password
    // and authzID via the SASLprep algorithm, as recommended by RFC-5802.  If
    // SASLprep fails, the method returns an error.
    func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (err error) {
    	x.Client, err = x.HashGeneratorFcn.NewClient(userName, password, authzID)
    	if err != nil {
    		return err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Nov 09 04:04:01 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. tests/test_response_model_data_filter.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class UserBase(BaseModel):
        email: str
    
    
    class UserCreate(UserBase):
        password: str
    
    
    class UserDB(UserBase):
        hashed_password: str
    
    
    class PetDB(BaseModel):
        name: str
        owner: UserDB
    
    
    class PetOut(BaseModel):
        name: str
        owner: UserBase
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtStatus.java

            "The specified user does not exist.", "The specified network password is not correct.", "Logon failure: unknown user name or bad password.",
            "Logon failure: user account restriction.", "Logon failure: account logon time restriction violation.",
            "Logon failure: user not allowed to log on to this computer.", "Logon failure: the specified account password has expired.",
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 10:09:29 UTC 2019
    - 11.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

    import jcifs.smb1.smb1.SmbAuthException;
    import jcifs.smb1.smb1.SmbSession;
    import jcifs.smb1.util.Base64;
    import jcifs.smb1.util.LogStream;
    
    /**
     * This servlet Filter can be used to negotiate password hashes with
     * MSIE clients using NTLM SSP. This is similar to <tt>Authentication:
     * BASIC</tt> but weakly encrypted and without requiring the user to re-supply
     * authentication credentials.
     * <p>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  6. internal/event/target/elasticsearch.go

    			return errors.New("format value unrecognized")
    		}
    	}
    	if a.Index == "" {
    		return errors.New("empty index value")
    	}
    
    	if (a.Username == "" && a.Password != "") || (a.Username != "" && a.Password == "") {
    		return errors.New("username and password should be set in pairs")
    	}
    
    	return nil
    }
    
    // ElasticsearchTarget - Elasticsearch target.
    type ElasticsearchTarget struct {
    	initOnce once.Init
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmHttpFilter.java

    import jcifs.smb.SmbAuthException;
    import jcifs.smb.SmbException;
    import jcifs.smb.SmbSessionInternal;
    import jcifs.smb.SmbTransportInternal;
    
    
    /**
     * This servlet Filter can be used to negotiate password hashes with
     * MSIE clients using NTLM SSP. This is similar to <tt>Authentication:
     * BASIC</tt> but weakly encrypted and without requiring the user to re-supply
     * authentication credentials.
     * <p>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  8. tests/test_response_model_data_filter_no_inheritance.py

    from typing import List
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class UserCreate(BaseModel):
        email: str
        password: str
    
    
    class UserDB(BaseModel):
        email: str
        hashed_password: str
    
    
    class User(BaseModel):
        email: str
    
    
    class PetDB(BaseModel):
        name: str
        owner: UserDB
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CurlHelper.java

            final String username = fessConfig.getFesenUsername();
            final String password = fessConfig.getFesenPassword();
            if (StringUtil.isNotBlank(username) && StringUtil.isNotBlank(password)) {
                final String value = username + ":" + password;
                final String basicAuth = "Basic " + java.util.Base64.getEncoder().encodeToString(value.getBytes(StandardCharsets.UTF_8));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/login/PasswordForm.java

    import jakarta.validation.constraints.NotBlank;
    
    public class PasswordForm {
    
        public String username;
    
        @NotBlank
        public String password;
    
        @NotBlank
        public String confirmPassword;
    
        public void clearSecurityInfo() {
            password = null;
            confirmPassword = null;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 967 bytes
    - Viewed (0)
Back to top