Class PWResetQuestionViewBean

  • All Implemented Interfaces:
    com.iplanet.jato.RequestCompletionListener, com.iplanet.jato.RequestHandler, com.iplanet.jato.RequestParticipant, com.iplanet.jato.view.ContainerView, com.iplanet.jato.view.View, com.iplanet.jato.view.ViewBean, com.iplanet.jato.view.WebActionHandler, com.iplanet.jato.view.WebActions, Constants

    public class PWResetQuestionViewBean
    extends PWResetViewBeanBase
    PWResetUserValidationViewBean verifies user's answer to the secret question for the password reset service
    • Constructor Detail

      • PWResetQuestionViewBean

        public PWResetQuestionViewBean()
        Constructs a password reset question view bean
    • Method Detail

      • createChild

        protected com.iplanet.jato.view.View createChild​(String name)
        Creates child component
        Overrides:
        createChild in class PWResetViewBeanBase
        Parameters:
        name - of child component
        Returns:
        child component
      • beginDisplay

        public void beginDisplay​(com.iplanet.jato.view.event.DisplayEvent event)
                          throws com.iplanet.jato.model.ModelControlException
        Set the required information to display the page.
        Specified by:
        beginDisplay in interface com.iplanet.jato.view.ContainerView
        Overrides:
        beginDisplay in class PWResetViewBeanBase
        Parameters:
        event - display event.
        Throws:
        com.iplanet.jato.model.ModelControlException - if problem access value of component.
      • forwardTo

        public void forwardTo​(com.iplanet.jato.RequestContext context)
        Forwards to current view bean after populating questions. It will forward to PWResetUserValidationViewBean if the user DN or organization does not exists.
        Specified by:
        forwardTo in interface com.iplanet.jato.view.ViewBean
        Overrides:
        forwardTo in class com.iplanet.jato.view.ViewBeanBase
        Parameters:
        context - request context
      • handleBtnOKRequest

        public void handleBtnOKRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Handles form submission request for next button. It will forward to PWResetSuccessViewBean if the answers are correct for the questions.
        Parameters:
        event - request invocation event
      • handleBtnPreviousRequest

        public void handleBtnPreviousRequest​(com.iplanet.jato.view.event.RequestInvocationEvent event)
        Handles form submission request for previous button. It will take the user to PWResetUserValidationViewBean
        Parameters:
        event - request invocation event
      • beginResetPageDisplay

        public boolean beginResetPageDisplay​(com.iplanet.jato.view.event.ChildDisplayEvent event)
        Begins password secret questions content
        Overrides:
        beginResetPageDisplay in class PWResetViewBeanBase
        Parameters:
        event - child display event
        Returns:
        true if password reset secret questions question is to displayed, false otherwise