Oracle.Adf.View.Page.Editor.Security.Composersecurityexception Raised when adding components to a Customizable WebCenter Application (Doc ID 1128095.1)

Last updated on NOVEMBER 22, 2016

Applies to:

Oracle WebCenter - Version: 11.1.1.2.0 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms


Trying to build a WebCenter application in JDev 1.1.2.0 with WebCenter extension installed.
The WebCenter Application has a page named home.jspx with pageCustomizable, layoutCustomizable, panelCustomizable and various other ADF Faces components in it.

During runtime when switching to Edit mode and clicking The "Add Content" button, the exception below is raised:

exception oracle.adf.view.page.editor.security.ComposerSecurityException:You do not have permission to edit the page.
at
com.sun.el.parser.AstValue.invoke(AstValue.java:161) at
com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) at
oracle.adf.view.rich.component.customizable.PanelCustomizable._handleAddComponentEvent(PanelCustomizable.java:376) at
oracle.adf.view.rich.component.customizable.PanelCustomizable.broadcast(PanelCustomizable.java:302) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at
oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
...
...

ADF security is enabled in the system and the in the jazn-data.xml , home.jspx has been granted view and edit access to authenticated-role. The weblogic user is used to log into the application.
Note that this error can be seen even if no security is enabled on the WebCenter Application or if the page accessed is public.

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