OAM 11g AccessClient Progam Fails Because Resource Is Not Protected (Doc ID 1370103.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Access Manager - Version: 11.1.1.5.0 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms


A custom oracle.security.am.asdk.AccessClient program fails because Oracle Access Manager (OAM) 11g Server returns 'Resource is not protected' response for the resource used by the prorgam.

The customer has created a Java class leveraging the OAM 11.1.1.5 Access Client API, to programmatically create OAM 11g user sessions. The oamasdk-api.jar file from the ofm_oam_sdk_generic_11.1.1.5.0_disk1_1of1 download is used.

Documentation reference:

Oracle Fusion Middleware Developer's Guide for Oracle Access Manager and Oracle Security Token Service 11g Release 1 (11.1.1)
2.7 Building and Deploying an Access Client Program


The resource referenced in the Java program is configured in the OAM Application Domain Protected Resource policies, however when the program is run OAM 11g Server returns "Resource not protected" response.


Cause

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