Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for newpassword (0.09 sec)

  1. src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java

            testFessConfig.ldapAdminSyncPassword = false;
    
            boolean result = ldapChain.changePassword("testuser", "newpassword");
    
            assertFalse(result); // returns !changed || syncPassword = !true || false = false
            assertEquals("testuser", testLdapManager.changePasswordUsername);
            assertEquals("newpassword", testLdapManager.changePasswordPassword);
            assertTrue(testLdapManager.changePasswordCalled);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

            assertEquals("{labels.profile_button}", FessLabels.LABELS_profile_button);
    
            // Test new password related labels
            assertEquals("{labels.login.newpassword}", FessLabels.LABELS_LOGIN_NEWPASSWORD);
            assertEquals("{labels.login.placeholder_new_password}", FessLabels.LABELS_LOGIN_placeholder_new_password);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

        }
    
        public void test_loginPaths() throws Exception {
            // Test login-related paths
            assertEquals("/login/index.jsp", FessHtmlPath.path_Login_IndexJsp.getRoutingPath());
            assertEquals("/login/newpassword.jsp", FessHtmlPath.path_Login_NewpasswordJsp.getRoutingPath());
        }
    
        public void test_configPaths() throws Exception {
            // Test configuration paths
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

        public void test_changePassword_failure() {
            TestAuthenticationChain chain = new TestAuthenticationChain();
            chain.changePasswordResult = false;
    
            boolean result = chain.changePassword("testuser", "newpassword");
    
            assertFalse(result);
            assertEquals(1, chain.changePasswordCalls.size());
        }
    
        // Test changePassword with null username
        public void test_changePassword_nullUsername() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

        }
    
        /**
         * Returns the password.
         * @return The password.
         */
        public String getPassword() {
            return password;
        }
    
        /**
         * Sets the password.
         * @param password The password.
         */
        public void setPassword(final String password) {
            this.password = password;
        }
    
        /**
         * Returns the domain.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         * @param defUser the default username if not specified
         * @param defPassword the default password if not specified
         */
        protected NtlmPasswordAuthenticator(String userInfo, String defDomain, String defUser, String defPassword) {
            this(userInfo, defDomain, defUser, defPassword, null);
        }
    
        /**
         * Create authenticator from URL userInfo string
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            assertEquals(orig.getUsername(), copy.getUsername());
            assertEquals(orig.getUserDomain(), copy.getUserDomain());
            assertEquals(orig.getPassword(), copy.getPassword());
    
            // Test the cloning behavior with both null and non-null cached subjects
            if (first != null) {
                // If we got a valid subject, test that it's properly cached and cloned
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            assertEquals("password", auth.getPassword());
        }
    
        // Test constructor with user info string without password
        @Test
        void testConstructorWithUserInfoNoPassword() {
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("DOMAIN;user");
            assertEquals("DOMAIN", auth.getDomain());
            assertEquals("user", auth.getUsername());
            assertNotNull(auth.getPassword()); // Should fall back to default
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            assertEquals(original.getUsername(), cloned.getUsername());
            assertEquals(original.getPassword(), cloned.getPassword());
    
            // Verify password arrays are independent
            original.secureWipePassword();
            assertNull(original.getPassword());
            assertEquals("ClonePass123!", cloned.getPassword());
        }
    
        /**
         * Test authentication type guessing with secure password
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            if (username != null) {
                UserManager userManager = factory.getUserManager();
                BaseUser ftpUser = new BaseUser();
                ftpUser.setName(username);
                ftpUser.setPassword(password);
                final File file = ResourceUtil.getResourceAsFile("test");
                String path = file.getAbsolutePath();
                ftpUser.setHomeDirectory(path);
    
                userManager.save(ftpUser);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
Back to top