Hello guys. Well this topic is getting long, but I didn't want to start 
another, JAAS & SEAM is exactly what I want to talk about. 

This is the thing: I've got an existing JSP/J2EE "legacy" web app. This has a 
working JAAS security schema working just fine, with user, roles, etc. I want 
now my new SEAM application to just "use" the existing security domain from my 
old web-app. I did something more of less following SunFire and Dr. Coetzee's 
examples, only that I used DatabaseServerLoginModule to perform authentication. 

Now I have just everything "protected" on a URL basis: everything in under the 
security domain, and user has to authenticate when trying to access protected 
web resources. But I need something more fine-grained.

My question is now: how do I "use" my security framework from within SEAM? I 
mean, I'd like to customize the views according to the roles the user have 
(e.g. show a given button only to Admins), so I would like to know any moment 
what roles the user have, for example. Is there a way to do this?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936918#3936918

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936918


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to