Thanks HubertDennis Ujwol for your response. What are your thoughts on the below solution ?
1. Creating a static hash map to store the the complete sql database view based on our requirement.
2. Since this is a static hash map, the sql database view will be stored in the jvm.
3. logic to fetch the required data from the sql database view instead of firing SQL query every time.
4. Based on 3, the authorization decision is made.
5. Using the same class in the active response code to fetch the map and send the response to the application team.
The above solution works fine, but would require experts opinion on the performance and jvm cache memory from ca sso product perspective. Any suggestions on this solution ?
Thanks,
Shivam