Hi,

I am trying to configure my Cocoon application
so that particular role has access only to
the app root [login.xsl, index.xsl]
but not to other directories.

But is seems that as soon as I put "/" or "/*",
it gets access to all directories under the root.

Snippet from web.xml:
<security-constraint>
     <web-resource-collection>
        <web-resource-name>App Root only</web-resource-name>
        <url-pattern>/*</url-pattern>
     </web-resource-collection>
     <auth-constraint>  
        <role-name>role1</role-name>    
     </auth-constraint>
  </security-constraint>

How do I restrict access to the root only ?


Thank you in advance,
Oleg.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to