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-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 Quanxin, zhu quanxin wrote: > My aim is that tomcat could authenticate users without promoting any > login form. That is usually known as "not authenticating". > I give out the userID and password in the servlet code. when users > navagate the servl

Re: Programmic login to tomcat using username and password

2007-09-06 Thread David Delbecq
gt;>>> >>>> >>>> Many Thanks! >>>> Zhu quanxin >>>> >>>> >>>> >>>> 2007/9/5, David Delbecq : >>>> >>>> >>>>> http://tomcat.apache.org/tomcat-5.5-doc/config/ho

Re: Programmic login to tomcat using username and password

2007-09-05 Thread zhu quanxin
hare credential between webapps. > > >> > > >> Note: it's not a "programamtic". It just let all your application share > > >> a same authentification token. Once you authenticate using J2EE > > >> compliant method in application X, it's

Re: Programmic login to tomcat using username and password

2007-09-05 Thread Dave
login into > >> other application Y on same host that is also using J2EE compliant > >> authentification mecanism. > >> > >> En l'instant pr¨¦cis du 05/09/07 16:51, ÖìÈ«öÎ s'exprimait en ces termes: > >> > >>> hi, everyone > >&

Re: Programmic login to tomcat using username and password

2007-09-05 Thread zhu quanxin
lication X, it's not necessary to login into > >> other application Y on same host that is also using J2EE compliant > >> authentification mecanism. > >> > >> En l'instant précis du 05/09/07 16:51, 朱全鑫 s'exprimait en ces termes: > >> >

Re: Programmic login to tomcat using username and password

2007-09-05 Thread David Delbecq
y to login into >> other application Y on same host that is also using J2EE compliant >> authentification mecanism. >> >> En l'instant précis du 05/09/07 16:51, 朱全鑫 s'exprimait en ces termes: >> >>> hi, everyone >>> >>> I m

Re: Programmic login to tomcat using username and password

2007-09-05 Thread 朱全鑫
it en ces termes: > > hi, everyone > > > > I meet a problem about programmic login. I setup a tomcat server, > > and deploy two WAR files (applications) on it. One of the application > > A is protected by server authentication, and the other application B > >

Re: Programmic login to tomcat using username and password

2007-09-05 Thread David Delbecq
. I setup a tomcat 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

Programmic login to tomcat using username and password

2007-09-05 Thread 朱全鑫
, 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 me. Thanks Zhu