Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 88 for Authenticator (0.09 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/SsoManagerTest.java

            ssoManager.register(authenticator3);
    
            SsoAuthenticator[] authenticators = ssoManager.getAuthenticators();
            assertEquals(3, authenticators.length);
            assertEquals(authenticator1, authenticators[0]);
            assertEquals(authenticator2, authenticators[1]);
            assertEquals(authenticator3, authenticators[2]);
        }
    
        @Test
        public void test_getAuthenticators_withNoRegisteredAuthenticators() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  3. 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)
  4. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

     */
    public class NtlmPasswordAuthenticatorSecurityTest {
    
        private NtlmPasswordAuthenticator authenticator;
    
        @BeforeEach
        public void setUp() {
            authenticator = null;
        }
    
        @AfterEach
        public void tearDown() throws Exception {
            if (authenticator != null) {
                authenticator.close();
            }
        }
    
        @Test
        @DisplayName("Test password stored as char array")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  5. 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)
  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. src/main/java/org/codelibs/fess/sso/SsoManager.java

         * Gets all registered SSO authenticators.
         *
         * @return Array of all registered SSO authenticators
         */
        public SsoAuthenticator[] getAuthenticators() {
            return authenticatorList.toArray(new SsoAuthenticator[authenticatorList.size()]);
        }
    
        /**
         * Registers an SSO authenticator with this manager.
         *
         * @param authenticator The SSO authenticator to register
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. 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)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

        /**
         * Returns the [Authenticator] for the OkHttpClient, or an override from the Call.Chain.
         */
        val authenticator: Authenticator
    
        /**
         * Override the [Authenticator] for the Call.Chain.
         *
         * @throws IllegalStateException if this is a Network Interceptor, since the override is too late.
         */
        fun withAuthenticator(authenticator: Authenticator): Chain
    
        /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  10. 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)
Back to Top