Misagh, Is there a way to tell CAS not to encrypt the ticket granting cookie so I can use it against the serviceValidate endpoint?
Regards, William Crowell On Tuesday, May 3, 2016 at 1:04:18 PM UTC-4, Misagh Moayyed wrote: > > What you should be doing is: > > > > 1. Login, get a ticket, validate it. > > 2. Login with a renew=true, get a ticket, validate it. > > 3. Login, get a ticket, validate it with renew=true > > 4. Login with a renew=true, get a ticket, validate it with > renew=true > > > > PGTs are an entirely different matter. I haven’t looked at your tests, but > you should not be reusing tickets. > > > > *From:* [email protected] <javascript:> [mailto:[email protected] > <javascript:>] *On Behalf Of *William > *Sent:* Monday, May 2, 2016 1:47 PM > *To:* CAS Community <[email protected] <javascript:>> > *Subject:* [cas-user] Re: /p3/serviceValidate returning "Ticket...not > recognized" > > > > Makes sense. I have been writing functional tests in Geb: > https://github.com/wcrowell/cas-functional-tests > > > > I am specifically working on this test: > https://github.com/wcrowell/cas-functional-tests/blob/master/src/test/groovy/RenewSpec.groovy > > > > I am using this document as a blueprint for the tests: > https://wiki.jasig.org/display/CAS/CAS+Functional+Tests > > > > The tests repeat the clause: "with a valid service ticket" > > > > Is there a way I could use another ticket type (e.g. Proxy Granting > Ticket) to validate the tickets or maybe I am making this too complicated. > > > > Regards, > > > > William Crowell > > -- > 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] <javascript:>. > To post to this group, send email to [email protected] <javascript:>. > 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/a32396aa-15ff-4571-be88-a8a7c3e9d2e6%40apereo.org > > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/a32396aa-15ff-4571-be88-a8a7c3e9d2e6%40apereo.org?utm_medium=email&utm_source=footer> > . > For more options, visit 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/eec4a0e8-f9fd-4213-a463-a644df2bf5c3%40apereo.org. For more options, visit https://groups.google.com/a/apereo.org/d/optout.
