Hi,

I want to make my WebService securely running. Meanwhile I have a problem on this. While debugging I recognized the following line in CryptoFactory.java in the source of wss4j (I'm using rampart):
crypto = (Crypto) c.newInstance(new Object[]{properties,loader});

The instance is created perfectly (on debugging I run through the constructor), but I still get a ClassCastException. I tried the default-Implementation of Merlin as the according Crypto implementation, since my sec.properties has the line
org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin

Did anyone else also experience this problem? What could be a proper solution?

Thanks in advance,
Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to