cancel
Showing results for 
Search instead for 
Did you mean: 

Diff. IPortalBasicRole Vs IRole

Former Member
0 Kudos

Hello All,

Please tell me what is the difference between

<b><i>com.sap.portal.pcd.pcm.roles.IPortalBasicRole</i></b>

and <b><i>com.sap.security.api.IRole</i></b>.

Is the former meant for Portal Roles and later one for UME ??

Also from where i can get required jar for

com.sap.portal.pcd.pcm.roles.IPortalBasicRole

regards

Santosh

Accepted Solutions (1)

Accepted Solutions (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Santosh,

as you expected, com.sap.security.* is the UME part, whereas the first interface belongs to the portal semantic (which also is discussed in the thread given with the last answer).

The JAR is to be found under

...\irj\root\WEB-INF\portal\portalapps\com.sap.portal.pcd.basicrolefactory\lib\com.sap.portal.pcd.basicrolefactory_api.jar

Use ClassLocator (to be found on SourceForge) to find classes and integrate them very easily into your classpath.

Hope it helps

Detlev

Former Member
0 Kudos

Hi Detlev,

Thanks again...

Detlev i want to display all UME Actions of UM Engine through API.

(eg. UME.Manage_ALL, UME.Manage_Users etc.)

I don't know how to go about it.

Please help.

regards

Santosh

PS: I promise i will give you full points, if u solve this query

Former Member
0 Kudos

Hello All,

Please help!!!

regards

Santosh

detlev_beutner
Active Contributor
0 Kudos

Hi Santosh,

these are defined within UMErole.xml.

See http://help.sap.com/saphelp_nw04/helpdata/en/5f/670db7939b8e48999d65f8a05ad611/frameset.htm for details.

Also see http://help.sap.com/saphelp_nw04/helpdata/en/a4/d39b3e09cdf313e10000000a114084/frameset.htm

Hope it helps

Detlev

PS: Santosh, your original question definitely has been answered. I think it's not very friendly to ask someone about the way to the station, and after getting the answer, continuing "OK, no 'thanks' for that, until you say when the next train to my destination will go."... ?!?

Former Member
0 Kudos

Hi Detlev,

Let me explain my question once again:

i want to display all UME Actions available in EP <b>through API</b>.

I think now i am clear..... (through API).

I know they are stored in UMEroles.xml, but i am unable to find them on the portal server.

regards

Santosh

PS: Detlev u don't worry i will anyhow give u points for ur previous response.

detlev_beutner
Active Contributor
0 Kudos

Hi Santosh,

check out (decompile) com.sap.portal.admin.util.acl.AclUtilService, method searchRoles(String umeAction), to be found within irj\root\WEB-INF\portal\portalapps\com.sap.portal.admin.util\private\lib\com.sap.portal.admin.util_core.jar

==> You could iterate over all existing roles and retrieve the "com.sap.security.core.role"/"actions" attributes value, put them into a HashSet and you're done.

Hope it helps

Detlev

Former Member
0 Kudos

Hi Detlev,

Thanks for the response.

I gave you full points

Once again Thanks

Best Regards

Santosh

detlev_beutner
Active Contributor
0 Kudos

Hi Santosh,

> Thanks for the response.

You're welcome!

> I gave you full points

Thanks for that. Anyhow, you asked different questions, and you are technically able to reward points for the help you got. Not each answer in a long thread may be of help, for sometimes "answers" just are questions to understand the problem. In this case, in all humility, I would think that the first answer was of really big help (in fact, it answered your original question).

Regards

Detlev

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Santosh

There is a code sample for IPortalBasicRole in the below specified link.check out the link to get some help.

Regards,

Yoga