AnsweredAssumed Answered

ClassCastException in Siteminder WSFED with SAML2

Question asked by Garima.Aggarwal on Oct 19, 2018
Latest reply on Oct 23, 2018 by Garima.Aggarwal

ws-fed partnership with SAML2 is failing with classcastexception when using custom AGP.

Using SSO 12.8 version

 

The scenario is as below:

1. WSFED profile SAML2 Based WITH Custom AGP = Exception

2. WSFED profile SAML1.1 Based WITH Custom AGP = Success

3. WSFED profile SAML2 Based WITH-OUT Custom AGP = Success

 

The AGP is just substituting one of the attributes.

 

java.lang.ClassCastException: com.ca.siteminder.wsgen.impl.RequestSecurityTokenResponseImpl cannot be cast to com.ca.siteminder.ws.WSRequestSecurityTokenResponseWrapper at com.netegrity.assertiongenerator.wsfed.SignInProtocol.closeupProcess(Unknown Source) at com.netegrity.assertiongenerator.wsfed.AssertionHandlerWSFED12.postProcess(Unknown Source) at com.netegrity.assertiongenerator.AssertionGenerator.invoke(Unknown Source) at com.netegrity.policyserver.smapi.ActiveExpressionContext.invoke(ActiveExpressionContext.java:282)

Outcomes