Re: Programmic login to tomcat using username and password

2007-09-06 Thread David Delbecq
the application B, he could programmic login to tomcat using username and password that is coded in the application of B, and then he navigates the application A in the same browser, he never needs to response the challenge promoted by application A. I would very appreciate if someone could help

Re: Programmic login to tomcat using username and password

2007-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Quanxin, zhu quanxin wrote: I am looking for tomcat API for doing programmatic login. I read the source code of org.apache.catalina.authenticator.SingleSignOn, and find that it contains a method called reauthenticate maybe helpful. [snip]

Re: Programmic login to tomcat using username and password

2007-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Delbecq wrote: AFAIK, the J2EE specs does not allow 'spontaneous login' from webapplication and am not sure tomcat give provision for this. I think it's more like the J2EE specs do not require it, therefore Tomcat has chosen not to

Re: Programmic login to tomcat using username and password

2007-09-05 Thread 朱全鑫
) on it. One of the application A is protected by server authentication, and the other application B is not. I want to setup a scenario : when user navigates the application B, he could programmic login to tomcat using username and password that is coded in the application of B, and then he

Re: Programmic login to tomcat using username and password

2007-09-05 Thread David Delbecq
A is protected by server authentication, and the other application B is not. I want to setup a scenario : when user navigates the application B, he could programmic login to tomcat using username and password that is coded in the application of B, and then he navigates the application A in the same

Re: Programmic login to tomcat using username and password

2007-09-05 Thread zhu quanxin
server, and deploy two WAR files (applications) on it. One of the application A is protected by server authentication, and the other application B is not. I want to setup a scenario : when user navigates the application B, he could programmic login to tomcat using username and password

Re: Programmic login to tomcat using username and password

2007-09-05 Thread Dave
files (applications) on it. One of the application A is protected by server authentication, and the other application B is not. I want to setup a scenario : when user navigates the application B, he could programmic login to tomcat using username and password that is coded

Re: Programmic login to tomcat using username and password

2007-09-05 Thread zhu quanxin
(applications) on it. One of the application A is protected by server authentication, and the other application B is not. I want to setup a scenario : when user navigates the application B, he could programmic login to tomcat using username and password that is coded in the application