Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 6,922 for basic_ (1.91 sec)

  1. tests/test_security_http_basic_optional.py

            "/users/me", headers={"Authorization": "Basic notabase64token"}
        )
        assert response.status_code == 401, response.text
        assert response.headers["WWW-Authenticate"] == "Basic"
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_security_http_basic_non_basic_credentials():
        payload = b64encode(b"johnsecret").decode("ascii")
        auth_header = f"Basic {payload}"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/FunctionsTest.java

        Function<String, @Nullable Integer> function = Functions.forMap(map, null);
    
        assertEquals((Integer) 1, function.apply("One"));
        assertThat(function.apply("Two")).isNull();
    
        // check basic sanity of equals and hashCode
        new EqualsTester()
            .addEqualityGroup(function)
            .addEqualityGroup(Functions.forMap(map, 1))
            .testEquals();
      }
    
      @J2ktIncompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 16K bytes
    - Viewed (0)
  3. internal/jwt/parser_test.go

    	keyfunc     func(*MapClaims) ([]byte, error)
    	claims      jwt.Claims
    	valid       bool
    	errors      int32
    }{
    	{
    		"basic",
    		"",
    		defaultKeyFunc,
    		&MapClaims{
    			MapClaims: jwt.MapClaims{
    				"foo": "bar",
    			},
    		},
    		true,
    		0,
    	},
    	{
    		"basic expired",
    		"", // autogen
    		defaultKeyFunc,
    		&MapClaims{
    			MapClaims: jwt.MapClaims{
    				"foo": "bar",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

        @Nonnull
        public static ModelSource resolvedSource(@Nonnull Path path, @Nullable String modelId) {
            return new ResolvedPathSource(requireNonNull(path, "path"), path.toString(), modelId);
        }
    
        /**
         * Basic implementation of {@link Source} that uses a {@link Path} as the underlying source.
         */
        static class PathSource implements Source {
            @Nonnull
            protected final Path path;
    
            @Nonnull
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsFileAuthentication.java

            sourceMap.put(field, value);
        }
    
        // ===================================================================================
        //                                                                      Basic Override
        //                                                                      ==============
        @Override
        protected String doBuildColumnString(String dm) {
            StringBuilder sb = new StringBuilder();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsWebAuthentication.java

            sourceMap.put(field, value);
        }
    
        // ===================================================================================
        //                                                                      Basic Override
        //                                                                      ==============
        @Override
        protected String doBuildColumnString(String dm) {
            StringBuilder sb = new StringBuilder();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java

            return new AuthenticationImpl(getAuthScope(), getCredentials(), getAuthScheme());
        }
    
        private AuthScheme getAuthScheme() {
            final String scheme = getProtocolScheme();
            if (Constants.BASIC.equals(scheme)) {
                return new BasicScheme();
            }
            if (Constants.DIGEST.equals(scheme)) {
                return new DigestScheme();
            }
            if (Constants.NTLM.equals(scheme)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 04:23:08 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_security/test_tutorial007.py

        assert response.headers["WWW-Authenticate"] == "Basic"
    
    
    def test_security_http_basic_invalid_credentials(client: TestClient):
        response = client.get(
            "/users/me", headers={"Authorization": "Basic notabase64token"}
        )
        assert response.status_code == 401, response.text
        assert response.headers["WWW-Authenticate"] == "Basic"
        assert response.json() == {"detail": "Not authenticated"}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

    /**
     * Test class for Transformer interface.
     * Tests the contract and behavior of Transformer implementations.
     */
    public class TransformerTest extends PlainTestCase {
    
        /**
         * Basic test implementation of Transformer
         */
        public static class TestTransformer implements Transformer {
            private String name;
            private final AtomicInteger transformCallCount = new AtomicInteger(0);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

                return entity;
            });
        }
    
        /**
         * Registers available protocol scheme items for web authentication forms.
         * Includes Basic, Digest, NTLM, and Form authentication schemes.
         *
         * @param data the render data to register the protocol scheme items with
         */
        protected void registerProtocolSchemeItems(final RenderData data) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 19.7K bytes
    - Viewed (0)
Back to top