Application policy resource name requires SOA composite version number for REST service
(Doc ID 2095946.1)
Last updated on FEBRUARY 22, 2019
Applies to:Oracle SOA Suite - Version 220.127.116.11.0 to 18.104.22.168.0 [Release 12c]
Information in this document applies to any platform.
On : 22.214.171.124.0 version,
Application Policy Resource Name requires SOA Composite version number for REST service
When applying the Authorization/Authentication Application Policy ( oracle/http_basic_auth_over_ssl_service_policy & oracle/binding_permission_authorization_policy ) to a SOA composite using a REST Adapter as the Exposed Service, you are forced to enter the version number of the composite when specifying the Resource Path in the Permissions. e.g /ProjectTaskValidator/1.0/ProjectTaskValidator#*
On EM -> soa-infra -> security -> aplication policies
On Principal Type, select Application Role
On Principal Name search for the project
Apply Policy for Application role and add permissions
According to Note 1604585.1, set the Resource name to http://xmlns.oracle.com/ProjectTaskValidator/ProjectTaskValidator
However this generates WSM-00006, WSM-00344, WSM-07606, and WSM-07501 errors in the logs.
If you change Resource Name to: /ProjectTaskValidator/1.0/ProjectTaskValidator#* then no errors are generated, so it seems you are forced to enter the version number of the composite when specifying the Resource Path in the permissions.
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