Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 73 for Authenticator (0.19 sec)

  1. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

          }
    
        /**
         * Sets the authenticator used to respond to challenges from origin servers. Use
         * [proxyAuthenticator] to set the authenticator for proxy servers.
         *
         * If unset, the [no authentication will be attempted][Authenticator.NONE].
         */
        fun authenticator(authenticator: Authenticator) =
          apply {
            this.authenticator = authenticator
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

            if (authenticator != null && fessConfig.getSystemPropertyAsBoolean(SPNEGO_INITIALIZED, false)) {
                return authenticator;
            }
            try {
                // set some System properties
                final SpnegoFilterConfig config = SpnegoFilterConfig.getInstance(new SpengoConfig());
    
                // pre-authenticate
                authenticator = new org.codelibs.spnego.SpnegoAuthenticator(config);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                    return false;
                }
                final AzureAdAuthenticator authenticator = ComponentUtil.getComponent(AzureAdAuthenticator.class);
                final String refreshToken = authResult.getRefreshToken();
                authResult = authenticator.getAccessToken(refreshToken);
                authenticator.updateMemberOf(this);
                permissions = null;
                return true;
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/RecordingAuthenticator.kt

     * limitations under the License.
     */
    package okhttp3.internal
    
    import java.net.Authenticator
    import java.net.PasswordAuthentication
    
    class RecordingAuthenticator(
      private val authentication: PasswordAuthentication? =
        PasswordAuthentication(
          "username",
          "password".toCharArray(),
        ),
    ) : Authenticator() {
      val calls = mutableListOf<String>()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/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]
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  6. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val hostnameVerifier: HostnameVerifier? = address.hostnameVerifier
        val certificatePinner: CertificatePinner? = address.certificatePinner
      }
    
      @Test
      fun authenticator() {
        var authenticator: Authenticator = Authenticator { route, response -> TODO() }
      }
    
      @Test
      fun cache() {
        val cache = Cache(File("/cache/"), Integer.MAX_VALUE.toLong())
        cache.initialize()
        cache.delete()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  8. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

                String username = System.getenv("MVNW_USERNAME");
                char[] password = System.getenv("MVNW_PASSWORD").toCharArray();
                Authenticator.setDefault(new Authenticator() {
                    @Override
                    protected PasswordAuthentication getPasswordAuthentication() {
                        return new PasswordAuthentication(username, password);
                    }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val hostnameVerifier: HostnameVerifier = client.hostnameVerifier()
        val certificatePinner: CertificatePinner = client.certificatePinner()
        val proxyAuthenticator: Authenticator = client.proxyAuthenticator()
        val authenticator: Authenticator = client.authenticator()
        val connectionPool: ConnectionPool = client.connectionPool()
        val dns: Dns = client.dns()
        val followSslRedirects: Boolean = client.followSslRedirects()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/authentication/v1beta1/generated.proto

      // +optional
      optional k8s.io.api.authentication.v1.UserInfo userInfo = 1;
    }
    
    // TokenReview attempts to authenticate a token to a known user.
    // Note: TokenReview requests may be cached by the webhook token authenticator
    // plugin in the kube-apiserver.
    message TokenReview {
      // Standard object's metadata.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top