Tuesday, February 25, 2014

Securing REST services using basic http security in OSB

REST services in OSB can be secured using basic http security in OSB. Once a REST service is created go to SB console -> proxy and HTTP Transport Configuration -> Authentication =
Basic





We can create specific user for the service in security configuration.

In SOAP UI create a REST project using the service url, In the Auth Tab provide the user and password for the service.


 This will work fine.

Adding Authorization to the service:
In SB console -> proxy service -> security ->Access Control -> 
Transport Access Control -> click on Proxy service and add condition for user authorized to invoke the service.




In SOAP UI invoke the service again using weblogic user and password.
Response : FORBIDDEN-403 

If we use the authorized user , valid response will be returned.

Cheers !! 

3 comments:

  1. no. OWSM is not needed since this provided by default by OSB.

    ReplyDelete
  2. In case you are looking of the Oracle 1z0-1011 Exam Dumps pick Exams4sure.com. Exams4sure No. 1 source to get high stamps in the principle attempt. You can without quite a bit of a stretch ordeal the test by the help of our 1z0-1011 Braindumps PDF. Get an excellent refund today.

    ReplyDelete