Ah, yes, of course. Sometimes the solution is so simple. Thanks, Martin!
:-) B.
Am 07.04.2016 um 10:57 schrieb Martin Holz (for Usenet):
> Am 04/06/2016 um 10:15 PM schrieb Burkhard Graves:
>> ServletContext#getFilterRegistrations() returns an unordered map only -
>> how to programmatically find
Am 04/06/2016 um 10:15 PM schrieb Burkhard Graves:
ServletContext#getFilterRegistrations() returns an unordered map only -
how to programmatically find out the order in which the filters are
applied/registered?
I know the specs ...
The order the container uses in building the chain of filters
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chema,
On 10/16/2011 1:55 PM, Chema wrote:
>>
>>
>>
>> Frankly, if you're using Spring Security, I'd stick with it. I
>> myself am thinking of making the switch.
>>
>>
> Yes, I tried it and like it , but I need Single Sign On support and
> the so
>
>
>
> Frankly, if you're using Spring Security, I'd stick with it. I myself
> am thinking of making the switch.
>
>
Yes, I tried it and like it , but I need Single Sign On support and the
solutions what Spring Security offers are complicated to implement by me
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chema,
On 10/15/2011 4:18 PM, Chema wrote:
> This is one of the reasons I switched to SecurityFilter: there is
> a
>
>> FlexibleRealmInterface that passes-in the HttpServletRequest that
>> was used to attempt authentication. That allows you to get ni
> From: Chema [mailto:demablo...@gmail.com]
> Subject: Re: filters on j_security_check
> where I can find info about SecurityFilter ?
The first hit on Google...
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use on
This is one of the reasons I switched to SecurityFilter: there is a
> FlexibleRealmInterface that passes-in the HttpServletRequest that was
> used to attempt authentication. That allows you to get nice things
> like the ip address of the request for logging.
>
>
I'm interested on what are talking
On 13/10/2011 20:53, Caldarale, Charles R wrote:
> If you want to do programmatic security in addition to declarative security,
Or use the Servlet 3.0 APIs, supported by Tomcat.
p
signature.asc
Description: OpenPGP digital signature
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 10/13/2011 2:11 PM, Caldarale, Charles R wrote:
>> From: Alejandro Soto [mailto:smalejan...@gmail.com] Subject: Re:
>> filters on j_security_check
>
>> what i need is to know if the authentication was successful or
>
> From: Alejandro Soto [mailto:smalejan...@gmail.com]
> Subject: Re: filters on j_security_check
> call j_security_check from inside another servlet is
> just an idea, why is bad idea?
Because it's not supported by the spec; please read SRV.12. If you want to do
program
> > From: Alejandro Soto [mailto:smalejan...@gmail.com]
> > Subject: Re: filters on j_security_check
>
> > what i need is to know if the authentication was successful or not
>
> What are you going to do with said information?
>
> > I just need to know that status and ha
> From: Alejandro Soto [mailto:smalejan...@gmail.com]
> Subject: Re: filters on j_security_check
> what i need is to know if the authentication was successful or not
What are you going to do with said information?
> I just need to know that status and has to be before the au
Hi, thanks for reply, well, what i need is to know if the authentication was
successful or not, I want to get the status of that authentication, I just
need to know that status and has to be before the authentication mechanism
continues.
I am trying to invoke j_security_check from inside another s
On 13/10/2011 15:09, Alejandro Soto wrote:
> Hi, my name is Alejandro, I am working with Tomcat 7.0.20 and I need to know
> how can I apply filters to j_security_check to verify the status of login
> before continue with my authentication process.
You can't use Filters because the Authentication V
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bill,
On 4/14/2011 8:11 PM, Bill Davidson wrote:
> public MyResponseWrapper( HttpServletResponse response ) throws
> IOException {
> super(response);
> myOutputStream = new MyOutputStream(response);
> Outpu
David it is not about /mvc or /mvc/* it is about *.html filter does not
apply on /mvc/news.html
please read carefully the whole problem.
On 10/3/07, David Delbecq <[EMAIL PROTECTED]> wrote:
>
> Better use /mvc/* as url pattern than /mvc if you want it to apply to
> /mvc/news.html
> Mykola Paliyenk
Better use /mvc/* as url pattern than /mvc if you want it to apply to
/mvc/news.html
Mykola Paliyenko a écrit :
Hi all,
Do not know if this a problem with Tomcat or with Servlet 2.4 spec
I have a FilterA that redirects from /news to the /mvc/news.html
Then I have a DispatcherServelt that mapped
- Original Message -
From: "Johnny Kewl" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Sunday, July 01, 2007 11:22 AM
Subject: Re: Filters and getLastModified
You know LightBulb, been seeing your questions for a while now, you
clearly learning, bu
You know LightBulb, been seeing your questions for a while now, you clearly
learning, but you have got one serious conceptual mind on you, not enough
just to use TC, hey ;) I think its great, a guru in the making.
To try answer your question, if its HTTP, the getLastModified() that you
p
"lightbulb432" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Could somebody explain when in the request process getLastModified is
> called
> on a servlet? Is it before everything - all servlets, filters, listeners,
> anything else?
>
Of course, to be called at all, you need t
s List"
Sent: Friday, November 17, 2006 3:01 PM
Subject: Re: Filters, Security, Tomcat and Configuration
Thanks for your kind reply. I am having a bear of a time figuring out why
I can't compile my filter. It is giving me the simple java error:
com\x\view\filters\AccountFilter2.jav
ooops - must have overlooked that one...
maybe one hint:
try to use a free ide with automatic method-completion, i.e. eclipse
(http://www.eclipse.org), and you'll get around those problems in the
future
cheers
greg
--
what's puzzlin' you, is the nature of my game
-
Thanks so much for your help.
The reason for the error is beacuse the method is called getRequestURI. I
figured it out shortly after posting. Sorry to post too much.
James
On 11/17/06, Gregor Schneider <[EMAIL PROTECTED]> wrote:
Actually I doubt that you've got the file servlet-api.jar in you
Actually I doubt that you've got the file servlet-api.jar in your
classpath - it wouldn't come up with such an error-message than.
You might want to use an antscript to compile your servlet, here's a
snippet from mine:
Thanks for your kind reply. I am having a bear of a time figuring out why
I can't compile my filter. It is giving me the simple java error:
com\x\view\filters\AccountFilter2.java:20: cannot find symbol
symbol : method getURI()
location: interface javax.servlet.http.HttpServletRequest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James,
James Crosson wrote:
> I believe that a strategy will be more trouble than it is
> worth beacuse it seems you can't pass a regular expression, but so far I
> have not been able to nail down a Filter.
Filters are really the way to go, here, an
AH.
Damn, my aplogies - the mapping! Of course - *slaps forhead* :)
Thanks a stack!
Rgds,
Carl
-Original Message-
From: Reynir Hubner [mailto:[EMAIL PROTECTED]
Sent: 25 November 2005 14:23
To: Tomcat Users List
Subject: Re: Filters
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi
Carl,
I'm quite new to this but I'd guess that the Filter is
instantiated at start-up by Tomcat. You might direct
your new requests, plus the old requests for the asp
pages, to Tomcat, using say Apache. Using a filter you
could intercept *.asp and then forward/redirect to the
new resource.
--- Ca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi,
Sure, you can map your filter on to /* or something like that. That way
you can intercept any URL you like and either rewrite, or redirect.
It doesn't matter if your URL reads /something/something/default.asp or
not, if you know how to handle that
Will Hartung wrote:
First a simple question.
Do Tomcat, or servlet containers in general, set the Content-Size header for
dynamic content?
Tomcat sets it where it can. See
http://issues.apache.org/bugzilla/show_bug.cgi?id=10541 for a good
explanation.
Mark
---
30 matches
Mail list logo