Re: Programatic JAAS login in Tomcat 6.0.26!

2011-01-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 1/20/2011 12:28 PM, Mark Thomas wrote: > On 20/01/2011 17:25, neo21 zerro wrote: >> 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 detail

Re: Programatic JAAS login in Tomcat 6.0.26!

2011-01-20 Thread Pid
On 1/20/11 5:41 PM, neo21 zerro wrote: > How do I set it?Is it a configuration is my deployment descriptor or in the > server.xml file?In tomcat 7 .. If you're using Tomcat 7.0, just login programmatically using the HttpServletRequest.login(user, pass) method. p 0x62590808.asc Descripti

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 Mark Thomas
ge is a simple html page. > > > > > Thanks a lot for your time! > > > > > > From: Mikolaj Rydzewski > To: Tomcat Users List > Sent: Thu, January 20, 2011 5:53:04 PM > Subject: Re: Programatic JAAS login in Tomcat 6.0.26! &g

Re: Programatic JAAS login in Tomcat 6.0.26!

2011-01-20 Thread neo21 zerro
your time! From: Mikolaj Rydzewski To: Tomcat Users List Sent: Thu, January 20, 2011 5:53:04 PM Subject: Re: Programatic JAAS login in Tomcat 6.0.26! On Thu, 20 Jan 2011 15:16:15 +, Mark Thomas wrote: > Read up on FORM auth in the Servlet spec. Th

Re: Programatic JAAS login in Tomcat 6.0.26!

2011-01-20 Thread Mikolaj Rydzewski
On Thu, 20 Jan 2011 15:16:15 +, Mark Thomas wrote: Read up on FORM auth in the Servlet spec. There is a specific sequence of events that looks roughly like (for a successful auth): 1. Browser sends original request 2. Server saves request, creates session and responds with login page 3

Re: Programatic JAAS login in Tomcat 6.0.26!

2011-01-20 Thread Mark Thomas
On 20/01/2011 10:02, neo21 zerro wrote: > 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

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