Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for changePassword (0.09 sec)

  1. src/main/java/org/codelibs/fess/auth/chain/LdapChain.java

        @Override
        public void delete(final User user) {
            ComponentUtil.getLdapManager().delete(user);
        }
    
        @Override
        public boolean changePassword(final String username, final String password) {
            final boolean changed = ComponentUtil.getLdapManager().changePassword(username, password);
            return !changed || ComponentUtil.getFessConfig().isLdapAdminSyncPassword();
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

        public void insert(final User user) {
            chains().of(stream -> stream.forEach(c -> c.update(user)));
        }
    
        public boolean changePassword(final String username, final String password) {
            return chains().get(stream -> stream.allMatch(c -> c.changePassword(username, password)));
        }
    
        public void delete(final User user) {
            chains().of(stream -> stream.forEach(c -> c.delete(user)));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java

        }
    
        @Execute
        public HtmlResponse changePassword(final ProfileForm form) {
            final VaErrorHook toIndexPage = () -> {
                form.clearSecurityInfo();
                return asIndexHtml();
            };
            validatePasswordForm(form, toIndexPage);
            final String username = getUserBean().map(FessUserBean::getUserId).get();
            try {
                userService.changePassword(username, form.newPassword);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/UserService.java

            userBhv.insertOrUpdate(user, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public void changePassword(final String username, final String password) {
            final boolean changed = ComponentUtil.getAuthenticationManager().changePassword(username, password);
            if (changed) {
                userBhv.selectEntity(cb -> cb.query().setName_Equal(username)).ifPresent(entity -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/auth/chain/AuthenticationChain.java

    package org.codelibs.fess.auth.chain;
    
    import org.codelibs.fess.es.user.exentity.User;
    
    public interface AuthenticationChain {
    
        void update(User user);
    
        void delete(User user);
    
        boolean changePassword(String username, String password);
    
        User load(User user);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 899 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                throwValidationError(messages -> messages.addErrorsLoginError(GLOBAL), () -> asIndexPage(form));
            }
            return redirect(getClass());
        }
    
        @Execute
        public HtmlResponse changePassword(final PasswordForm form) {
            final VaErrorHook toIndexPage = () -> {
                form.clearSecurityInfo();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

            changePassword(username, password);
        }
    
        @Override
        public void delete(final User user) {
            final String username = user.getName();
            if (isTargetUser(username)) {
                executeCommand(deleteCommand, username, StringUtil.EMPTY);
            }
        }
    
        @Override
        public boolean changePassword(final String username, final String password) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/login/newpassword.jsp

    							<span class="input-group-text">
    								<em class="fa fa-lock fa-fw">
    							</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"/>">
    							<em class="fa fa-pencil-alt">
    							<la:message key="labels.login.update" />
    						</button>
    					</div>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/orig/view/login/newpassword.jsp

    							<span class="input-group-text">
    								<em class="fa fa-lock fa-fw">
    							</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"/>">
    							<em class="fa fa-pencil-alt">
    							<la:message key="labels.login.update" />
    						</button>
    					</div>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/profile/index.jsp

    						<la:link href="/"
    							styleClass="btn btn-default">
    							<em class="fa fa-arrow-circle-left">
    							<la:message key="labels.profile.back" />
    						</la:link>
    						<button type="submit" name="changePassword"
    							class="btn btn-success"
    							value="<la:message key="labels.profile.update"/>">
    							<em class="fa fa-pencil-alt">
    							<la:message key="labels.profile.update" />
    						</button>
    					</div>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top