ADF SECURITY ERROR: Accessing the applicationModule property on class oracle.jbo.server.viewRowImpl is not permitted

Home/ADF/ADF SECURITY ERROR: Accessing the applicationModule property on class oracle.jbo.server.viewRowImpl is not permitted

ADF SECURITY ERROR: Accessing the applicationModule property on class oracle.jbo.server.viewRowImpl is not permitted

You may receive the above error in JDeveloper 12C in ADF while accessing applicationModule method in Groovy expression.

Reason for the error

JDdeveloper 12C added tight security on accessing applicationModule methods.

Solution:

Change parameter TrustMode value to true for the attribute you are accessing the method

Example

In my Job Table View object, I have an extra tribute called someNumber that accesses an AppModule method and getting the above error

050616_1731_ErrorADFSEC1 ADF SECURITY ERROR: Accessing the applicationModule property on class oracle.jbo.server.viewRowImpl is not permitted

To correct this, Click on the source tab >> Find the attribute >> Select TransientExpression >> Change the property trustMode to true

050616_1731_ErrorADFSEC2 ADF SECURITY ERROR: Accessing the applicationModule property on class oracle.jbo.server.viewRowImpl is not permitted

govindan ADF SECURITY ERROR: Accessing the applicationModule property on class oracle.jbo.server.viewRowImpl is not permitted
Connect me

Govind

Thank you for visiting my personal blog. Myself Govindan, Software Developer by profession since 2006 and hence I started this blog early in 2016 and ever since I've been writing about technologies experienced and learnings of everyday life.

The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.

Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply 🙂
govindan ADF SECURITY ERROR: Accessing the applicationModule property on class oracle.jbo.server.viewRowImpl is not permitted
Connect me
By | 2016-12-29T00:30:31+00:00 May 6th, 2016|Categories: ADF|Tags: , , , |0 Comments
Like us on Facebook.
Connect!