Thanks,
I commented off SingleSignOn as instructed on the link.
<Host name="localhost" ...>
...
<Valve className="org.apache.catalina.authenticator.SingleSignOn"
debug="0"/>
...
</Host>
However, this makes authentication activated only once although the
applications have different realms.
For example,
App1 and app2 have the same realm in web.xml, I just need to login once which
is what I want to see.
however app3 has different realm in web.xml. when I change the url from app1 to
app3,
it didn't trigger the login page and allowed me in.
is there anything else missing?
Jill
-----Original Message-----
From: Christopher Schultz [mailto:[email protected]]
Sent: Wednesday, April 22, 2009 11:11 AM
To: Tomcat Users List
Subject: Re: form based authentication
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jill,
On 4/22/2009 10:46 AM, Jill Han wrote:
> I tried to use form based authentication with JNDIRealm. What I want to
> accomplish is to have the two applications with the same realm be
> authenticated once. It seems the tomcat ignored the realm. I have to
> login twice.
You're looking for SSI (Single Sign-On):
http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Single%20Sign%20On
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAknvQXYACgkQ9CaO5/Lv0PCwYgCdE1SF1t1FR4NLwZ+VqcHWftQl
XE0AoLwID8h7EN052aW0eS2ifmSfeOBN
=Nkum
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]