How to validate ticket?
Scott Battaglia
scott.battaglia at gmail.com
Tue Jan 16 23:07:37 EST 2007
You merely need to configure the filters (i.e. the CASFilter) and it will
automatically validate the ticket. The document I sent before has sample
code you can copy/paste as well as more detailed descriptions.
-Scott
On 1/16/07, tedzo <tedzo2003 at yahoo.com> wrote:
>
> >From what I read (document pointed to by Scott and others), it appears
> that once I receive a ticket from CAS after successful authentication, I
> need to call ServiceTicketValidator to do this. (The document pointed to by
> Scott in his reply describes such a method as a way to authenticate users
> "manually"). However, other docs I have read (
> http://www-128.ibm.com/developerworks/web/library/wa-singlesign/) seems to
> suggest that I can get the ticket validated without writing any code- just
> by configuration changes. Can someone please describe how that can be done
> (automatic authentication)? Or am I totally off?
>
> Thanks for your time.
>
> Av.
>
>
> *tedzo <tedzo2003 at yahoo.com>* wrote:
>
> Thanks for the pointer.
>
> *Scott Battaglia <scott.battaglia at gmail.com>* wrote:
>
> This should be able to help you configure the CAS client:
> http://www.ja-sig.org/products/cas/client/javaclient/index.html
>
> -Scott
>
> On 1/12/07, tedzo <tedzo2003 at yahoo.com> wrote:
> >
> > Hello all,
> > New to CAS.
> > This is how far I am- I have set up the filters that redirect me to
> > CAS's login page and lets me enter the username and password (both same as
> > each other). I am then redirected back to my applications JSP with a ticket.
> > Now, how do I validate this ticket? From what I can see, it appears that I
> > need to use ServiceTicketValidator class and validate the ticket from within
> > my JSP. Does that sound right or is there another way?
> >
> > Thanks for your responses.
> >
> > Av.
> > ------------------------------
> > TV dinner still cooling?
> > Check out "Tonight's Picks"
> > <http://us.rd.yahoo.com/evt=49979/*http://tv.yahoo.com/> on Yahoo! TV.
> > _______________________________________________
> > Yale CAS mailing list
> > cas at tp.its.yale.edu
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
> >
> >
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
> ------------------------------
> Any questions? Get answers on any topic at Yahoo! Answers<http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx>.
> Try it now._______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
> ------------------------------
> Cheap Talk? Check out<http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com>Yahoo! Messenger's low PC-to-Phone call rates.
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070116/03e1f838/attachment.html
More information about the cas
mailing list