SAML1 CheckRequestVersionHandler ClassCastException ?

Tom Zeller tzeller at dragonacea.biz
Tue Jan 21 21:11:14 EST 2014


> Not sure how best we'll control that. Is the class cast happening because
> of an actual cast, or a generic declaration causing the cast? We might
> have to do an instanceof check, and avoid any implicit casting from the
> use of generics.

Generics. I started typing instanceof, but the target
IdPInitatedSSORequest class is in the IdP, not OpenSAML.

I added a log statement, but calling getClass() throws the
ClassCastException :-/ I'm sure there is an explanation...

http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml1/binding/CheckRequestVersionHandler.java?view=markup


More information about the dev mailing list