on 11-09-2005 5:38 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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."... ?!?
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.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.