[cas-dev] CAS 3.1-M1 SAMLException

Marvin Addison serac at vt.edu
Tue Feb 6 14:26:29 EST 2007


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=14954 if 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


More information about the cas-dev mailing list