Oracle SOA Suite (MOSC)

MOSC Banner

How to get username in $inbound

in Oracle SOA Suite (MOSC) 3 commentsAnswered ✓

Good day to all.

We are using OSB 12c (12.2.1.2.0) and you have protected SOAP/REST services using the oracle/http_oam_token_service_policy.

Using curl -H "OAM_REMOTE_USER:user1" <service_url> for instance to call one of our REST services, even thought we are getting thought to the right pipeline, an inspection on $inbound/ctx:security/ctx:transportClient/ctx:username reveals that is not populated with user1. It instead has the value of anonymous.

We have also tried the above scenario using a web browser, ie Chome, and while we are enforced by OAM to logon, we are still not getting the username.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center