Re: FormAuthenticator, Tomcat restart

2015-05-28 Thread André Warnier
Leonid Rozenblyum wrote: Hello, Christopher! I indeed meant this "The Tomcat restart between showing and submitting the login page is the source of the problem." Your explanation clarifies the core of the issue well! I'll dig into the Tomcat documentation deeper to find out how to inject that c

Re: FormAuthenticator, Tomcat restart

2015-05-28 Thread Leonid Rozenblyum
Hello, Christopher! I indeed meant this "The Tomcat restart between showing and submitting the login page is the source of the problem." Your explanation clarifies the core of the issue well! I'll dig into the Tomcat documentation deeper to find out how to inject that custom login handler. Thank

Re: Tomcat Valve doing Request.getParameter() consumes the stream

2015-05-28 Thread Violeta Georgieva
Hi, 2015-05-28 22:44 GMT+03:00 Teunissen,Peter : > > (Tomcat 7) > > I am writing a Valve that does a getParameter on the Request. At the end of the Valve/Filter chain is a servlet that calls HttpServletRequest.getReader() returning an empty buffer (because the Valve consumed it). > > I tried hacki

Tomcat Valve doing Request.getParameter() consumes the stream

2015-05-28 Thread Teunissen,Peter
(Tomcat 7) I am writing a Valve that does a getParameter on the Request. At the end of the Valve/Filter chain is a servlet that calls HttpServletRequest.getReader() returning an empty buffer (because the Valve consumed it). I tried hacking a wrapper for the Request together and pass that into t

RE: Problem specifying cipher suites in tomcat6

2015-05-28 Thread Caldarale, Charles R
> From: Ramon Pfeiffer [mailto:ramon.pfeif...@uni-tuebingen.de] > Subject: Problem specifying cipher suites in tomcat6 > I'm currently trying to specify a list of cipher suites to be used by my > connector in Tomcat 6.0.24. > Anybody can shed some light on what I did wrong? Using a version of

Problem specifying cipher suites in tomcat6

2015-05-28 Thread Ramon Pfeiffer
Hi all, I'm currently trying to specify a list of cipher suites to be used by my connector in Tomcat 6.0.24. However, when testing the connector with ssllabs.com, a bunch of ciphers I didn't specify show up. Here is the connector config: Just for the sake of the argument, I specified only

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vijay, On 5/28/15 8:21 AM, Vijay Kumar wrote: > I am referring User_Id as Linux User_id where we installed Tomcat. > > My Oracle Database don't know about this user_id. Have you tried this? I know that catalina.properties will do system-pr

Re: FormAuthenticator, Tomcat restart

2015-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 5/28/15 5:29 AM, Mark Thomas wrote: > On 28/05/2015 10:22, Leonid Rozenblyum wrote: >> Hello experts. >> >> We are using FormAuthenticator and face a following issue: >> >> 1) Session persistence is disabled 2) User is on login page 3) >>

Re: After applying self-signed certificate, server is up but cannot connect with browser

