Protected Area

2002-01-11 Thread Herzig, David

> Dear Tomcat Users
> 
> I tried to define a protected area, so I can only access my web
> application with a username and password. The Tomcat example
> /jsp/protected/security is working wothout problems, but not with my
> application. I added the following lines to the web.xml file, but it's not
> working. Can anybody give me some help?
> 
> Many thanks in Advance
> David
> 
> File: web.xml
>     ...
> 
>   
>  Protected Area
>
>  
>
>DELETE
>  GET
>  POST
>PUT
>   
>   
>  
>  tomcat
>role1
>   
> 
> 
> 
> 
> 
>   BASIC
>   Restricted Stuff
> 
> 
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: Protected Area

2002-01-11 Thread Dan Kha

Hi David,

Yeah, I see your url-pattern line is commented out.
It should be something like this...

 /jsp/security/protected/*

Hope this helps,
dan

On Fri, 11 Jan 2002, Herzig, David wrote:

> > Dear Tomcat Users
> >
> > I tried to define a protected area, so I can only access my web
> > application with a username and password. The Tomcat example
> > /jsp/protected/security is working wothout problems, but not with my
> > application. I added the following lines to the web.xml file, but it's not
> > working. Can anybody give me some help?
> >
> > Many thanks in Advance
> > David
> >
> > File: web.xml
> > ...
> > 
> >   
> >  Protected Area
> >  
> >  
> >  
> >  DELETE
> >  GET
> >  POST
> >  PUT
> >   
> >   
> >  
> >  tomcat
> >  role1
> >   
> > 
> >
> >
> > 
> > 
> >   BASIC
> >   Restricted Stuff
> > 
> >
> >
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>