Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for authenticator (0.08 sec)

  1. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

            SsoAuthenticator[] authenticators = ssoManager.getAuthenticators();
            assertEquals(3, authenticators.length);
            assertEquals(authenticator1, authenticators[0]);
            assertEquals(authenticator2, authenticators[1]);
            assertEquals(authenticator3, authenticators[2]);
        }
    
        public void test_getAuthenticators_withNoRegisteredAuthenticators() {
            SsoAuthenticator[] authenticators = ssoManager.getAuthenticators();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  2. 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")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java

            // Execute
            authenticator.resolveCredential(resolver);
    
            // Verify
            assertTrue(authenticator.isResolverCalled());
            assertNotNull(authenticator.getLastResolver());
        }
    
        public void test_resolveCredential_withNullResolver() {
            // Execute
            authenticator.resolveCredential(null);
    
            // Verify
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (1)
  4. 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
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (1)
  5. 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();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                try {
                    final AzureAdAuthenticator authenticator = ComponentUtil.getComponent(AzureAdAuthenticator.class);
                    final IAuthenticationResult newResult = authenticator.refreshTokenSilently(this);
                    if (newResult != null) {
                        authResult = newResult;
                        authenticator.updateMemberOf(this);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            return result == 1;
        }
    
        /** The authentication type */
        private AuthenticationType type;
        /** The authentication domain */
        private String domain;
        /** The username for authentication */
        private String username;
        /** The password for authentication */
        private char[] password;
        /** The client challenge for NTLM authentication */
        private byte[] clientChallenge = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            auth.refresh();
            Subject afterRefresh = auth.getSubject();
            // After refresh, may succeed or fail depending on JAAS configuration
            // Just verify that refresh doesn't break the authenticator
            assertNotNull(auth, "Authenticator should remain usable after refresh");
        }
    
        @Test
        @DisplayName("handle: sets NameCallback and PasswordCallback on happy path")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                    }
                }
            }
        }
    
        /**
         * Creates an NTLM password authenticator from the given SMB authentication.
         *
         * @param smbAuthentication the SMB authentication information
         * @return the NTLM password authenticator
         */
        protected NtlmPasswordAuthenticator getAuthenticator(final SmbAuthentication smbAuthentication) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java

     */
    package jcifs.smb;
    
    import org.bouncycastle.util.encoders.Hex;
    
    /**
     * Authenticator directly specifing the user's NT hash
     *
     * @author mbechler
     *
     */
    public class NtlmNtHashAuthenticator extends NtlmPasswordAuthenticator {
    
        private static final long serialVersionUID = 4328214169536360351L;
        /** The NT hash for authentication */
        private final byte[] ntHash;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top