Hi,
I am working on JSP dynpage and facing some problems.
Problem:
The Portal Application contains two JSPDynPage Components. Both have been defined in low_safety security zone. I want to access the second component (ViewCompensationStmt) from the first component(CompensationStmt).
Detail from portalapp.xml
<component name="CompensationStmt">
<component-config>
<property name="ClassName" value="com.mss.compstmt.CompensationStmt"/>
<property name="SecurityZone" value="com.mss.compstmt.CompensationStmt/low_safety"/>
<component name="ViewCompensationStmt">
<component-config>
<property name="ClassName" value="com.mss.compstmt.ViewCompensationStmt"/>
<property name="SecurityZone" value="com.mss.compstmt.ViewCompensationStmt/low_safety"/>
The Portal Runtime throws an exception when I try to call second component, the logs show
Caused by: com.sapportals.portal.pcd.gl.PermissionControlException: Access denied (Object(s): com.sap.portal.system/security/com.mss.compstmt.ViewCompensationStmt/low_safety)
I modified the portalapp.xml, added a sharing reference to second component.
<application-config>
<property name="PrivateSharingReference" value="com.sap.portal.htmlb,com.sap.portal.ivs.connectorservice,com.sap.portal.usermanagement,com.sap.portal.usermapping,landscape"/>
<property name="SharingReference" value="com.mss.compstmt.ViewCompensationStmt"/>
</application-config>
But now the application is not rendered inside portal and the logs show
com.sapportals.portal.prt.core.broker.PortalApplicationNotFoundException: Could not find portal application com.mss.compstmt.ViewCompensationStmt
Any help.
Thanks,
Suresh
Edited by: Suresh Yadav on Feb 4, 2010 9:08 AM