Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

CryptoFactory with WSS4J

843811Oct 11 2006
Hi I'm trying to secure a web service using WSS4J using signatures. This requires having a crypto.properties file for the client and another for the server. So far the client can send a signed message to the server. An exception is then thrown by CryptoFactory:
CryptoFactory: Cannot load properties: crypto.properties

This is because CryptoFactory cannot find the file called crypto.properties. Please can somebody tell me where the crypto.properties file needs to be stored on the server side? I have tried hard-coding just for testing, e.g. changing the server-config.wsdd to find the crypto.properties file at "C:/crypto.properties" and then "file:///C:crypto.properties", etc but the error still appears.

Any help or advice would be much appreciated, thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 8 2006
Added on Oct 11 2006
0 comments
304 views