-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
-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]
-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
gt;>>>
>>>>
>>>> Many Thanks!
>>>> Zhu quanxin
>>>>
>>>>
>>>>
>>>> 2007/9/5, David Delbecq :
>>>>
>>>>
>>>>> http://tomcat.apache.org/tomcat-5.5-doc/config/ho
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
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
> >&
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:
> >>
>
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
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
> >
. 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
, 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
11 matches
Mail list logo