Class ChangePasswordForm

  • All Implemented Interfaces:
    java.io.Serializable

    public class ChangePasswordForm
    extends org.apache.struts.action.ActionForm
    Form bean to represent the inputs needed to change a password from user input.
    Author:
    Xavier Watkins
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.apache.struts.action.ActionForm

        multipartRequestHandler, servlet
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getNewpassword()
      The new password
      java.lang.String getNewpassword2()
      New password verification
      java.lang.String getOldpassword()
      The old password
      void reset​(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
      void setNewpassword​(java.lang.String newpassword)
      The new password
      void setNewpassword2​(java.lang.String newpassword2)
      New password verification
      void setOldpassword​(java.lang.String oldpassword)
      The old password
      org.apache.struts.action.ActionErrors validate​(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
      • Methods inherited from class org.apache.struts.action.ActionForm

        getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChangePasswordForm

        public ChangePasswordForm()
    • Method Detail

      • getNewpassword

        public java.lang.String getNewpassword()
        The new password
        Returns:
        the newpassword
      • setNewpassword

        public void setNewpassword​(java.lang.String newpassword)
        The new password
        Parameters:
        newpassword - the newpassword to set
      • getNewpassword2

        public java.lang.String getNewpassword2()
        New password verification
        Returns:
        the newpassword2
      • setNewpassword2

        public void setNewpassword2​(java.lang.String newpassword2)
        New password verification
        Parameters:
        newpassword2 - the newpassword2 to set
      • getOldpassword

        public java.lang.String getOldpassword()
        The old password
        Returns:
        the oldpassword
      • setOldpassword

        public void setOldpassword​(java.lang.String oldpassword)
        The old password
        Parameters:
        oldpassword - the oldpassword to set
      • validate

        public org.apache.struts.action.ActionErrors validate​(org.apache.struts.action.ActionMapping mapping,
                                                              javax.servlet.http.HttpServletRequest request)
        Overrides:
        validate in class org.apache.struts.action.ActionForm
      • reset

        public void reset​(org.apache.struts.action.ActionMapping mapping,
                          javax.servlet.http.HttpServletRequest request)
        Overrides:
        reset in class org.apache.struts.action.ActionForm