Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 107 for authenticators (0.14 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt

      companion object {
        /** An authenticator that knows no credentials and makes no attempt to authenticate. */
        @JvmField
        val NONE: Authenticator = AuthenticatorNone()
    
        private class AuthenticatorNone : Authenticator {
          override fun authenticate(
            route: Route?,
            response: Response,
          ): Request? = null
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/sso/saml/SamlAuthenticatorTest.java

        /**
         * Helper method to set defaultSettings on an authenticator instance
         */
        private void setDefaultSettings(SamlAuthenticator authenticator, Map<String, Object> settings) throws Exception {
            Field defaultSettingsField = SamlAuthenticator.class.getDeclaredField("defaultSettings");
            defaultSettingsField.setAccessible(true);
            defaultSettingsField.set(authenticator, settings);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 18.4K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.authenticator
    
    import java.net.Authenticator
    import java.net.InetAddress
    import junit.framework.TestCase.assertNull
    import okhttp3.FakeDns
    import okhttp3.Protocol.HTTP_2
    import okhttp3.Request
    import okhttp3.Response
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

        }
    
        object AuthenticatorOverride : Override<Authenticator> {
          override fun Interceptor.Chain.value(): Authenticator = authenticator
    
          override fun Interceptor.Chain.withOverride(value: Authenticator): Interceptor.Chain = withAuthenticator(value)
    
          override fun OkHttpClient.Builder.withOverride(value: Authenticator): OkHttpClient.Builder = authenticator(value)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java

            // Execute
            authenticator.resolveCredential(resolver);
    
            // Verify
            assertTrue(authenticator.isResolverCalled());
            assertNotNull(authenticator.getLastResolver());
        }
    
        @Test
        public void test_resolveCredential_withNullResolver() {
            // Execute
            authenticator.resolveCredential(null);
    
            // Verify
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (1)
  6. src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java

            super.tearDown(testInfo);
        }
    
        @Test
        public void test_authenticatorInstantiation() {
            // Verify authenticator can be instantiated without errors
            SpnegoAuthenticator authenticator = new SpnegoAuthenticator();
            assertNotNull(authenticator);
        }
    
        @Test
        public void test_spnegoConfigClass() {
            // Verify the inner class is named correctly: SpnegoConfig (not SpengoConfig)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

     */
    package okhttp3.internal.authenticator
    
    import java.io.IOException
    import java.net.Authenticator
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    import okhttp3.Credentials
    import okhttp3.Dns
    import okhttp3.HttpUrl
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.Route
    
    /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  8. okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt

     */
    package okhttp3
    
    import java.io.IOException
    import okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR
    
    /**
     * Do not use this.
     *
     * Instead, configure your OkHttpClient.Builder to use `Authenticator.JAVA_NET_AUTHENTICATOR`:
     *
     * ```
     *   val okHttpClient = OkHttpClient.Builder()
     *     .authenticator(okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR)
     *     .build()
     * ```
     */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/JAASAuthenticator.java

    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    
    /**
     * JAAS kerberos authenticator
     *
     * Either configure JAAS for credential caching or reuse a single instance of this authenticator -otherwise you won't
     * get proper ticket caching.
     *
     * Be advised that short/NetBIOS name usage is not supported with this authenticator. Always specify full FQDNs/Realm.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.3K bytes
    - Click Count (1)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

        return copy(retryOnConnectionFailure = retryOnConnectionFailure)
      }
    
      override fun withAuthenticator(authenticator: Authenticator): Interceptor.Chain {
        check(exchange == null) { "authenticator can't be adjusted in a network interceptor" }
    
        return copy(authenticator = authenticator)
      }
    
      override fun withCookieJar(cookieJar: CookieJar): Interceptor.Chain {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 12.8K bytes
    - Click Count (0)
Back to Top