2015-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ori, On 5/27/15 3:29 AM, Ori Raz wrote: > Hi Christopher, We are still not capable to apply our self > certifications... > > Is there any document/guide (even a scratch notes you might have :) > ) for a walkthrough for the whole procedure (e.g A-Z

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread André Warnier
Vijay Kumar wrote: Hi , I am referring User_Id as Linux User_id where we installed Tomcat. My Oracle Database don't know about this user_id. We seem to have some communication issue. But I have sinned a lot in my life, so this will probably count as redemption points. Another try : 1) re

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread Vijay Kumar
Hi , I am referring User_Id as Linux User_id where we installed Tomcat. My Oracle Database don't know about this user_id. Thanks, Vijay G On Thu, May 28, 2015 at 3:20 PM, André Warnier wrote: > Vijay Kumar wrote: > >> Hi Mark, >> >> Please find below my exact requirement. >> >> I have Oracle

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread André Warnier
Vijay Kumar wrote: Hi Mark, Please find below my exact requirement. I have Oracle Database where my objects are installed and I have also a Linux instance where i installed Tomcat. I am currently creating connection to the Oracle database from Tomcat using 'apps' user as this schema is having a

Re: FormAuthenticator, Tomcat restart

2015-05-28 Thread Leonid Rozenblyum
The reason is : After Tomcat restart, and logging-in browser provides an old session id to server. FormAuthenticator treats it as an issue, and either sends error or landing page. On Thu, May 28, 2015 at 12:30 PM, Leonid Rozenblyum wrote: > Well the issue is that if user enters CORRECT credentia

Re: FormAuthenticator, Tomcat restart

2015-05-28 Thread Leonid Rozenblyum
Well the issue is that if user enters CORRECT credentials AFTER Tomcat restart he sees Error 400/408 On Thu, May 28, 2015 at 12:29 PM, Mark Thomas wrote: > On 28/05/2015 10:22, Leonid Rozenblyum wrote: >> Hello experts. >> >> We are using FormAuthenticator and face a following issue: >> >> 1) Ses

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread Vijay Kumar
Hi Mark, Please find below my exact requirement. I have Oracle Database where my objects are installed and I have also a Linux instance where i installed Tomcat. I am currently creating connection to the Oracle database from Tomcat using 'apps' user as this schema is having all permissions. One

Re: FormAuthenticator, Tomcat restart

2015-05-28 Thread Mark Thomas
On 28/05/2015 10:22, Leonid Rozenblyum wrote: > Hello experts. > > We are using FormAuthenticator and face a following issue: > > 1) Session persistence is disabled > 2) User is on login page > 3) Restart Tomcat > 4) User tries authentication > > He receives error 400 or 408. > > While digging

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread André Warnier
Vijay Kumar wrote: Hi Mark, Thanks for your update. I should have specify my requirement little more clear to you to understand what you are saying. I have Oracle Database where my objects are installed and I have also a Linux instance where i installed Tomcat. I am currently creating connecti

FormAuthenticator, Tomcat restart

2015-05-28 Thread Leonid Rozenblyum
Hello experts. We are using FormAuthenticator and face a following issue: 1) Session persistence is disabled 2) User is on login page 3) Restart Tomcat 4) User tries authentication He receives error 400 or 408. While digging deeper we discovered that in this case Tomcat validates session id and

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread Mark Thomas
On 28/05/2015 09:59, André Warnier wrote: > Mark Thomas wrote: >> On 28/05/2015 08:26, Vijay Kumar wrote: >>> Hi, >>> >>> Is it possible to pass OS username when making connection to any >>> Database >>> from Tomcat context.xml? >> >> In theory this should be possible if you are using SPNEGO authen

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread André Warnier
Vijay, do not "top post". As you can see below, it makes it difficult to follow the conversation. Vijay Kumar wrote: Hi Mark, Thanks for your update. I should have specify my requirement little more clear to you to understand what you are saying. I have Oracle Database where my objects are i

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread André Warnier
Mark Thomas wrote: On 28/05/2015 08:26, Vijay Kumar wrote: Hi, Is it possible to pass OS username when making connection to any Database from Tomcat context.xml? In theory this should be possible if you are using SPNEGO authentication. Testing this to figure out what is required to make it w

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread Vijay Kumar
Hi Mark, Thanks for your update. I should have specify my requirement little more clear to you to understand what you are saying. I have Oracle Database where my objects are installed and I have also a Linux instance where i installed Tomcat. I am currently creating connection to the Oracle data

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread Mark Thomas
On 28/05/2015 08:26, Vijay Kumar wrote: > Hi, > > Is it possible to pass OS username when making connection to any Database > from Tomcat context.xml? In theory this should be possible if you are using SPNEGO authentication. Testing this to figure out what is required to make it work is on the T

can we pass OS username while connection Database from Tomcat

2015-05-28 Thread Vijay Kumar
Hi, Is it possible to pass OS username when making connection to any Database from Tomcat context.xml? Thanks, Vijay G