| Author |
How to check the User's Groups in JSR 168 portlet?
|
GaneshKumar Kumar
Greenhorn
Joined: May 23, 2006
Posts: 24
|
|
Hi, I am developing JSR 168 portlets for installing in WPS 5.1. In one portlet I need to check the group where the user belongs to? Any idea how to do this? Please let me know if you know Thanks, Ganesh
|
 |
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Joined: Aug 26, 2006
Posts: 4967
|
|
How do you want to do it? One way is to use the PUMA APIs. Another might be to actually use a Java connection to the LDAP database. PUMA might be best. -Cameron McKenzie
|
Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
|
 |
GaneshKumar Kumar
Greenhorn
Joined: May 23, 2006
Posts: 24
|
|
Hi Cameron, I want to do it by using PUMA. May I use it in JSR 168 portlet? If so can I import the package and directly use it in the CustomPortlet.java class Or any changes to be done in Portal properties files. Please let me know. Thanks. Ganesh
|
 |
Adam Martin
Greenhorn
Joined: Jun 16, 2006
Posts: 4
|
|
If your using IBM WebSphere, try this code to access PUMA. I'm sure the code is similar with the other environments.
|
SCJP 1.4<br />SCWCD 1.4
|
 |
Adam Martin
Greenhorn
Joined: Jun 16, 2006
Posts: 4
|
|
oops! sorry for the double post. [ June 01, 2007: Message edited by: Adam Martin ]
|
 |
 |
|
|
subject: How to check the User's Groups in JSR 168 portlet?
|
|
|