Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 457 for mypass (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_invalid_path_param.py

            @app.get("/items/{id}")
            def read_items(id: list[Item]):
                pass  # pragma: no cover
    
    
    def test_invalid_tuple():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/{id}")
            def read_items(id: tuple[Item, Item]):
                pass  # pragma: no cover
    
    
    def test_invalid_dict():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

         */
        @Test
        public void testAuthTypeGuessing() {
            // Test guest detection
            NtlmPasswordAuthenticator guestAuth = new NtlmPasswordAuthenticator("guest", "anypass");
            assertTrue(guestAuth.isGuest());
            assertFalse(guestAuth.isAnonymous());
    
            // Test anonymous detection
            NtlmPasswordAuthenticator anonAuth = new NtlmPasswordAuthenticator("", new char[0]);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  3. tests/test_invalid_sequence_param.py

        ):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/")
            def read_items(q: list[Item] = Query(default=None)):
                pass  # pragma: no cover
    
    
    def test_invalid_tuple():
        with pytest.raises(
            AssertionError,
            match="Query parameter 'q' must be one of the supported types",
        ):
            app = FastAPI()
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

     * authentication context without requiring users to explicitly enter credentials.
     *
     * The authenticator supports various configuration options including delegation,
     * basic authentication fallback, and localhost authentication bypass.
     */
    public class SpnegoAuthenticator implements SsoAuthenticator {
    
        /** Logger for this class. */
        private static final Logger logger = LogManager.getLogger(SpnegoAuthenticator.class);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:18:23 GMT 2026
    - 18.2K bytes
    - Click Count (3)
  5. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

        void testHandleSetsNameAndPasswordHappyPath() throws Exception {
            JAASAuthenticator auth = new JAASAuthenticator("DOM", "user", "pass");
            NameCallback nc = new NameCallback("user:");
            PasswordCallback pc = new PasswordCallback("pass:", false);
    
            // Exercise callback handler with both callbacks supplied
            Callback[] cbs = new Callback[] { nc, pc };
            auth.handle(cbs);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  6. cmd/xl-storage_unix_test.go

    	if err = disk.MakeVol(t.Context(), testCase.volName); err != nil {
    		t.Fatalf("Creating a volume failed with %s expected to pass.", err)
    	}
    
    	// Stat to get permissions bits.
    	st, err := os.Stat(path.Join(tmpPath, testCase.volName))
    	if err != nil {
    		t.Fatalf("Stat failed with %s expected to pass.", err)
    	}
    
    	// Get umask of the bits stored.
    	currentUmask := 0o777 - uint32(st.Mode().Perm())
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. tests/test_response_model_sub_types.py

    @app.get("/valid1", responses={"500": {"model": int}})
    def valid1():
        pass
    
    
    @app.get("/valid2", responses={"500": {"model": list[int]}})
    def valid2():
        pass
    
    
    @app.get("/valid3", responses={"500": {"model": Model}})
    def valid3():
        pass
    
    
    @app.get("/valid4", responses={"500": {"model": list[Model]}})
    def valid4():
        pass
    
    
    client = TestClient(app)
    
    
    def test_path_operations():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  8. tests/test_query_cookie_header_model_extra_params.py

        return data
    
    
    def test_query_pass_extra_list():
        client = TestClient(app)
        resp = client.get(
            "/query",
            params={
                "param": "123",
                "param2": ["456", "789"],  # Pass a list of values as extra parameter
            },
        )
        assert resp.status_code == 200
        assert resp.json() == {
            "param": "123",
            "param2": ["456", "789"],
        }
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/path-operation-configuration.md

    There are several parameters that you can pass to your *path operation decorator* to configure it.
    
    /// warning
    
    Notice that these parameters are passed directly to the *path operation decorator*, not to your *path operation function*.
    
    ///
    
    ## Response Status Code { #response-status-code }
    
    You can define the (HTTP) `status_code` to be used in the response of your *path operation*.
    
    You can pass directly the `int` code, like `404`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  10. README.md

    ```java
    // Use with SLF4J (add slf4j-api dependency)
    Logger logger = Logger.getLogger(MyClass.class);
    
    // Use with Commons Logging (add commons-logging dependency)  
    Logger logger = Logger.getLogger(MyClass.class);
    
    // Use with Java Util Logging (built-in)
    Logger logger = Logger.getLogger(MyClass.class.getName());
    ```
    
    ### Bean Copy Configuration
    ```java
    // Configure bean copying behavior
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
Back to Top