Which CAS version?
-- Misagh On Fri, Jul 01, 2016 at 12:56 AM, William <
[email protected] [[email protected]] > wrote:
I have written all of the Geb/Groovy Login and Validation Test scripts for
the CAS Functional Tests: https://github.com/wcrowell/cas-functional-tests
[https://github.com/wcrowell/cas-functional-tests]
You can check these scripts out by doing a: git clone
https://github.com/wcrowell/cas-functional-tests.git
Then run: gradle clean farmIntegrationTest
I am having a minor issue with the last test called "proxy-granting ticket
invalidation by logout":
https://wiki.jasig.org/display/CAS/CAS+Functional+Tests
[https://wiki.jasig.org/display/CAS/CAS+Functional+Tests]
The test states: "9. After verifying that Steps 1-8 above succeed, visit
/logout"
You can view this test here:
https://github.com/wcrowell/cas-functional-tests/blob/master/src/test/groovy/PGTInvalidationByLogoutSpec.groovy
[https://github.com/wcrowell/cas-functional-tests/blob/master/src/test/groovy/PGTInvalidationByLogoutSpec.groovy]
When I visit "/cas/logout", I get the CAS logout page as expected, but when
I call "/cas/proxy?targetService=bar&pgt=[PGT]" I should get:
<cas:proxyFailure code='BAD_PGT'>
Instead, CAS appears to have not logged me out and gives me the proxy
ticket in return:
<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
<cas:proxySuccess>
<cas:proxyTicket>PT-10-uyucoGE4BNqkNg46HX5q-cas01.example.org</cas:proxyTicket>
</cas:proxySuccess>
</cas:serviceResponse>
Any ideas?
--
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] [[email protected]]
.
To post to this group, send email to [email protected]
[[email protected]] .
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/
[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/8c9a5d38-93e7-4424-ad20-176af87e300e%40apereo.org
[https://groups.google.com/a/apereo.org/d/msgid/cas-user/8c9a5d38-93e7-4424-ad20-176af87e300e%40apereo.org?utm_medium=email&utm_source=footer]
.
For more options, visit https://groups.google.com/a/apereo.org/d/optout
[https://groups.google.com/a/apereo.org/d/optout] .
--
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/b816972c-8f48-40d4-ac47-ef5bafd6ff1f%40unicon.net.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.