-
Nov 19th, 2012, 04:17 AM
#1
why i get TGT instead of PGT from cas server? can anyone help??
According to https://wiki.jasig.org/display/CAS/P...AS+Walkthrough, all i need to do is to append a pgtUrl to the serviceValidate request url. So i did this:
https://cas.roland.org:8443/cas/serv.../bookservice/j
I got the right response
<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
<cas:authenticationSuccess>
<cas:user>
11
</cas:user>
<cas:attributes>
<cas:role>ROLE_ADMIN</cas:role>
</cas:attributes>
<cas
roxyGrantingTicket>PGTIOU-12-udJGiPFxfhlMG4bzdqp9-cas01.example.org</cas
roxyGrantingTicket>
</cas:authenticationSuccess>
</cas:serviceResponse>
but when i look through the server log, i got to know that i didn't get PGT, got TGT instead. Here is my log in
127.0.0.1 - - [19/Nov/2012:18:12:53 +0800] "GET /bookservice/j_spring_cas_security_proxy_receptor?pgtIou=PGTIOU-18-uCuBQJnD3q6CpByeAjky-cas01.example.org&pgtId=TGT-41-ssfMDvMrN16ILKOYV11jfwmFdfcZpjQbpPKWFIRVYMVhvDeAdm-cas01.example.org HTTP/1.1" 200 98
So i can't get PT neither. Can anyone help. Thanks in advance.
Last edited by roland_zong; Nov 19th, 2012 at 05:42 AM.
-
Nov 19th, 2012, 08:10 PM
#2
Solved now.
After a lot of debugging, i found that CAS now use "TGT-" prefix for Proxy Granting Ticket instead of "PGT-". That's so confusing.
Last edited by roland_zong; Nov 21st, 2012 at 12:25 AM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules