Troubleshooting java.security.AccessControlException: access denied due to oracle.security.jps.service.credstore.CredentialAccessPermission Exception when Running Credential Store API Code (Doc ID 1327577.1)

Last updated on DECEMBER 05, 2016

Applies to:

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

Goal

To illustrate the required steps to deploy a custom J2EE application that is able to interact with the Credential Store Framework to retrieve user credentials. As this operation requires both configuration and implementation actions, it will try to clarify both aspects.

The Credential Store Framework is available only in Oracle Fusion Middleware 11g JRF enabled installations and hence the information in this article is considered useful ONLY for OFMW 11g users, and not for plain WebLogic Server (WLS) users.

As the whole process is a potentially error prone process, this note describes some of the useful validations that you can do during the configuration, to try to help avoid some of the potential errors.

1) For clarification on OPSS and Credential Store Framework

Oracle Fusion Middleware Application Security Guide
11g Release 1 (11.1.1)
Part Number E10043-08

Chapter 1 Introduction to Oracle Platform Security Services
Chapter 3 Understanding Identities, Policies, and Credentials
Section 3.3 Credential Store Basics

 

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