My Oracle Support Banner

Support For "PATCH" HTTP Method In OAM (Doc ID 2345745.1)

Last updated on FEBRUARY 01, 2019

Applies to:

Oracle Access Manager - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Goal

We are developing an application which includes a REST-API that should support the http-method "PATCH".
But when defining resources in the OAM application domain, there is no "PATCH" operation available in the "Operations" section.

Mostly, we choose "All" for setting "Operations Available", and then the HTTP-Method doesn't matter.
But for this website, we already had to configure a separate resource that's only valid for "Operations Available" = "OPTIONS", so for "normal" http requests (excluding OPTIONS), I had to create a second resource and select all other "Operations Available". But that list doesn't include the "PATCH" HTTP-Method.
That means that when a request comes in with the PATCH HTTP-method, OAM denies access to the resource and returns an HTTP-404.

So, how can I include the "PATCH" HTTP-Method in the "Operations Available" list for the resource?
 

Solution

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
Goal
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.