users@glassfish.java.net

Re: cannot Enabling SSO with Form-based Authentication in Glassfish

From: Wang Yu <Wang.Yu_at_Sun.COM>
Date: Thu, 06 Mar 2008 11:43:31 +0800
Basic Auth works even the SSO is disabled. I think it is the Browser which remembers the username and password.

Wang Yu

Jan.Luehe@Sun.COM wrote:
hi Wang Yu,

Wang Yu wrote:

Hi, Jan
Thanks for your reply.
Yes, It works. I am misleaded by the document, it said the SSO is enabled in Glassfish by default, but it is NOT.


it is enabled by default only in the enterprise profile, and disabled in the developer and
cluster profiles.

i thought you had figured this out, because you were mentioning that it worked for
basic auth. :)

in any case, i'm glad this is working for you now.

thanks,

jan


After enable the SSO int the virtual Server, It works!

Thanks and Best Regards
Wang Yu


Jan.Luehe@Sun.COM wrote:

Wang Yu wrote:

Dear all


I have written two web applications with Form-based Authentication in Glassfish.
These two applications' deployment descriptor defines the same group and use the
same authentication method.

It  worked (SSO) in "Basic" Authentication, but failed to enable SSO in Form-based Authentication.



i just verified that this works as expected on sjsas-9_1_01-fcs.

i deployed the same form-based war at 2 different context roots.

with sso disabled, i had to login to each context individually, but with
sso enabled, i only had to authenticate to one and was implicitly logged
in to the other.


jan


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net



-- 
<http://www.sun.com>     * Yu Wang *
Software Engineer
*Sun China Engineering&Research Institute*
10/F Chuangxin Plaza, Tsinghua Science Park
Beijing 100084 CHINA
Phone x82934/+86 10 82618200
Mobile 13701319042
Fax +86-10-62702127
Email Wang.Yu@Sun.COM
<http://www.sun.com>

--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net



--
Yu Wang
Software Engineer
Sun China Engineering&Research Institute
10/F Chuangxin Plaza, Tsinghua Science Park
Beijing 100084 CHINA
Phone x82934/+86 10 82618200
Mobile 13701319042
Fax +86-10-62702127
Email Wang.Yu@Sun.COM