Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6024599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:10:45+00:00 2026-05-23T04:10:45+00:00

I have a Spring application that uses JAX-WS to consume another web service. Everything

  • 0

I have a Spring application that uses JAX-WS to consume another web service. Everything works fine but now this web service has been switched to require digest passwords. How could I accomplish this with JAX-WS?

I see from Sprig documentation that this should be possible but I cannot find any code samples with JAX-WS: http://static.springsource.org/spring-ws/site/reference/html/security.html#d4e2684

Has anyone done this earlier? Any code samples would be much appreciated.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T04:10:46+00:00Added an answer on May 23, 2026 at 4:10 am

    After digging around and reading documentation it seems that digest authentication is not possible currently with JAX-WS. The surprising part is that it shouldn’t be too difficult to implement using existing tools. I didn’t go this way but I’ll write it down anyway in case if someone else would be interested to take the challange.

    JAX-WS supports adding handlers that modify the message or its headers before it’s sent over the wire. Obtaining nonce and calculating password digests could be done in that phase as well. There is a blog post that adds handlers to encrypt and decrypt the messages that could be used as a base for this.

    Axis2 that has digest authentication support uses Apache WSS4J for security. So WSS4J project must have all the methods to calculate values, the only required part would be to call the right methods in the JAX-WS callback handler (and get the nonce).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a spring application that uses JBoss Drools 5 . It works fine
I have a web application that uses spring and hibernate for JPA support, but
I have a web application that uses the Spring Framework (3.1) and persistence through
I have a web application that uses spring security. It uses <intercept-url ../> elements
We have a web application that uses Spring (3.0.5) and CXF (currently 2.4.2 for
I have a working web application that uses username/password SpringSecurity configuration. Now I want
We have a Java web application that uses Spring and Hibernate and has a
I have a web application that uses Struts2 + Spring for the resource injection,
My colleague and I have a web application that uses Spring 3.0.0 and JPA
I have a spring application that uses an embedded Jetty instance. Since I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.