Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 370 for authZ (0.07 seconds)

  1. cmd/metrics-router.go

    	auth := AuthMiddleware
    	if authType == prometheusPublic {
    		auth = NoAuthMiddleware
    	}
    
    	metricsRouter.Handle(prometheusMetricsPathLegacy, auth(metricsHandler()))
    	metricsRouter.Handle(prometheusMetricsV2ClusterPath, auth(metricsServerHandler()))
    	metricsRouter.Handle(prometheusMetricsV2BucketPath, auth(metricsBucketHandler()))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jul 15 16:28:02 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  2. docs/sts/web-identity.py

    import requests
    from botocore.client import Config
    from flask import Flask, request
    
    boto3.set_stream_logger('boto3.resources', logging.DEBUG)
    
    authorize_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/auth"
    token_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/token"
    
    # callback url specified when the application was defined
    callback_uri = "http://localhost:8000/oauth2/callback"
    
    # keycloak id and secret
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jul 28 01:37:51 GMT 2021
    - 2.9K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

                url.toUrl(),
                Authenticator.RequestorType.SERVER,
              )
            }
    
          if (auth != null) {
            val credentialHeader = if (proxyAuthorization) "Proxy-Authorization" else "Authorization"
            val credential =
              Credentials.basic(
                auth.userName,
                String(auth.password),
                challenge.charset,
              )
            return request
              .newBuilder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            CIFSContext context = new BaseContext(new PropertyConfiguration(props));
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(context, "TEST_DOMAIN", "user", "pass");
    
            when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(auth);
    
            filter.doFilter(request, response, filterChain);
    
            verify(filterChain).doFilter(any(NtlmHttpServletRequest.class), eq(response));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/http/NetworkExplorerTest.java

            // Initialize with Basic auth enabled
            initializeNetworkExplorer(true, "TestRealm");
    
            // Test with no auth - should request Basic
            when(request.getHeader("Authorization")).thenReturn(null);
    
            networkExplorer.doGet(request, response);
    
            // NetworkExplorer uses addHeader for Basic auth
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/impl/AuthenticationImpl.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.http.impl;
    
    import org.apache.http.auth.AuthScheme;
    import org.apache.http.auth.AuthScope;
    import org.apache.http.auth.Credentials;
    import org.codelibs.fess.crawler.client.http.Authentication;
    
    /**
     * Implementation of the {@link Authentication} interface.
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationHolder.java

            super();
        }
    
        /**
         * Adds an SMB authentication configuration to the holder.
         *
         * @param auth the SMB authentication configuration to add
         */
        public void add(final SmbAuthentication auth) {
            authMap.put(auth.getPathPrefix(), auth);
        }
    
        /**
            * Retrieves the SmbAuthentication associated with the given path.
            *
            * <p>
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/NTLMSchemeProvider.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.http.ntlm;
    
    import org.apache.http.auth.AuthScheme;
    import org.apache.http.auth.AuthSchemeProvider;
    import org.apache.http.impl.auth.NTLMScheme;
    import org.apache.http.protocol.HttpContext;
    
    /**
     * This class is AuthSchemeFactory implementation for NTLM.
     *
     * @author shinsuke
     *
     */
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Authentication.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.http;
    
    import org.apache.http.auth.AuthScheme;
    import org.apache.http.auth.AuthScope;
    import org.apache.http.auth.Credentials;
    
    /**
     * The Authentication interface provides methods to retrieve authentication details
     * required for HTTP client authentication.
     */
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_security/test_tutorial007.py

        response = client.get("/users/me", auth=("alice", "swordfish"))
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Incorrect username or password"}
        assert response.headers["WWW-Authenticate"] == "Basic"
    
    
    def test_security_http_basic_invalid_password(client: TestClient):
        response = client.get("/users/me", auth=("stanleyjobson", "wrongpassword"))
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 3.2K bytes
    - Click Count (0)
Back to Top