JBoss Exception "org.apache.xml.serializer.utils.WrappedRuntimeException: org.apache.xml.serializer.ToXMLSAXHandler cannot be cast to org.apache.xml.serializer.SerializationHandler” with Picketlink SAML auth and Grails 3.1
Issue
When configuring JBoss EAP 7.0 with Microsoft Active Directory Federation Services (ADFS) for SAML authentication, the client receives an HTTP 500 error. The client is not redirected to ADFS to provide their credentials for authentication.
The JBoss logs report the following ERROR:
org.apache.xml.serializer.utils.WrappedRuntimeException: org.apache.xml.serializer.ToXMLSAXHandler cannot be cast to org.apache.xml.serializer.SerializationHandler”
Environment
- OCP 3.7
- JBoss EAP 7.0
- JBoss image from RH Container Catalog - eap70 1.5-18
- JBoss Picketlink SAML Authentication
- Microsoft Active Directory Federation Services (ADFS)
- JBoss configured as a SAML Service Provider (SP)
- Grails 3.1 Application
JBoss configured for SAML V2 SSO
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.