My Oracle Support Banner

Access Denied Error Accessing Keystore from WLS Configuration (Doc ID 2655531.1)

Last updated on JULY 07, 2020

Applies to:

Oracle WebCenter Portal - Version 12.2.1.1.0 and later
Information in this document applies to any platform.

Symptoms

When generating a custom token, the Customization in the Shared Library fails to access the KeyStore.

The WC_Portal.out shows error:

Caused By: java.security.AccessControlException: access denied ("oracle.security.jps.service.keystore.KeyStoreAccessPermission" "stripeName=<name>,keystoreName=<name>,alias=<name>" "read")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
at java.security.AccessController.checkPermission(AccessController.java:884)
at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:527)
at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:587)
at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:623)
at oracle.security.jps.internal.keystore.util.KeyStoreServiceUtil.checkPermission(KeyStoreServiceUtil.java:1254)
at oracle.security.jps.internal.keystore.provider.FarmKeyStoreSpi.engineLoad(FarmKeyStoreSpi.java:463)
at java.security.KeyStore.load(KeyStore.java:1479)
at oracle.security.jps.internal.keystore.ldap.KeyStoreDataManager.getKeyStore(KeyStoreDataManager.java:976)
at oracle.security.jps.internal.keystore.ldap.LdapKeyStoreServiceImpl.getKeyStore(LdapKeyStoreServiceImpl.java:275)
at com.tekstream.portal.actuate.sso.JWTTokenGenerator$3.run(JWTTokenGenerator.java:166)
at java.security.AccessController.doPrivileged(Native Method)

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.