...
Download the Python CAS client here.
STEPS TO ADD CAS AUTHENTICATION
- Import the pycas module
- Add three lines like this,
Code Block CAS_SERVER = "https://casserver.mydomain" SERVICE_URL = "http://webserver.mydomain/cgi-bin/webapp.py" status, id, cookie = login(CAS_SERVER, SERVICE_URL)
- Process the returned variables*,*
Panel |
---|
status carries the success or failure status. |
For more information, see comments in the Python code.