How to get lt parameter without parsing login page?
Scott Battaglia
scott.battaglia at gmail.com
Wed Jan 14 23:54:28 EST 2009
On Wed, Jan 14, 2009 at 1:21 PM, Keith Garry Boyce <garry at consultsure.com>wrote:
> Is it possible via restful api or some other mechanism to derive lt
> parameter to submit with username/password without parsing a login page?
>
The lt is generated by Spring Web Flow, so no there is not. We also always
recommend that you use the login form (we less recommend that you do things
like embed it on existing apps home pages, and we almost never recommend
screen scraping).
-Scott
>
>
>
> ------------------------------
> From: Scott Battaglia <scott.battaglia at gmail.com>
> Sent: Tuesday, January 13, 2009 9:25 PM
> To: Yale CAS mailing list <cas at tp.its.yale.edu>
> Subject: Re: Tiicket not recognized
>
> Yes, you should only configure one validating filter. They're only
> designed for one to be protecting a url at a time.
>
> -Scott
>
> -Scott Battaglia
> PGP Public Key Id: 0x383733AA
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
>
>
> On Tue, Jan 13, 2009 at 4:17 PM, tedzo <tedzo2003 at yahoo.com> wrote:
>
>> Mostly FYI (need confirmation)-
>> In moving to Java Cas client v3.1.3 (from the Yale client), I tried using
>> all the filters as specified in
>>
>> http://www.ja-sig.org/wiki/display/CASC/Configuring+the+JA-SIG+CAS+Client+for+Java+in+the+web.xml
>>
>> After configuring everything, I hit the ticket "foo" not recognized
>> problem. The problem went away after I commented out Cas10TicketValidation
>> Filter and used only Cas20ProxyReceivingTicketValidation Filter. Looks like
>> the ticket gets used a second time if both filters are configured.
>>
>> Can someone confirm that this is ok, meaning, only one of the two is to be
>> used?
>>
>> One other issue I hit was the "Cas server returned no response". That got
>> resolved after I fixed my certificate. If the certificate doesn't have a
>> valid date (meaning, if it has expired), Cas complained and threw the above
>> mentioned (no response) exception.
>>
>> Hope this helps someone.
>>
>> Thanks.
>>
>>
>> _______________________________________________
>> Yale CAS mailing list
>> cas at tp.its.yale.edu
>> <http://tp.its.yale.edu/mailman/listinfo/cas>
>
>
>
> [The entire original message is not included]
>
> _______________________________________________
> 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/20090114/be2eb90a/attachment-0001.html
More information about the cas
mailing list