Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MustUnderstand Headers Issue

Hitesh Djoshi
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am sure to this question is out there somewhere in the internet, but I could not find it, can the Gurus please help me out.


I wrote a SOAP WS endpoint, using Apache CXF. My intention is to sign and encrypt the Header and Body of incoming and outgoing messages. Initially I used CXF Interceptors to decrypt the incoming signed and encrypted message and everything was working fine.

Now, I have tried to secure it using WS - Security Policy.So, I have removed the CXF interceptors and used a Policy based configuration instead.

Now when my client sends the request , it gets a MustUnderstand headers: [{}Security] are not understood.
How to remove this error, either by somehow removing the MustUnderstand tag in the incoming request from client, or by making the server understand the header(preferable)
My client is not written in CXF, its using Apache Axis 1.4(Yeah ... the old and creaky one).

Now the Details-

My Security Policy File at server

Server Call back Handler Class-

Client Code----> client_deploy.wsdd file.. Client also has its call back handler,.. not shown here, but on similar lines as server,

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic