Bouncy Castle Provider Class Not Found in Fuse 7.1.1
Issue
We are deploying an OSGi bundle to the Fuse 7.1.1 container that is creating SAML authentication assertions in the outbound SOAP headers. These assertions need to be digitally signed. We are using the out-of-the-box version of WSS4J (1.6.7) which is using the bouncy castle security provider to faciliate the signature process. When we run this code, we are getting a ClassNotFoundException on the org.bouncycastle.jce.provider.BouncyCastleProvider class.
DEBUG | t.request.queue] | WSSConfig | 198 - org.apache.ws.security.wss4j - 1.6.7 | The provider BC could not be added: org.bouncycastle.jce.provider.BouncyCastleProvider not found by org.apache.ws.security.wss4j [198]
java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider not found by org.apache.ws.security.wss4j [198]
Environment
Fuse ESB 7.1.1 Rollup 1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
