tion 4.4)
indicating the SOAP processing error."
George
[1] http://www.w3.org/TR/2000/NOTE-SOAP-2508/#_Toc478383529
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Monday, June 29, 2015 8:56 AM
To: Tomcat Users List
Subject: Re: [OT] Re: Filter behaviour
Geo
st
Subject: [OT] Re: Filter behaviour
On Sat, Jun 27, 2015 at 8:37 AM, Konstantin Kolinko
wrote:
public void doFilter(ServletRequest request, ServletResponse
response,
FilterChain chain) throws IOException, ServletException
{
boolean iAmNotAuthorized = true;
if (iAmNot
For SOAP, you *MUST* send back 500 or 400 with your SOAP fault back.
[1] http://www.w3.org/TR/soap12-part2/#tabresstatereccodes
-Original Message-
From: Leo Donahue [mailto:donahu...@gmail.com]
Sent: Saturday, June 27, 2015 11:45 PM
To: Tomcat Users List
Subject: [OT] Re: Filter
Leo Donahue wrote:
On Sat, Jun 27, 2015 at 8:37 AM, Konstantin Kolinko
wrote:
public void doFilter(ServletRequest request, ServletResponse
response,
FilterChain chain) throws IOException, ServletException
{
boolean iAmNotAuthorized = true;
if (iAmNotAuthorized)
On Sat, Jun 27, 2015 at 8:37 AM, Konstantin Kolinko
wrote:
> >>
> > public void doFilter(ServletRequest request, ServletResponse
> response,
> > FilterChain chain) throws IOException, ServletException
> > {
> > boolean iAmNotAuthorized = true;
> >
> > if (iAmNotAuthorized)
>>
>> > The scenario I'm working on is a web service. The web service has
>> > three filters, in order they are: throttle filter, authentication
>> > filter, logging filter.
>> >
>> > If a user is not authenticated, the following code "should" break
>> > out of the filter chain and redirect the u
On Fri, Jun 26, 2015 at 11:09 AM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Leo,
>
> >
> > If I use a return statement to break out of a filter, what should
> > happen? Will the next filter run?
>
> No. The Filter is responsi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Leo,
On 6/26/15 10:38 AM, Leo Donahue wrote:
> On Fri, Jun 26, 2015 at 1:42 AM, André Warnier
> wrote:
>
>>
>> I must admit that your question above was a bit difficult to
>> follow, in terms of if/then/else/unless, particularly late at
>> night.
2015-06-25 23:11 GMT+03:00 Leo Donahue :
> public void doFilter(ServletRequest request, ServletResponse response,
> FilterChain chain) throws IOException, ServletException
>
> Assuming you have only a single Filter configured in web.xml
>
> Assuming you have logic in a doFilter that checks the valu
On Fri, Jun 26, 2015 at 1:42 AM, André Warnier wrote:
>
> I must admit that your question above was a bit difficult to follow, in
> terms of if/then/else/unless, particularly late at night.
Yes, you are right. Sorry about that. I was trying to walk the line
between saying too much and not eno
Leo Donahue wrote:
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException, ServletException
Assuming you have only a single Filter configured in web.xml
Assuming you have logic in a doFilter that checks the value of a boolean.
If the boolean
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException, ServletException
Assuming you have only a single Filter configured in web.xml
Assuming you have logic in a doFilter that checks the value of a boolean.
If the boolean is true, then assume
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Jose,
On 2/27/14, 3:22 PM, Christopher Schultz wrote:
> Jose,
>
> On 2/27/14, 1:29 PM, Jose María Zaragoza wrote:
>> 2014-02-27 17:24 GMT+01:00 Konstantin Kolinko
>> :
>>> 2014-02-27 18:31 GMT+04:00 Jose María Zaragoza
>>> :
And what d
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Jose,
On 2/27/14, 1:29 PM, Jose María Zaragoza wrote:
> 2014-02-27 17:24 GMT+01:00 Konstantin Kolinko
> :
>> 2014-02-27 18:31 GMT+04:00 Jose María Zaragoza
>> :
>>>
>>> And what do you recommend to me for forcing to return a
>>> Content-Type ? Som
2014-02-27 17:24 GMT+01:00 Konstantin Kolinko :
> 2014-02-27 18:31 GMT+04:00 Jose María Zaragoza :
>>
>> And what do you recommend to me for forcing to return a Content-Type ?
>> Some weird clients require it
>>
>> If I cannot do it with a Filter , where can I do it ?
>>
>
> You can do it in a Fil
2014-02-27 18:31 GMT+04:00 Jose María Zaragoza :
>
> And what do you recommend to me for forcing to return a Content-Type ?
> Some weird clients require it
>
> If I cannot do it with a Filter , where can I do it ?
>
You can do it in a Filter.
As I said,
1. The header must be set before writing a
Did you try in the servlet?
2014-02-27 15:31 GMT+01:00 Jose María Zaragoza :
> Thanks
>
>
> And what do you recommend to me for forcing to return a Content-Type ?
> Some weird clients require it
>
> If I cannot do it with a Filter , where can I do it ?
>
> 2014-02-27 12:41 GMT+01:00 Konstantin
Thanks
And what do you recommend to me for forcing to return a Content-Type ?
Some weird clients require it
If I cannot do it with a Filter , where can I do it ?
2014-02-27 12:41 GMT+01:00 Konstantin Kolinko :
> 2014-02-27 12:18 GMT+04:00 Jose María Zaragoza :
>> Hello:
>>
>> I'm using Tomcat
2014-02-27 12:18 GMT+04:00 Jose María Zaragoza :
> Hello:
>
> I'm using Tomcat 6.0.24 and I'm testing how to return Content-Length header
> So I've defined a Filter and declared in web.xml of my web application
>
> If I do this:
>
> HttpServletResponse httpResponse = (HttpServletResponse) response;
This is a notification from the Help Desk.
Ticket closed by Sudhindra Rao.
On Feb 27, 2014 @ 02:16 pm, Sudhindra Rao wrote:
Ticket closed.
==Ticket History==
On Feb 27, 2014 @ 02:10 pm, it Support wrote:
Assigned to Sudhindra Rao.
--
On Feb 27, 2014 @ 01:43 pm, demablo...@gmail.com wrote
This is a notification from the Help Desk.
Ticket was assigned to Sudhindra Rao.
On Feb 27, 2014 @ 02:10 pm, it Support wrote:
Assigned to Sudhindra Rao.
==Ticket History==
On Feb 27, 2014 @ 01:43 pm, demablo...@gmail.com wrote:
Hello:
I'm using Tomcat 6.0.24 and I'm testing how to return Co
Hello:
I'm using Tomcat 6.0.24 and I'm testing how to return Content-Length header
So I've defined a Filter and declared in web.xml of my web application
If I do this:
HttpServletResponse httpResponse = (HttpServletResponse) response;
chain.doFilter(request, response);
httpResponse.setHeader("Co
2012/5/29 Alexander Landsnes Keül :
> So my expectations contain the only bugs in this instance :)
>
> Thanks. I suspected it might be something like that, but I hadn't seen
> anything about it. Now to work around the issue, we've been rather dependent
> on how it worked in the past but I believe
nge.
Alex
-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Sent: 29. mai 2012 16:10
To: Tomcat Users List
Subject: Re: Tomcat filter behaviour
2012/5/29 Alexander Landsnes Keül :
> I'm seeing some behaviour from Tomcat 7 that I'd classify as &quo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alexander,
On 5/29/12 10:00 AM, Alexander Landsnes Keül wrote:
> 2) I moved the config from the shared web.xml and over to a
> specific webapp that needs the remote user. This works like a
> charm, more or less as expected. without SSO.
So, both and
There was a copy-paste artifact on my first mail that made no sense at the end
of 2). Otherwise this is identical to my previous mail.
I'm seeing some behaviour from Tomcat 7 that I'd classify as "funky" when it
comes to servlet filters. First off the technical setup
JDK 1.7.0_03 (64-bit)
Tomc
2012/5/29 Alexander Landsnes Keül :
> I'm seeing some behaviour from Tomcat 7 that I'd classify as "funky" when it
> comes to servlet filters. First off the technical setup
>
> JDK 1.7.0_03 (64-bit)
> Tomcat 7.0.26 (64-bit) binaries
> 4 instances of Tomcat share those binaries, each installed as a
I'm seeing some behaviour from Tomcat 7 that I'd classify as "funky" when it
comes to servlet filters. First off the technical setup
JDK 1.7.0_03 (64-bit)
Tomcat 7.0.26 (64-bit) binaries
4 instances of Tomcat share those binaries, each installed as a pretty standard
windows service using service
28 matches
Mail list logo