Tomcat Single Sign On (SSO)

Hi,
I have been reading about Tomcat's SSO and have questions on the following scenario:
There are three web applications A, B and C. Each web application has its own administrators, managers, registered users etc and are independent of each other, i.e.
User1 can be an administrator in A, but only a registered user in B and C.

But, according to the documentation
http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Single%20Sign%20On
"Once authenticated, the roles associated with this user will be utilized for access control decisions across all  of the associated web applications..."

If User1 gets logged in, will he be
Case1: administrator in all web applications
(OR)
Case2: administrator in A and regular users in B and C (as intended)? Any explanations are appreciated.

If it is Case2 and as I have roles for a user in LDAP, how does it get translated to the web application, i.e. how does tomcat tell web application A that User 1 is administrator and B and C that he is a regular user?
Purdue_PeteAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gibu GeorgeChief Technology OfficerCommented:
I think it is Case1 as the documentation says all the applications should use the same Realm.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Purdue_PeteAuthor Commented:
gibu_george - Yes - that's what I think so too

experts - Any experts who have tried  Tomcat's SSO and can confirm gibu_george's answer???
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.