[Gridsphere-users] Validating group membership checking

Valia Tsagkalidou v.tsagkalidou at di.uoa.gr
Fri Nov 3 08:18:09 PST 2006


Hi Eperez,


You can use the method: isUserInRole() in order to identify whether the user
belongs to a specific group.

For further information check the following link:
http://www.bluesunrise.com/portlet-api/javax/portlet/PortletRequest.html#isU
serInRole(java.lang.String) 


Cheers,
Valia.



-----Original Message-----
From: gridsphere-users-bounces at gridsphere.org
[mailto:gridsphere-users-bounces at gridsphere.org] On Behalf Of eperez
Sent: Friday, November 03, 2006 5:59 PM
To: gridsphere-users at gridsphere.org
Subject: [Gridsphere-users] Validating group membership checking

I want to know from within my java portlet class if the logged user
(request.getRemoteUser()) is member of some specific X or Y group. How can I
achieve this (any procedure that does it)?
_______________________________________________
Gridsphere-users mailing list
Gridsphere-users at gridsphere.org
http://lists.gridsphere.org/mailman/listinfo/gridsphere-users



More information about the Gridsphere-users mailing list