API authentication agent error message "org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory cannot be cast to javax.xml.crypto.dsig.XMLSignatureFactory"
2 years ago
Originally Published: 2017-12-01
Article Number
000040581
Applies To
RSA Product Set: SecurID
RSA Product/Service Type: Authentication Agent API for Java
RSA Version/Condition: 8.5.0
Platform: WebLogic
 
Issue
Customer is getting the below error when authenticating after he upgraded from 8.1.1.3 to 8.2.1.5
 
2017-12-01 08:51:13,590 | ERROR | [201531010960] | com.rsa.authagent.authapi.v8.logger.b:a(?) | Exception processing configuration data Exception processing configuration data org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory cannot be cast to javax.xml.crypto.dsig.XMLSignatureFactory 

2017-12-01 08:51:13,593 | FATAL | [201531010960] | com.polaris.common.utils.CustomException:throwException(84) | ARM-001001 Exception Occurred : 
com.rsa.authagent.authapi.AuthAgentException: com.rsa.authagent.authapi.AuthAgentException: Exception processing configuration data Exception processing configuration data org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory cannot be cast to javax.xml.crypto.dsig.XMLSignatureFactory
    at com.rsa.authagent.authapi.AuthSessionFactory.a(AuthSessionFactory.java)
    at com.rsa.authagent.authapi.AuthSessionFactory.getInstance(AuthSessionFactory.java)
    at com.polaris.impl.dao.RSAUserAuthn.<init>(RSAUserAuthn.java:90)
    at com.polaris.impl.dao.RSAAuthenticationRDBMSImp

 
Resolution
Problem was resolved after replacing xmlsec-1.5.1.jar with the previous version xmlsec-1.4.6.jar and correct relative module.xml in org\apache\santuario\xmlsec\main