Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 83 for Authenticator (0.06 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

          MockResponse(body = "c"),
        )
        val authenticator =
          RecordingOkAuthenticator(
            basic("jesse", "peanutbutter"),
            "Basic",
          )
        client =
          client
            .newBuilder()
            .authenticator(authenticator)
            .build()
        assertContent("c", getResponse(newRequest("/a")))
        val challengeResponse = authenticator.responses[0]
        assertThat(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            // Setup
            OpenIdConnectAuthenticator authenticator = new OpenIdConnectAuthenticator();
            final Map<String, Object> attributes = new HashMap<>();
            String jwtClaim =
                    "{\"email\":\"******@****.***\",\"sub\":\"1234567890\",\"name\":\"John Doe\",\"groups\":[\"group1\",\"group2\"]}";
    
            // Execute
            authenticator.parseJwtClaim(jwtClaim, attributes);
    
            // Verify
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/SsoAuthenticator.java

    import org.lastaflute.web.response.ActionResponse;
    
    /**
     * Interface for SSO (Single Sign-On) authenticator implementations.
     *
     * This interface defines the contract for SSO authentication providers that can be
     * integrated with Fess. Implementations handle specific SSO protocols like SAML,
     * OAuth, SPNEGO, or other authentication mechanisms. Each authenticator is responsible
     * for obtaining login credentials, resolving user information, and managing SSO
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (1)
  4. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

    import jakarta.annotation.PostConstruct;
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    import jakarta.servlet.http.HttpSession;
    
    /**
     * Authenticator for SAML.
     */
    public class SamlAuthenticator implements SsoAuthenticator {
    
        /**
         * Constructor.
         */
        public SamlAuthenticator() {
            super();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.4K bytes
    - Viewed (3)
  5. okhttp-urlconnection/api/okhttp-urlconnection.api

    public final class okhttp3/JavaNetAuthenticator : okhttp3/Authenticator {
    	public fun <init> ()V
    	public fun authenticate (Lokhttp3/Route;Lokhttp3/Response;)Lokhttp3/Request;
    }
    
    public final class okhttp3/JavaNetCookieJar : okhttp3/CookieJar {
    	public fun <init> (Ljava/net/CookieHandler;)V
    	public fun loadForRequest (Lokhttp3/HttpUrl;)Ljava/util/List;
    	public fun saveFromResponse (Lokhttp3/HttpUrl;Ljava/util/List;)V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Feb 26 19:17:33 UTC 2022
    - 423 bytes
    - Viewed (0)
  6. docs/changelogs/upgrading_to_okhttp_4.md

       serverSocketFactory
     * **MultipartBody.Part**: body, headers
     * **MultipartBody.**: boundary, parts, size, type
     * **OkHttpClient**: authenticator, cache, callTimeoutMillis, certificatePinner,
       connectTimeoutMillis, connectionPool, connectionSpecs, cookieJar, dispatcher, dns,
       eventListenerFactory, followRedirects, followSslRedirects, hostnameVerifier, interceptors,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  7. docs/features/connections.md

     * When making an HTTPS connection through an HTTP proxy, the proxy may issue an authentication challenge. OkHttp will call the proxy [authenticator](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-authenticator/) and try again.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Feb 21 03:33:59 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

    import com.google.common.io.BaseEncoding.DecodingException;
    
    import jakarta.annotation.PostConstruct;
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpSession;
    
    /**
     * OpenID Connect authenticator for SSO integration.
     */
    public class OpenIdConnectAuthenticator implements SsoAuthenticator {
    
        /**
         * Default constructor.
         */
        public OpenIdConnectAuthenticator() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/Authenticate.java

    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class Authenticate {
      private final OkHttpClient client;
    
      public Authenticate() {
        client = new OkHttpClient.Builder()
            .authenticator((route, response) -> {
              if (response.request().header("Authorization") != null) {
                return null; // Give up, we've already attempted to authenticate.
              }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

       * This avoids sending potentially sensitive data like HTTP cookies to the proxy unencrypted.
       *
       * In order to support preemptive authentication we pass a fake "Auth Failed" response to the
       * authenticator. This gives the authenticator the option to customize the CONNECT request. It can
       * decline to do so by returning null, in which case OkHttp will use it as-is.
       */
      @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top