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: Tomcat subdirectories BASIC authentication
From: g.fatig...@cineca.it
To: users@tomcat.apache.org
And very very strage
sujets à la manipulation, nous ne pouvons accepter
aucune responsabilité pour le contenu fourni.
Date: Sat, 15 Aug 2009 19:56:18 +0200
Subject: Re: Tomcat subdirectories BASIC authentication
From: g.fatig...@cineca.it
To: users@tomcat.apache.org
And very very strage, with user_1 pages has
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 authentication
From: g.fatig...@cineca.it
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
Gabriele Fatigati wrote:
Wehere is a mistake?
You don't need to include the context path in the url-pattern elements.
Is it possible to do this in Tomcat 5.5?
This is possible in all Tomcat versions.
Mark
-
To
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 ma...@apache.org:
Gabriele Fatigati wrote:
Wehere is a mistake?
You don't need to include the context path
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
I kow what is url-pattern 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 url-pattern elements
And i renew my question :), What i have to write in url-pattern in
this specific case?
2009/8/15
Gabriele Fatigati wrote:
I kow what is url-pattern 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
@tomcat.apache.org
Subject: Re: Tomcat subdirectories BASIC authentication
Gabriele Fatigati wrote:
I kow what is url-pattern 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
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 read
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
There are may things you can't do with Tomcat. However, Tomcat can do this.
if you
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 url-pattern tag , but simply i don't understand how i
have to write security coinstraints.
As Mark said, you must
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
Mark Thomas wrote:
Gabriele Fatigati wrote:
I kow what is url-pattern 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
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 d...@cornell.edu:
Mark Thomas wrote:
Gabriele Fatigati wrote:
I kow what is url-pattern tag , but simply i
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?
Bad reference to the css maybe?
Yes, to the css.
2009/8/15 Mark Thomas ma...@apache.org:
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
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 g.fatig...@cineca.it:
Bad reference to the css maybe?
Yes, to the css.
2009/8/15 Mark Thomas ma...@apache.org:
Gabriele Fatigati wrote:
And very very strage, with user_1 pages has correct layout, with user 2 no!
2009/8/15 Gabriele Fatigati g.fatig...@cineca.it:
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
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 g.fatig...@cineca.it:
Mm,
there are css link in the source of the page. But
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 ma...@apache.org:
Gabriele Fatigati
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 is not
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
Subject: Re: Tomcat subdirectories BASIC
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 and not implemented
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
26 matches
Mail list logo