My cas client (java) calls Restful api to generate a service ticket. I pass 
user credential, TGT and a service name such as
http://mydomain.com?p2=b&p1=a
However the validation fails because the service url somehow is changed to
http://mydomain.com?p1=a&p2=b
Note that the order of the parameters somehow are rearranged  when it goes to 
CAS server.

But CAS failed the validation as it thought the ST was not for the same 
service. If I manually forces the service url to be the same as the rearranged 
one at the time I created ST by calling Restful api, then the validation passes.


My questions:
1) Does CAS simplay just compare the service name string literally, so order of 
query parameters must be the same?
2) Can I just use the url without query parameter as service name (I tried, it 
did not work, but do not know why)
3) Why the order of query parameters are rearranged?
-- 
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