- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for changePassword (0.06 seconds)
-
src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java
} assertEquals(1, chain.deleteCalls.size()); } // Test changePassword with valid credentials @Test public void test_changePassword_success() { TestAuthenticationChain chain = new TestAuthenticationChain(); chain.changePasswordResult = true; boolean result = chain.changePassword("testuser", "newpassword123"); assertTrue(result);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java
assertEquals(user, chain3.lastUpdatedUser); } // Test changePassword with no chains @Test public void test_changePassword_noChains() { boolean result = authenticationManager.changePassword("testuser", "newpass"); assertTrue(result); // Returns true when no chains present } // Test changePassword with single chain success @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/UserService.java
*/ public void changePassword(final String username, final String password) { if (logger.isDebugEnabled()) { logger.debug("Password change initiated for user: username={}", username); } try { final boolean changed = ComponentUtil.getAuthenticationManager().changePassword(username, password); if (changed) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:22:27 GMT 2026 - 9.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java
return asIndexHtml(); } /** * Changes the user password. * * @param form the profile form * @return the HTML response */ @Execute public HtmlResponse changePassword(final ProfileForm form) { final VaErrorHook toIndexPage = () -> { form.clearSecurityInfo(); return asIndexHtml(); }; validatePasswordForm(form, toIndexPage);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:18:24 GMT 2026 - 6.3K bytes - Click Count (0) -
src/main/webapp/WEB-INF/orig/view/login/newpassword.jsp
<span class="input-group-text"> <i class="fa fa-lock fa-fw" aria-hidden="true"></i> </span> </div> </div> <div class="text-center"> <button type="submit" name="changePassword" class="btn btn-primary btn-block" value="<la:message key="labels.login.update"/>"> <i class="fa fa-pencil-alt" aria-hidden="true"></i> <la:message key="labels.login.update" /> </button>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 3.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java
// Test successful password change when LDAP admin sync is disabled testLdapManager.changePasswordResult = true; testFessConfig.ldapAdminSyncPassword = false; boolean result = ldapChain.changePassword("testuser", "newpassword"); assertFalse(result); // returns !changed || syncPassword = !true || false = false assertEquals("testuser", testLdapManager.changePasswordUsername);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/login/LoginAction.java
* * @param form the password form containing new password and confirmation * @return the HTML response after password change attempt */ @Execute public HtmlResponse changePassword(final PasswordForm form) { final VaErrorHook toIndexPage = () -> { form.clearSecurityInfo();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:18:24 GMT 2026 - 8.9K bytes - Click Count (0) -
src/main/webapp/WEB-INF/orig/view/profile/index.jsp
styleClass="btn btn-default"> <i class="fa fa-arrow-circle-left" aria-hidden="true"></i> <la:message key="labels.profile.back" /> </la:link> <button type="submit" name="changePassword" class="btn btn-success" value="<la:message key="labels.profile.update"/>"> <i class="fa fa-pencil-alt" aria-hidden="true"></i> <la:message key="labels.profile.update" /> </button>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 3.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java
}); LdapManager ldapManager = new LdapManager(); ldapManager.init(); // Blank username should return false assertFalse(ldapManager.changePassword("", "newPassword")); assertFalse(ldapManager.changePassword(" ", "newPassword")); } @Test public void test_changePassword_withNullPassword() { ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
* @return true if the password was changed successfully, false otherwise * @throws LdapOperationException if the user is not found in LDAP */ public boolean changePassword(final String username, final String password) { // Add defensive null/blank checks if (StringUtil.isBlank(username) || StringUtil.isBlank(password)) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 08:06:20 GMT 2026 - 85.2K bytes - Click Count (0)