If you turn logging to DEBUG you should see what the actual response from
the CAS server is.  Can you post that?


On Wed, Mar 16, 2011 at 8:01 PM, Habermaas, William <
[email protected]> wrote:

> If you are using a URL as the service in CAS web-flow and the url is
> similar to the following:
>
>
>
>
> http://testserver:8080/cs/Satellite?id=1118867611403&SATELLITE=true&pagename=OpenMarket%2FXcelerate%2FUIFramework%2FShowPreviewFrames&pubid=1112198287026&AssetType=Page&wem=true
>
>
>
> when the ST is validated, the CAS client receives a successful validation
> payload. But when that payload is parsed you will get the
> SAXParseException.  In the case of the above URL the exception line is:
>
> org.xml.sax.SAXParseException: The reference to entity "SATELLITE" must end
> with the ';' delimiter.
>
> Is there another way the service can be handled so it will avoid this
> problem?
>
>
>
> Bill
>
>
>
>
>
>
>
> *From:* Scott Battaglia [mailto:[email protected]]
> *Sent:* Wednesday, March 16, 2011 4:48 PM
> *To:* [email protected]
> *Subject:* Re: [cas-user] Validation problem
>
>
>
> Most likely you're not pointing correctly to the CAS validation endpoint.
>  Can you post your web.xml
>
>
>
> On Wed, Mar 16, 2011 at 4:36 PM, Habermaas, William <
> [email protected]> wrote:
>
> Can anyone tell me why I am getting this error when validating a ticket.
>
>
>
> SAX is choking of the service url and I have no idea why.
>
>
>
> Any help is appreciated (see trace below).
>
>
>
> Thanks,
>
> Bill
>
>
>
>
>
>
>
> [2011-03-16 16:30:53,567] [cas.client.util.XmlUtils]
> org.xml.sax.SAXParseException: The reference to entity "id" must end with
> the ';' delimiter.
>
>               at
> org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1183)
>
>                 at
> org.jasig.cas.client.util.XmlUtils.getTextForElement(XmlUtils.java:150)
>
>                 at
> org.jasig.cas.client.validation.Cas20ServiceTicketValidator.parseResponseFromServer(Cas20ServiceTicketValidator.java:69)
>
>                 at
> org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:188)
>
>                 at
> com.fatwire.wem.sso.cas.CASProvider.validate(CASProvider.java:305)
>
>                 at
> com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:359)
>
>                 at
> com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
>
>                 at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
>                 at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>                 at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>
>                 at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>
>                 at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>
>                 at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>
>                 at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>
>                 at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>
>                 at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
>
>                 at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>
>                 at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>
>                 at java.lang.Thread.run(Thread.java:619)
>
> --
> You are currently subscribed to [email protected] as: 
> [email protected]
>
>
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
>
> --
> You are currently subscribed to [email protected] as: 
> [email protected]
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
> --
> You are currently subscribed to [email protected] as: 
> [email protected]
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to