Hi all
   
  We are using WSS4J with axis1.2 for implementing WS security. 
   
  After modifying wss4j lib to make it compliant with JDK1.3, request & 
response are generating properly, but when wss4j processes the response, it was 
giving NoSuchMethodError in VerifySignature. We then put wss4j-SNAPSHOT.jar: in 
our classpath, but the now it's giving following errors:
   {http://xml.apache.org/axis/}stackTrace:java.lang.ClassCastException: 
sun.security.provider.X509Factory
        at 
org.bouncycastle.jce.cert.CertificateFactory.getInstance(CertificateFactory.java:83)
        at 
org.apache.ws.security.components.crypto.CryptoBase.getCertificateFactory(CryptoBase.java:97)
        at 
org.apache.ws.security.components.crypto.CryptoBase.loadCertificate(CryptoBase.java:128)
        at 
org.apache.ws.security.message.token.X509Security.getX509Certificate(X509Security.java:87)
        at 
org.apache.ws.security.processor.BinarySecurityTokenProcessor.getCertificatesTokenReference(BinarySecurityTokenProcessor.java:92)

   
   
  If someone can provide us any pointer, that would really be a great help for 
us.
   
  Thanks in advance!!!
   
   


Cheers 
Rajendra Rajguru 

       
---------------------------------
You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.

Reply via email to