RE: Tomcat subdirectories BASIC authentication

2009-08-16 Thread Martin Gainty
pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Sun, 16 Aug 2009 10:59:22 +0200 > Subject: Re: Tomcat subdirectories BASIC authent

Re: Tomcat subdirectories BASIC authentication

2009-08-16 Thread Gabriele Fatigati
Ce message sert à l'information seulement et n'aura >> pas n'importe quel effet légalement obligatoire. Étant donné que les email >> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter >> aucune responsabilité pour le contenu fourni. >>

Re: Tomcat subdirectories BASIC authentication

2009-08-16 Thread Gabriele Fatigati
t; n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > > > > >> Date: Sat, 15 Aug 2009 19:56:18 +0200 >> Subject: Re:

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread David Smith
Try installing Firebug on an install of Firefox and watch Firebug's Net tab. You'll see all the requests, response codes and more as the page loads. Should be able to figure out what's happening in short order. --David Gabriele Fatigati wrote: > And very very strage, with user_1 pages has corre

RE: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:mgai...@hotmail.com] > Subject: RE: Tomcat subdirectories BASIC authentication > > could you read the servlet 3.0 spec at > http://jcp.org/aboutJava/communityprocess/pr/jsr315/index.html The servlet 3.0 spec is not appropriate; it's not approved

RE: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Martin Gainty
nformation seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Sat, 15 Aug 2009 19:56:18 +0200 > Subj

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Mark Thomas
Gabriele Fatigati wrote: > Dear Marc, > My question was referred to css problem.. > After BASIC authentication, sometimes page layout is wrong. So, how > can avoid this? > > Your suggested me that maybe there are wrong css link in source pages. > I've checked and are correct. Clearly, something i

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Gabriele Fatigati
Dear Marc, My question was referred to css problem.. After BASIC authentication, sometimes page layout is wrong. So, how can avoid this? Your suggested me that maybe there are wrong css link in source pages. I've checked and are correct. 2009/8/15 Mark Thomas : > Gabriele Fatigati wrote: >> And v

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Mark Thomas
Gabriele Fatigati wrote: > And very very strage, with user_1 pages has correct layout, with user 2 no! I think you need to read this. http://catb.org/~esr/faqs/smart-questions.html Mark > 2009/8/15 Gabriele Fatigati : >> Mm, >> there are css link in the source of the page. But i've checked and i

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Gabriele Fatigati
And very very strage, with user_1 pages has correct layout, with user 2 no! 2009/8/15 Gabriele Fatigati : > Mm, > there are css link in the source of the page. But i've checked and i > think are correct. > > How can avoid this behaviour? > > 2009/8/15 Gabriele Fatigati : >>> Bad reference to the c

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Gabriele Fatigati
Mm, there are css link in the source of the page. But i've checked and i think are correct. How can avoid this behaviour? 2009/8/15 Gabriele Fatigati : >> Bad reference to the css maybe? > > Yes, to the css. > > 2009/8/15 Mark Thomas : >> Gabriele Fatigati wrote: >>> Well, >>> now i can authentic

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Gabriele Fatigati
> Bad reference to the css maybe? Yes, to the css. 2009/8/15 Mark Thomas : > Gabriele Fatigati wrote: >> Well, >> now i can authenticate subdirectories. But for some strange reason, >> web pages, after BASIC authentication has very bad layout! I attached >> an example. > > Attachments are blocked

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Mark Thomas
Gabriele Fatigati wrote: > Well, > now i can authenticate subdirectories. But for some strange reason, > web pages, after BASIC authentication has very bad layout! I attached > an example. Attachments are blocked on this list so no-one can see your example. > Why? Bad reference to the css maybe?

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Gabriele Fatigati
Well, now i can authenticate subdirectories. But for some strange reason, web pages, after BASIC authentication has very bad layout! I attached an example. Why? 2009/8/15 David Smith : > Mark Thomas wrote: >> Gabriele Fatigati wrote: >> >>> I kow what is tag , but simply i don't understand how i

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread David Smith
Mark Thomas wrote: > Gabriele Fatigati wrote: > >> I kow what is tag , but simply i don't understand how i >> have to write security coinstraints. >> > > But you clearly don't know what a context path is. Read the servlet > spec. It explains this. > > >> You told me: >> >> "you don't ne

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Mark Thomas
Martin Gainty wrote: > if the proposed solution is not conformant to spec There is a spec compliant solution to the OPs question... > or is not a TC solution ...and Tomcat supports that spec compliant solution. > yelling at the op or anyone else Whose yelling? I don't see any shouting on this

RE: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Caldarale, Charles R
> From: gabriele.fatig...@gmail.com [mailto:gabriele.fatig...@gmail.com] > On Behalf Of Gabriele Fatigati > Subject: Re: Tomcat subdirectories BASIC authentication > > I kow what is tag , but simply i don't understand how i > have to write security coinstraints. As

RE: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Martin Gainty
15 Aug 2009 13:04:02 +0100 > From: ma...@apache.org > To: users@tomcat.apache.org > Subject: Re: Tomcat subdirectories BASIC authentication > > Martin Gainty wrote: > > As we are learning > > There are some things that Tomcat can do and > > some things Tomcat cannot do >

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Mark Thomas
Martin Gainty wrote: > As we are learning > There are some things that Tomcat can do and > some things Tomcat cannot do There are may things you can't do with Tomcat. However, Tomcat can do this. > if you want to look at how other webappservers accomplish url-pattern and > security-constraint re

RE: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Martin Gainty
; From: ma...@apache.org > To: users@tomcat.apache.org > Subject: Re: Tomcat subdirectories BASIC authentication > > Gabriele Fatigati wrote: > > I kow what is tag , but simply i don't understand how i > > have to write security coinstraints. > > But you clearly

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Mark Thomas
Gabriele Fatigati wrote: > I kow what is tag , but simply i don't understand how i > have to write security coinstraints. But you clearly don't know what a context path is. Read the servlet spec. It explains this. > You told me: > > "you don't need to include the context path in the elements"

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Gabriele Fatigati
I kow what is tag , but simply i don't understand how i have to write security coinstraints. You told me: "you don't need to include the context path in the elements" And i renew my question :), What i have to write in in this specific case? 2009/8/15 Mark Thomas : > Gabriele Fatigati

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Mark Thomas
Gabriele Fatigati wrote: > Hi Mark, thanks for your reply. > But i didn't understarnd what you said. Where i have to define that > user_2 can access only in subdir_1? Can you give me an example? If you don't understand terms I used, you really need to read the servlet specification. Mark > > 20

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Gabriele Fatigati
Hi Mark, thanks for your reply. But i didn't understarnd what you said. Where i have to define that user_2 can access only in subdir_1? Can you give me an example? 2009/8/15 Mark Thomas : > Gabriele Fatigati wrote: >> Wehere is a mistake? > > You don't need to include the context path in the elem

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Mark Thomas
Gabriele Fatigati wrote: > Wehere is a mistake? You don't need to include the context path in the elements. > Is it possible to do this in Tomcat 5.5? This is possible in all Tomcat versions. Mark - To unsubscribe, e-mail:

Tomcat subdirectories BASIC authentication

2009-08-15 Thread Gabriele Fatigati
Dear Tomcat users, i would ask you if is it possibile in Tomcat 5.5 to protect subdirectories of my deployed application. I'll explain an example. Suppose i have deployed my app in /application. This application has two subdirectories, subdir_1, subdir_2, but only in the url not in the file system