Letractively / rubycas-server

Automatically exported from code.google.com/p/rubycas-server
GNU Lesser General Public License v2.1
0 stars 0 forks source link

jasig.cas.client 3.0 connecting to rubycas-server issue. #95

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I am trying to access RubyCAS server thru jasig.cas client 3.0
2.
3.

What is the expected output? What do you see instead?
 It is expected that the page defined by http://localhost:8084/snCASclient
be displayed.  However, it looks like it is comparing the ;jsessionid=....
string as well.
It can be seen that the user is indeed validated.  But the client page is
not displayed.  

Dear Matt, can you throw some light please.

Please use labels and text to provide additional information.

root cause : 

org.jasig.cas.client.validation.ValidationException: The ticket
'ST-1275717161r87B441B7FAF9EC2CB0' belonging to user 'nambiarsu' is valid,
but the requested service 'http://localhost:8084/snCASclient' does not
match the service
'http://localhost:8084/snCASclient/;jsessionid=588E3830E894475B4EB66465184F19AC'
associated with this ticket.
    org.jasig.cas.client.validation.Cas20ServiceTicketValidator.parseResponse(Cas20ServiceTicketValidator.java:80)

Original issue reported on code.google.com by nambia...@gmail.com on 5 Jun 2010 at 5:50

GoogleCodeExporter commented 8 years ago
This looks like a client-side problem. Parameters in the URL should be 
preceeded by "?" not ";"

http://www.ietf.org/rfc/rfc2396.txt

Original comment by matt.zuk...@gmail.com on 8 Jun 2010 at 9:45