My Oracle Support Banner

changePagePermission Security API Is Ineffective - Page Security Is Not Updated (Doc ID 1954585.1)

Last updated on DECEMBER 06, 2021

Applies to:

Oracle WebCenter Portal - Version 11.1.1.8.3 and later
Information in this document applies to any platform.

Symptoms

This issue is seen in a custom Framework WebCenter Portal application.
Code has been implemented to define the security of a page created at runtime.
The code used is the same as that described in this A-team blog, and uses the changePagePermission() API:

Example Using the WebCenter Native Page Service API
http://www.ateam-oracle.com/example-using-the-webcenter-native-page-service-api/

Note: All content and s/w code on this site are offered without any warranty, or promise of operational quality or functionality.



The code is not working as expected. The page permissions do not change.

In the system-jazn-data.xml this attribute is being added:
oracle.adf.share.security.authorization.RegionPermission


Thais is what would be expected:
oracle.webcenter.security.auth.HierarchicalResourcePermission

If the system-jazn-data.xml file is changed manually to add the expected property the page security is set as expected, but this is not a supported workaround and it may lead to unpredictable results.


Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.