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

Last updated on MARCH 08, 2017

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/

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.


Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms