Hi All,

I created the proxy ticket successfully after spending some time to set it 
up on CAS, but faced another problem so wanna ask you help me to find the 
problem.

2016-04-18 16:12:21,323 INFO 
[org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted ticket 
[PT-3-cTEsEfVlVqtJzpuWPuhT-cas01.test.com] for service 
[https://acme.test.com:8443/mywebapp/protected/] for user 
[[email protected]]>
2016-04-18 16:12:21,324 INFO 
[org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit 
trail record BEGIN
=============================================================
WHO: https://acme.test.com:8443/mywebapp/proxyCallback
WHAT: PT-3-cTEsEfVlVqtJzpuWPuhT-cas01.test.com for 
https://acme.test.com:8443/mywebapp/protected/
ACTION: PROXY_TICKET_CREATED
APPLICATION: CAS
WHEN: Mon Apr 18 16:12:21 KST 2016
CLIENT IP ADDRESS: 127.0.0.1
SERVER IP ADDRESS: 127.0.0.1
=============================================================

As you can see above the proxy ticket created (not sure if it's same to 
proxy granting ticket, any difference?), after then tried to validate the 
ticket with the URL below.

/cas/serviceValidate?ticket=PT-3-cTEsEfVlVqtJzpuWPuhT-cas01.test.com&service=https://acme.test.com:8443/mywebapp/protected/

And it always yields the result as below against to my exception.

<cas:serviceResponse xmlns:cas="http://www.yale.edu/tp/cas";>
<cas:authenticationFailure code="INVALID_TICKET">
Ticket 'PT-3-cTEsEfVlVqtJzpuWPuhT-cas01.wavity.com' not recognized
</cas:authenticationFailure>
</cas:serviceResponse>

So I debugged CAS project on my eclipse and found out the elements in the 
ticket registry cache changes at some point.
In more detail, the created ticket was in the cache at first, but when I 
was debugging at some point it's replaced with tickets starting with 
PGT-xxxxxx. 

Can anyone share how to validate the proxy ticket, or correct me if I did 
anything wrong?
Appreciated any help.

Thanks,
David

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/54c950b4-f761-4991-b475-6ae7723075b0%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to