[cas-dev] CAS 3.1-M1 SAMLException

Scott Battaglia scott.battaglia at gmail.com
Tue Feb 6 15:05:25 EST 2007


>>> 2007-02-06 14:16:08,985 WARN [org.opensaml.XML] - Unable to turn off
data normalization in parser, supersignatures may fail with Xerces-J:
javax.xml.parsers.ParserConfigurationException: jaxp_feature_not_supported:
Feature "http://apache.org/xml/features/validation/schema/normalized-value"
is not supported.

This may be due to your Java version?  Which version are you running?

The actual exception seems to be due to a lack of encoding on the redirect.
 I thought we were doing that though.  Let me look into it.

-Scott

On 2/6/07, Marvin Addison <serac at vt.edu> wrote:
>
> I configured the following parameters Scott suggested:
>
> artifactParameterName
> serviceParameterName
>
> This fixed my initial problem.  The Spring configuration file I used is
> available at
>
> https://content.cc.vt.edu/confluence/pages/viewpageattachments.action?pageId=14954if anyone is interested.
>
> Solving the SAMLException problem produced another.  I'm getting
> SAXParserException errors thrown from inside opensaml.  The following
> log messages are interesting:
>
> 2007-02-06 14:16:07,564 DEBUG [
> org.jasig.cas.client.web.filter.TicketValidationFilter] - Attempting to
> validate ticket:
> AALFyRampKPoz7CVwPECDKRny+NVu2h0dHBzOi8vbG9jYWxob3N0Ojg0NDM=
> 2007-02-06 14:16:07,565 DEBUG [
> org.jasig.cas.client.web.filter.TicketValidationFilter] - serviceUrl
> generated: http://localhost:8080/pidgen/
> 2007-02-06 14:16:08,985 WARN [org.opensaml.XML] - Unable to turn off data
> normalization in parser, supersignatures may fail with Xerces-J:
> javax.xml.parsers.ParserConfigurationException:
> jaxp_feature_not_supported: Feature "
> http://apache.org/xml/features/validation/schema/normalized-value" is not
> supported.
> 2007-02-06 14:16:09,251 ERROR [org.opensaml.SAMLObject] - caught an
> exception while parsing a stream:
> cvc-datatype-valid.1.2.1: 'AALFyRampKPoz7CVwPECDKRny
> NVu2h0dHBzOi8vbG9jYWxob3N0Ojg0NDM=' is not a valid value for 'NCName'.
> 2007-02-06 14:16:09,254 ERROR [
> org.jasig.cas.client.validation.Saml10TicketValidator] -
> org.xml.sax.SAXParseException: cvc-datatype-valid.1.2.1:
> 'AALFyRampKPoz7CVwPECDKRny NVu2h0dHBzOi8vbG9jYWxob3N0Ojg0NDM=' is not a
> valid value for 'NCName'.
>
> Notice how the + in the ticket at TicketValidationFilter has been
> replaced by what appears to be a space by the time opensaml sees it.
> Does this behavior have anything to do with the parser configuration
> warning, or is the warning a result of some other problem.
>
> Thanks,
> Marvin
> _______________________________________________
> cas-dev mailing list
> cas-dev at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20070206/4b50d591/attachment.html 


More information about the cas-dev mailing list