WebSphere Portal Server - PumaMissingAccessRightsException

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > September 2006 > PumaMissingAccessRightsException





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author PumaMissingAccessRightsException

2005-07-08, 5:54 pm

I am trying to get the groupId of the logged in user in the action class of a struts portlet application using the puma api. the code snippet is


List group = (List)pSession.getAttribute("groupID");
Iterator grpItr = group.iterator();
while(grpItr.hasNext())
{
HashMap mapobj;
Group grp = (Group)grpItr.next();
mapobj=(HashMap)pumaPrfl.getAttributes(grp,attributeKeyList);

groupID = (String)mapobj.get("cn");
grpIdList.add(groupID);
System.out.println(groupID);
}

PumaProfile.getAttribute(-,-) throws me a
PumaMissingAccessRightsException if the logged in user belongs to a group other than wpsadmins.

How to resolve this exception and get the groupId of the logged in user.
Anyone with a solution please respond at the earliest.

Rahul

2005-07-29, 6:14 pm

You can avoid this exception by giving "User" access to the USER GROUP Virtual Resource for "All Authenticated Users" or "All Portal User Groups" groups.
This gives all users access to view all the user groups.
bn_shyam

2006-09-22, 1:25 pm

Hey did you find the answer?

Shyam
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com