Re: Programatic JAAS login in Tomcat 6.0.26!

2011-01-20 Thread neo21 zerro
How do I set it?Is it a configuration is my deployment descriptor or in the server.xml file?In tomcat 7 .. Thanks!

Re: Programatic JAAS login in Tomcat 6.0.26!

2011-01-20 Thread neo21 zerro
Hi Mikolaj and Mark, Thanks for the replay. The problem is that I read the specifications and I still don't know how to push the login details and the request for the main page in one call. The fact is that I need to open a browser from a swing app with the main page for my other appl

Programatic JAAS login in Tomcat 6.0.26!

2011-01-20 Thread neo21 zerro
Hello, I'm using Tomcat 6.0.26 and java 1.5 SDK and I'm trying to implement a programmatic login in tomcat. I'm using JAAS for the container based security. Is there anyone that has done this before? I've tryied to bypass it by making a post with the username and the password

Re: HTTP Status 408!

2010-06-22 Thread neo21 zerro
Thanks Pid for your time and answers. Clearly that is not an option for me...I'll wait for Tomcat 7 then :) Thanks! From: Pid To: Tomcat Users List Sent: Tue, June 22, 2010 3:41:02 PM Subject: Re: HTTP Status 408! On 22/06/2010 13:25, neo21

Re: HTTP Status 408!

2010-06-22 Thread neo21 zerro
:52:40 PM Subject: Re: HTTP Status 408! On 21/06/2010 17:36, neo21 zerro wrote: > > > Ok. Something like this ? > > > > URL protectedResource = new URL("http://localhost:8080/resource";); > *URLConnection yc = *protectedResource*.openConnecti

Re: HTTP Status 408!

2010-06-21 Thread neo21 zerro
_ From: Pid To: Tomcat Users List Sent: Mon, June 21, 2010 6:19:44 PM Subject: Re: HTTP Status 408! On 21/06/2010 15:48, neo21 zerro wrote: > Ok.I already have send params from my other application to my > Tomcat application and everything goes well, I make this with the > j_securit

Re: HTTP Status 408!

2010-06-21 Thread neo21 zerro
somehow to tell the FormAuthenticator what the saved request should be. Any ideas? Thanks!!! From: Pid To: Tomcat Users List Sent: Mon, June 21, 2010 5:30:00 PM Subject: Re: HTTP Status 408! On 21/06/2010 15:20, neo21 zerro wrote: > Hello, > > Proble

Re: HTTP Status 408!

2010-06-21 Thread neo21 zerro
n) do you think this could be an > issue? > > > > > > From: Mark Thomas > To: Tomcat Users List > Sent: Thu, June 10, 2010 10:35:48 PM > Subject: Re: HTTP Status 408! > > On 10/06/2010 15:39, neo21 zerro wrote: > > > > Yes I am requesting a protec

Re: HTTP Status 408!

2010-06-11 Thread neo21 zerro
List Sent: Thu, June 10, 2010 10:35:48 PM Subject: Re: HTTP Status 408! On 10/06/2010 15:39, neo21 zerro wrote: > > Yes I am requesting a protected resource but I don't know why is this > happening. > > > I've tried to set all sort of cookies in my browser but no

Re: HTTP Status 408!

2010-06-10 Thread neo21 zerro
1, On 6/9/2010 4:52 PM, neo21 zerro wrote: > I'm using Tomcat 6.0.26 with java 1.5 JDK. > > I've developed a JAAS login module for my application and when I try > to login in my app a strange error occur's: HTTP Status 408:The time > allowed for the login process has

Re: HTTP Status 408!

2010-06-10 Thread neo21 zerro
user > > /forms/login.html > /forms/error.html > > > > User Role for authentication > user > > > > > > ____ > From: Pid > To: Tomcat Users List > Sent: Thu, June 10, 2010 3:43:18 PM > Subject: Re: HTTP Status 408! > > On 10/06/2010 12:0

Re: HTTP Status 408!

2010-06-10 Thread neo21 zerro
10/06/2010 12:06, neo21 zerro wrote: > Hello , > > > Good news I found a way to get rid of the error with this code in my JASS: > session = req.getSession(true); > > > But now I get another strage error : > > HTTP Status 400 - Invalid direc

Re: HTTP Status 408!

2010-06-10 Thread neo21 zerro
, June 10, 2010 12:13:34 PM Subject: Re: HTTP Status 408! On 09/06/2010 21:52, neo21 zerro wrote: > Hello, > > I'm using Tomcat 6.0.26 with java 1.5 JDK. > > >I've developed a JAAS login module for my application and when I try > to login in my app a strange

Re: HTTP Status 408!

2010-06-10 Thread neo21 zerro
Hello Pid , Thanks for your time! I put this in my web.xml : 30 From: Pid To: Tomcat Users List Sent: Thu, June 10, 2010 12:13:34 PM Subject: Re: HTTP Status 408! On 09/06/2010 21:52, neo21 zerro wrote: > Hello, >

HTTP Status 408!

2010-06-09 Thread neo21 zerro
Hello, I'm using Tomcat 6.0.26 with java 1.5 JDK. I've developed a JAAS login module for my application and when I try to login in my app a strange error occur's: HTTP Status 408:The time allowed for the login process has been exceeded. If you wish to continue you must either clic