Goodmorning all,

Can I set a security constraint saying that i need to protect all except a directory 
or a certain file?
My folder tree is quite like this one:
  myApp
   |
   + - - /images/
      |
      + - - /WEB-INF/
      |
      + -- *.jsp files

Well, what I need is to protect all, but to not protect the images folder. 
How can I do it?

Thisi is what i have in my web.xml file.

  <security-constraint>
    [...]
    <web-resource-collection>
      <web-resource-name>Banner Manager</web-resource-name>
      <url-pattern>/*</url-pattern>
        
      <http-method>DELETE</http-method>
      <http-method>GET</http-method>
      <http-method>POST</http-method>
      <http-method>PUT</http-method>
     </web-resource-collection>       
  </security-constraint>

regards,

Omar

Reply via email to