Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Authenticate (0.06 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

      }
    
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun authenticate(protocol: Protocol) {
        setUp(protocol)
        server.enqueue(
          MockResponse(
            code = HttpURLConnection.HTTP_UNAUTHORIZED,
            headers = headersOf("www-authenticate", "Basic realm=\"protected area\""),
            body = "Please authenticate.",
          ),
        )
        server.enqueue(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                }
            }
    
            formSchemeList.forEach(p -> {
                final FormScheme scheme = p.getFirst();
                final Credentials credentials = p.getSecond();
                scheme.authenticate(credentials, (request, consumer) -> {
    
                    // request header
                    for (final Header header : requestHeaderList) {
                        request.addHeader(header);
                    }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                }
            }
            final HttpServletResponse response = LaResponseUtil.getResponse();
            if (t instanceof final InvalidAccessTokenException e) {
                response.setHeader("WWW-Authenticate", "Bearer error=\"" + e.getType() + "\"");
                writeJsonResponse(HttpServletResponse.SC_UNAUTHORIZED, message);
            } else {
                writeJsonResponse(status, message);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (1)
  4. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

      @Test
      fun authenticatingTunnelProxyConnect() {
        enableTlsWithTunnel()
        server.enqueue(
          MockResponse
            .Builder()
            .inTunnel()
            .code(407)
            .addHeader("Proxy-Authenticate: Basic realm=\"localhost\"")
            .addHeader("Connection: close")
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .inTunnel()
            .build(),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    		}
    	}
    }
    
    func (s *peerRESTServer) writeErrorResponse(w http.ResponseWriter, err error) {
    	w.WriteHeader(http.StatusForbidden)
    	w.Write([]byte(err.Error()))
    }
    
    // IsValid - To authenticate and verify the time difference.
    func (s *peerRESTServer) IsValid(w http.ResponseWriter, r *http.Request) bool {
    	if err := storageServerRequestValidate(r); err != nil {
    		s.writeErrorResponse(w, err)
    		return false
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 53.4K bytes
    - Viewed (0)
  6. okhttp/api/jvm/okhttp.api

    	public static final field Companion Lokhttp3/Authenticator$Companion;
    	public static final field JAVA_NET_AUTHENTICATOR Lokhttp3/Authenticator;
    	public static final field NONE Lokhttp3/Authenticator;
    	public abstract fun authenticate (Lokhttp3/Route;Lokhttp3/Response;)Lokhttp3/Request;
    }
    
    public final class okhttp3/Authenticator$Companion {
    }
    
    public final class okhttp3/Cache : java/io/Closeable, java/io/Flushable {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

        ones that are no longer necessary.
    
     *  **OkHttp no longer uses the global `java.net.Authenticator` by default.**
        We've changed our `Authenticator` interface to authenticate web and proxy
        authentication failures through a single method. An adapter for the old
        authenticator is available in the `okhttp-urlconnection` module.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  8. okhttp/api/android/okhttp.api

    	public static final field Companion Lokhttp3/Authenticator$Companion;
    	public static final field JAVA_NET_AUTHENTICATOR Lokhttp3/Authenticator;
    	public static final field NONE Lokhttp3/Authenticator;
    	public abstract fun authenticate (Lokhttp3/Route;Lokhttp3/Response;)Lokhttp3/Request;
    }
    
    public final class okhttp3/Authenticator$Companion {
    }
    
    public final class okhttp3/Cache : java/io/Closeable, java/io/Flushable {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                }
            }
            return isBind;
        }
    
        /**
         * Authenticates a user with the specified username and password against LDAP.
         *
         * @param username the username for authentication
         * @param password the password for authentication
         * @return an optional containing the authenticated user if successful, empty otherwise
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    	writeSuccessResponseXML(w, encodedSuccessResponse)
    }
    
    // ListBucketsHandler - GET Service.
    // -----------
    // This implementation of the GET operation returns a list of all buckets
    // owned by the authenticated sender of the request.
    func (api objectAPIHandlers) ListBucketsHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ListBuckets")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.9K bytes
    - Viewed (0)
Back to top