2 Replies Latest reply on Jul 8, 2003 12:18 PM by ereze

    FORM Login directly from Site Start Page

    ereze

      I have a Web/EJB application, and I want to enable to login from the site starting page.
      I am using the JAAS for handling the security issues.

      Since the j_security_check FORM auth-method is only invoked indirectly by Tomcat (If I am not mistaken), how can I achieve this functionality?

      Thanks,
      Erez

        • 1. Re: FORM Login directly from Site Start Page
          andyjeff

          In your web.xml file for your web app you could define that all servlet/JSP pages require a particular 'role' which you would assign to all users of your system. This will force the system to authenticate when it receives any request (and hence bring up the j_security_check FORM page). Is this what you want ?

          • 2. Re: FORM Login directly from Site Start Page
            ereze

            It's not exactly what I need, though currently that's what I did. What happens if my login page contains other links which does not require logging in, or links to other sites? What happens if the user selects this links, regarding Tomcat which is on hold with the original "forced protected" page?

            Thanks,
            Erez