My Oracle Support Banner

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

Last updated on FEBRUARY 03, 2019

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

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
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.