CryptoFactory with WSS4J
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