Integrating OAUTH library Signpost modules in JBoss EAP 6
Issue
- We are seeing some challenges integrating open source Oauth Signing API Signpost http://code.google.com/p/oauth-signpost/ in EAP6. Initially there were issues around Class Loading and I created some static modules for oauth.signpost and javax.crypto and enhanced sun.jdk module to include some more sun libraries. But Now I see an exception below. This is a perfectly valid sunjce_provide implementation and works fine out side the realm of Jboss EAP6. But In EAP6 I see this ClassCastException.
ERROR [stderr] (http-127.0.0.1/127.0.0.1:8080-1) java.lang.ClassCastException: com.sun.crypto.provider.HmacSHA1 cannot be cast to javax.crypto.MacSpi
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.