On 10/29/2010 12:46 PM, Dallin Terry wrote:
> Has anyone successfully logged into CAS using the WWW::Mechanize
> module in PERL?  I found an old UUG post (link below) that attempts to
> do about the same thing.  I modified it to go to the actual CAS login
> page instead of grabbing the form from the homepage (which I'm not
> sure exists anymore).  Whenever I attempt to log in, then go to a
> different page that requires CAS authentication, it redirects me back
> to the CAS logon page; this leads me to believe it's not logging in
> correctly, but it doesn't seem to return the authentication failure
> page.

Did you set up cookies?  A successful CAS login will return a
ticket-granting cookie that you have to pass along to any site that is
CASified.
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to