Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Implementing WS-Security for Java web services

Secure SOAP-based web services

Date:  07 Oct 2011 (Published 18 May 2011) |Level: Advanced ||

1. Understand WS-Security basics and trade-offs

WS-Security is independent of the transport-layer protocol a web service uses, and it maintains message security even if the message goes through multiple services. However, WS-Security can incur substantial performance costs. Find out how WS-Security works, and learn how to configure it in Axis2 for the basic function of sending a username and password on a service request. Then get some guidelines to help you decide if WS-Security is more appropriate for your application than simple transport-layer security.

2. Implement digital signatures and encryption

XML encryption and XML digital signatures are cornerstones of the WS-Security standard. By requiring digital signatures, you can limit message access to authorized users and verify that information has not been altered in transit. Encryption lets you prevent unintended recipients from understanding the information. Get an introduction to public-key cryptography principles and view examples that apply them for signing and encrypting SOAP messages using Axis2. Then, using Axis2 and the Apache Geronimo Java EE application server, get hands-on practice implementing WS-Security signing and encryption for a web service application.

3. Use WS-Security without client certificates

WS-Security symmetric encryption lets you secure message exchanges between client and server without requiring client certificates, simplifying your web service configuration while also providing performance benefits. Learn how to configure and use symmetric encryption with Axis2 (and with the open source Metro and Apache CXF frameworks).

4. Ensure interoperability for web services secured with WS-Security

Web services are effective at integrating applications regardless of platform, vendor, and programming language—but they're not immune from interoperability issues. Discover some common problems caused by incompatibilities among different versions of the WS-Security specification, and explore ways to deal with the issues in your environment, including the Web Services Gateway (a software component of IBM WebSphere Application Server Network Deployment) and WebSphere DataPower SOA Appliances (purpose-built, easy-to-deploy network devices).

5. Offload web services security tasks

Integrating WebSphere Application Server with the WebSphere DataPower SOA Appliance yields a secure and high-performance web service. Learn detailed procedures for improving and securing your web services installation with these products.




Rate this content




Give us feedback

Submission failed. Please try again.

Please complete one of the following questions before submitting.

1. Are you finished with this knowledge path?

       

2. How much did you learn?

           

3. Tell us more

  • What did you like/dislike?
  • What can we do better?

2500 characters left

Disabled Submit button

Add to My dW interests

Submission failed. Please try again.

Topics:

developerWorks: Sign in


Need an IBM ID?
Forgot your IBM ID?


Forgot your password?
Change your password

By clicking Submit, you agree to the developerWorks terms of use.

 


The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

Choose your display name

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerWorks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

(Must be between 3 – 31 characters.)


By clicking Submit, you agree to the developerWorks terms of use.

 


Save your progress Green checked checkmark

When you sign in, we will save this item to your developerWorks community home page and track your progress so you know what you've completed and where to resume when you return.

For a list of your saved items, see your My Home > My saved items page.

Thank you for your feedback. We appreciate your sharing your opinion with us.

Do you want to save your progress?

, Sign in to save your progress

Save your progress

Sorry. Our server is not available, and we cannot display your saved progress at this time.

Your progress will be displayed when the server is available again. Any previous progress is retained, and additional progress is being tracked.

If your most recent progress is not displayed within 24 hours, you can click the checkmark to indicate completion.

Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your developerWorks profile. The general subjects of this content will be added to the interests section of your profile, along with the associated technical topics. You only need to be signed in to developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Java technology
ArticleID=756238
publish-date=10072011