Next ADF Training
Join Demo Session
Toggle Bar
  • Home
    Home This is where you can find all the blog posts throughout the site.
  • Categories
    Categories Displays a list of categories from this blog.
  • Tags
    Tags Displays a list of tags that have been used in the blog.
  • Bloggers
    Bloggers Search for your favorite blogger from this site.
  • Team Blogs
    Team Blogs Find your favorite team blogs here.
  • Archives
    Archives Contains a list of blog posts that were created previously.
  • Login
    Login Login form

How to attach security to adf bc web services – ADF Webservices Part4

Posted by on in ADF Webservices
  • Font size: Larger Smaller
  • Hits: 2557
  • Subscribe to this entry
  • Print
  • Report this post

Seldom you expose a webservice operation without a security attached to it..Let us see how we can attach the simple username token based authentication to the webservice we had created in our previous posts.

Checkout the code from below repository if you haven’t completed the previous exercises.



Step 1: Select the file in the navigator and on the property inspector open up the Webservices Extension section.Click and select a security policy.


Step 2: Select the oracle/wss_username_token_service_policy


Step 3: Confirm the security annotation is added


Now if you try to execute any operation in the webservice, it won’t allow you to execute without passing the username/password in the SOAP header.

© Creative Commons Attribution Assurance 3.0 License
  • No comments found