SAML1 CheckRequestVersionHandler ClassCastException ?
Cantor, Scott
cantor.2 at osu.edu
Tue Jan 21 20:40:17 EST 2014
On 1/21/14, 8:24 PM, "Tom Zeller" <tzeller at dragonacea.biz> wrote:
>When wiring an inbound message handler chain, the SAML1
>CheckRequestVersionHandler throws a ClassCastException
>"net.shibboleth.idp.saml.impl.profile.IdPInitatedSSORequest cannot be
>cast to org.opensaml.saml.saml1.core.RequestAbstractType".
>
>The message decoder is
>net.shibboleth.idp.saml.impl.profile.saml1.IdPInitiatedSSORequestMessageDe
>coder.
>
>I will take a look, but I am confused. Maybe it will be obvious to
>someone else.
IdP initiated requests aren't SAML messages, so they won't cast to that
type, not in either version. In the 2.0 flow, the message decoder actually
creates a SAML request as a mock stand-in for what the request contained,
so it could be wired up with that action and not break, but there is no
AuthnRequest to mock up in SAML 1.
-- Scott
More information about the dev
mailing list