Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Encryption with a derived key

 
Lasse Sørensen
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all,

I have a problem with Axis2/rampart, i need to encrypt my soap message but gets the following error: org.apache.axis2.AxisFault: Error in encryption with a derived key

By code is:
Main:

engageRampartModules:

prepareRampartConfig:

attachPolicy:


Stackstrace:


So anyone know what is error is, and what is wrong?

thanks
 
Tim Moores
Bartender
Posts: 3134
50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you need to do this programmatically? Applying WS-Security via configuration files has always seemed much simpler to me.
 
Lasse Sørensen
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, but i am quite new to doing this in Java, and this was just from a guide i found.
Do you have a guide or something i can look at, on how to set it up in the config file?

thanks
 
Tim Moores
Bartender
Posts: 3134
50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This article is a bit dated, but I found it useful: http://www.javaranch.com/journal/2008/10/web-service-security-encryption-axis2.html

And this is sort of part 1 of the article: http://www.javaranch.com/journal/200709/web-services-authentication-axis2.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic