Parambathu Kandy, Yasser Arafat (Cognizant) wrote:
I have a requirement where I need to get the Subject instance of the
user.
To be more specific I need to get the role from the subject's principal
in a portlet.
Is the Subject instance set in the session somewhere ?

Its not in your portlet app's session. (Jetspeed does store in internally). As Jacek pointed out, you should check for roles using the standard Portlet API. If you want to get more information about a user's roles try using a Jetspeed service (RoleManager), although this is a Jetpeed-specific solution

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to