submiting to /login with curl, or cas webservice

Scott Battaglia scott.battaglia at gmail.com
Mon Jan 8 09:53:00 EST 2007


Hi,

CAS supports SOAP via the xFire project (which can expose any Spring-managed
bean as a web service).  More information about xFire can be found here:
http://xfire.codehaus.org/

The only tip that I can think of at the moment for submitting to the CAS
login page is to make sure you send back the jsessionid to inform the CAS
server about the existing session.

Logging is enabled by default using Log4j.  You can find the log4j
configuration file in WEB-INF/classes/log4j.properties, where you can
specify more verbose levels of logging for CAS and its supporting libraries.

-Scott

On 1/5/07, Ezra Nugroho <enugroho at spikesource.com> wrote:
>
>
> Hi all,
>
>
> I have a need to authenticate against CAS through a script.
> I look around some documentation, tried a few things and got stuck.
> So here is where I am at.
>
>
> 1. I read about CAS 3 supporting SOAP, however I couldn't find
> meaningful documentation on how to use it. Can someone please point me
> to documentations, examples, etc. Thank you.
>
> 2. I am trying to submit to /login through command line. I tried using
> curl and links (command line browser). I tried both "POST" and "GET"
> methods, and I passed the correct credential, service url and a proper
> (I think..) LT. However, every time I get nothing but a redirect back
> to /login again.
>
> Is there any trick in posting to /login through a script?
>
> I also didn't see any error messages in the response nor in cas.log. How
> can I make CAS more 'verbose' and tell me failed login attempts, and
> other errors.
>
>
> Much appreciated,
>
> Ezra
>
> _______________________________________________
> 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/20070108/562cb918/attachment.html


More information about the cas mailing list