thanks Massimo that is cool!

2011/5/23 Massimo Di Pierro <[email protected]>:
> With the code in trunk every web2py app is - by default - a CAS
> service. To connect to from another app:
>
>        from gluon.contrib.login_methods.cas_auth import
> CasAuth
>
> auth.define_tables(username=True)
>
> auth.settings.login_form=CasAuth(
>
> globals(),
>            urlbase = "https://127.0.0.1:8000/otherapp/default/
> user",
>
> actions=['cas_login','cas_check','logout'])
>
> Please help me test it.
> Suggestions for improvement?
>
> Massimo

Reply via email to