It looks like there was a bug in the code that produces the redirect url. Its been fixed in CVS:
http://developer.ja-sig.org/source/changelog/jasig/?cs=MAIN:sbattaglia:20070424181922 You can give that a try if you want. For reference, this is JIRA issue CAS-494 Thanks! -Scott On 4/24/07, Ding Kai-Jian <[EMAIL PROTECTED]> wrote:
No, I didnot modify any file. I just deploy CAS 3.1 M2 on tomcat, And enable 8443 port. I use tomcat 5.5&jre 1.5.0_06 on windows platform. My client is Apache2:AuthCAS found from cpan, which works perfictly with CAS 3.07. I find something from log. When the client get url http://localhost/web1?service=ST-130- AcfthfcYZfhpUv5v1k5hNnWVgy6oViSMcPn-20 , the client can not find param ticket and can not set a cookie, and will redirect to https://localhost:8443/cas/login?service=http://localhost/web1?service=ST- 130-AcfthfcYZfhpUv5v1k5hNnWVgy6oViSMcPn-20 and the server will add another service param at the end. And then a loop start. When I enable log to debug level for server, I find somehing strange.Itlooks like: all above is success ...... [org.jasig.cas.CentralAuthenticationServiceImpl] - Granted service ticket [ST-1- OmdWleMTjfxfbZtrjEnBihhdR4acFSa7Kwd-20] for service [http://localhost/web1] for user [d] [org.jasig.cas.web.flow.WarnAction] - Action 'WarnAction' completed execution; result is 'redirect' [org.jasig.cas.web.flow.ExtractServiceAction] - Action 'ExtractServiceAction' beginning execution [org.jasig.cas.web.flow.ExtractServiceAction] - Placing service in FlowScope: http://localhost/web1?service=ST-1-OmdWleMTjfxfbZtrjEnBihhdR4acFSa7Kwd-20 [org.jasig.cas.web.flow.ExtractServiceAction] - Action 'ExtractServiceAction' completed execution; result is 'success' ...... [org.jasig.cas.web.flow.TicketGrantingTicketExistsAction] - Action 'TicketGrantingTicketExistsAction' completed execution; result is 'ticketGrantingTicketExists' ...... It seems that the server did generate url using service instead of ticket at ExtractServiceAction. _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
-- -Scott Battaglia LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
