That was it David.. I was thinking / referred to the /webapps/ directory.

Thanks

On 9/26/07, David Delbecq <[EMAIL PROTECTED]> wrote:
> Greg Morphis a écrit :
> > I created the folder
> > C:\Tomcat5.5\webapps\security\
> >
> So webapp name is "security", reachabel by http://server/security/
> >    <security-constraint>
> >       <web-resource-collection>
> >          <web-resource-name>Protected Area</web-resource-name>
> >        <!-- Define the context-relative URL(s) to be protected -->
> >          <url-pattern>/security/*</url-pattern>
> >       </web-resource-collection>
> >       <auth-constraint>
> >          <!-- Anyone with one of the listed roles may access this area -->
> >        <role-name>dau</role-name>
> >       </auth-constraint>
> >     </security-constraint>
> You mapped security constraint to folder "/security/*" in your webapp.
> That means http://server/security/security/*
> You probably should, considering where you index.xhtml is, map the
> security constraint to /* :)
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to