On 09.08.2011 23:08, André Warnier wrote:
> Rainer Jung wrote:
>> On 09.08.2011 20:45, Lataxes, Karl wrote:
>> Are you aware of the fact, that a cookie *is* an additional HTTP header,
>> namely the header named "Cookie"? So if you can set HTTP headers to
>> values you can define, then you *can* sen
- Original Message -
> From: sodastream
> To: users@tomcat.apache.org
> Cc:
> Sent: Tuesday, August 9, 2011 12:52 PM
> Subject: Adding two-factor authentication to a Tomcat app??
>
>
> Given: Commercial application running as a servlet on Tomcat. Tomcat
> configuration (server.xml, web
Rainer Jung wrote:
On 09.08.2011 20:45, Lataxes, Karl wrote:
Our clients cannot send or process JSESSIONIDs as they are not web
browsers, but proprietary equipment running embedded software that
sends HTTP POST messages to a servlet on our internal network. The
servlet keeps track of sessions i
Be reassured : your questions are not stupid.
It is just that your situation is a bit unusual, so it takes us time to figure out
precisely what you want to achieve, and to try to fit this (if it has to be fitted) to how
Tomcat handles sessions and session-id's.
But maybe this is just a misconcep
On 09.08.2011 20:45, Lataxes, Karl wrote:
> Our clients cannot send or process JSESSIONIDs as they are not web
> browsers, but proprietary equipment running embedded software that
> sends HTTP POST messages to a servlet on our internal network. The
> servlet keeps track of sessions internally by a
Given: Commercial application running as a servlet on Tomcat. Tomcat
configuration (server.xml, web.xml) is open and may be modified. The app
handles its own authentication via a conventional username/password form on
a login page. I wanted to add a second factor to the authentication without
modi
tomcat docs for connectors say:
scheme: This sets the protocol name as accessed by the
ServletRequest.getScheme method. The scheme defaults to http.
Is there any other way scheme can be changed by using some Http
Headers instead of doing it in connector?
-
Our clients cannot send or process JSESSIONIDs as they are not web browsers,
but proprietary equipment running embedded software that sends HTTP POST
messages to a servlet on our internal network. The servlet keeps track of
sessions internally by assigning a session id which is contained within
Mohit Anchlia wrote:
I think I resolved it. It looks like if I keep the "Host" header set
to incoming request it works just fine. I am assuming Proxies do the
same thing. And it also looks like HttpServletRequest.getRequestURL
uses http header Host to get the host name.
Sound a bit like the Har
I think I resolved it. It looks like if I keep the "Host" header set
to incoming request it works just fine. I am assuming Proxies do the
same thing. And it also looks like HttpServletRequest.getRequestURL
uses http header Host to get the host name.
On Mon, Aug 8, 2011 at 10:50 PM, Mohit Anchlia
On 22/07/64 2:59 PM, Pid wrote:
On 08/08/2011 13:46, Dave Filchak wrote:
Hi,
I had to switch hosts and one of the sites that I inherited is a tomcat
site. After the move most of the site is fine but on a number of links,
I get the following error:
Error reading properties file: Please check th
Mohit Anchlia wrote:
On Tue, Aug 9, 2011 at 1:30 AM, Pid wrote:
On 08/08/2011 20:36, Mohit Anchlia wrote:
I need to re-write URL using some Http Headers. Can I use any headers?
Or only the one listed here?
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
Is HTTP_HOST always set? I print
2011/8/9 Mohit Anchlia :
>> Is this a Tomcat or an HTTPD question?
>
> tomcat. As I understand tomcat support URL Rewriting similar to mod_rewrite.
>
No, it does not.
There are 3rd party external filters that may do the job, e.g.
http://www.tuckey.org/urlrewrite/
but they are not a part of Tomca
On Tue, Aug 9, 2011 at 1:30 AM, Pid wrote:
> On 08/08/2011 20:36, Mohit Anchlia wrote:
>> I need to re-write URL using some Http Headers. Can I use any headers?
>> Or only the one listed here?
>>
>> http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
>>
>> Is HTTP_HOST always set? I printed head
On 08/08/2011 20:36, Mohit Anchlia wrote:
> I need to re-write URL using some Http Headers. Can I use any headers?
> Or only the one listed here?
>
> http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
>
> Is HTTP_HOST always set? I printed headers of my servlet and this is
> what I see. I used
15 matches
Mail list logo