Class ChangePasswordAction<E extends org.springframework.security.core.userdetails.UserDetails>

All Implemented Interfaces:
AdjustWhenViewReadOnly, ExecutableAction, SecuredAction, SecurityConstraintAction, TargetAction<ListDataComponent<E>>, Action, HasShortcutCombination

@ActionType("sec_changePassword") public class ChangePasswordAction<E extends org.springframework.security.core.userdetails.UserDetails> extends SecuredListDataComponentAction<ChangePasswordAction<E>,E> implements ExecutableAction, AdjustWhenViewReadOnly
  • Field Details

  • Constructor Details

    • ChangePasswordAction

      public ChangePasswordAction()
    • ChangePasswordAction

      public ChangePasswordAction(String id)
  • Method Details

    • setDialogWindows

      @Autowired protected void setDialogWindows(DialogWindows dialogWindows)
    • setMessages

      @Autowired protected void setMessages(Messages messages)
    • setCurrentPasswordRequired

      public void setCurrentPasswordRequired(boolean currentPasswordRequired)
    • isPermitted

      protected boolean isPermitted()
      Overrides:
      isPermitted in class SecuredListDataComponentAction<ChangePasswordAction<E extends org.springframework.security.core.userdetails.UserDetails>,E extends org.springframework.security.core.userdetails.UserDetails>
    • execute

      public void execute()
      Executes the action.
      Specified by:
      execute in interface ExecutableAction
    • buildAndShowDialog

      protected void buildAndShowDialog(E selectedItem)
    • withCurrentPasswordRequired

      public ChangePasswordAction<E> withCurrentPasswordRequired(boolean currentPasswordRequired)