Hi,
Is this problem solved? I have the same problem whit JBoss 7.1.1.
java.lang.ClassCastException: org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory cannot be cast to javax.xml.crypto.dsig.XMLSignatureFactory
Is the approach of downgrade the xmlsec module to xmlsec-1.4.6.jar ?