Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 486 for authenticator (0.1 seconds)

  1. 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)
  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. 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)
  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. 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)
  6. src/main/java/jcifs/smb/JAASAuthenticator.java

        }
    
        /**
         * Create an authenticator using the given JAAS service and the specified credentials
         *
         * @param serviceName
         *            JAAS configuration name
         * @param domain the domain for authentication
         * @param username the username for authentication
         * @param password the password for authentication
         */
    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)
  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. 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)
  9. 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)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

        }
    
        /**
         * Test that closed authenticator prevents all sensitive operations
         */
        @Test
        @DisplayName("Test closed authenticator blocks all sensitive operations")
        public void testClosedAuthenticatorBlocking() throws Exception {
            NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("DOMAIN", "user", "BlockedPass123!");
    
            // Close the authenticator
            auth.close();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
Back to Top