Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Calling a secured webservice from ADF

SanjeevChauhanOct 21 2014 — edited Nov 7 2014

Hi, I have to call BAM webservices from ADF. Those webservices are secured and accept username/password.

I want to call them using ADF. ADF application is secured and user needs to login. I want to pass same credentials to webservices but I don't want to store password myself. I want some way from ADF to call those secured webservices and pass username/password from login session. If I try to retrieve (or store) username/password, it will be a security threat always.

I see few example over net related to

SecurityPoliciesFeature securityFeatures = new SecurityPoliciesFeature(new String[] { "oracle/wss_username_token_client_policy" });

but all are passing hard coded username password. I want to pass username password from login session. Or something for which I need not to create a variable storing user's password.

Any suggestion?

Thanks

Sanjeev.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 5 2014
Added on Oct 21 2014
14 comments
582 views