Performance Tuning For Massive Programatic Grant AppRole Call In DB Policy Store (Doc ID 1667814.1)

Last updated on MAY 01, 2014

Applies to:

Oracle Platform Security for Java - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Goal

Changing the policystore from file to DB and facing some performances issues; especially when using programmatically the method grantAppRole (oracle.security.jps.service.policystore.entitymanager class).

How to obtain better performances? 

> tested: deploy ApplicationRoleTest\deploy\ApplicationRoleTest.ear, call  http://host:port/ApplicationRoleTest/faces/go.jspx, and click the button

  >> with a file-based policystore, the execution takes about 3s

  >> with a DB policystore, the execution takes about 1200s 
 

Solution

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