3 Replies Latest reply on Jul 21, 2009 2:37 AM by anil3379

    form based authentication issue with jboss

    anil3379

      steps to reproduce the issue.
      1) login application with user name and password
      2) do some operations
      3) click on log of
      4) re login to application with user name and password. error is as below.
      HTTP Status 400 - Invalid direct reference to form login page
      type Status report
      message Invalid direct reference to form login page
      description The request sent by the client was syntactically incorrect (Invalid direct reference to form login page).

      Pls suggest me on this.
      Here is the login.jsp code.







      <a title="<h:outputText value="#{msgs.header_login_prompt}"/>" href="javascript:submitAction();" class="button"><h:outputText value="#{msgs.header_login_prompt}"/>


      function submitAction() {
      document.getElementById("loading").style.visibility = 'visible';
      document.getElementById("loading").style.display = 'block';
      document.loginform.submit();
      }


      when i click on signout, I am invalidating session using session.invalidate();

      Please give me some directions on solving this issue.