0 Replies Latest reply on Dec 3, 2002 6:47 AM by roberto roberto

    security-constraint and welcome-file

    roberto roberto Novice

      i have problem with authentication when using a welcome-file

      this is my web.xml


      in my war file i have


      I want have a security constraint only for index.jsp, test2.jsp it's free for all

      When from browser i call "http:\\\mywebapp"

      the welcome file is retrieved and used, but no authentication is required (WRONG)

      if i use "http:\\\mywebapp\index.jsp" authentication is required (OK)

      if i set too in web.xml:

      all pages required authentication (test2.jsp too)

      Any idea?

      thank you