WeBWorK Main Forum

CAS failover

CAS failover

by Nandor Sieben -
Number of replies: 1
Is it possible to use local failover with CAS authentication? I do not see this option in authen_CAS.conf like it is available in authen_ldap.conf . 

I used to use ldap authentication but it stopped working this Summer after an operating system update. So I had to switch to CAS authentication. This made our ITS guys more happy but local failover no longer works. This is an issue because I host some courses for other institutions who do not have login names at our institution so they need to use local passwords.

What is the solution?
In reply to Nandor Sieben

Re: CAS failover

by Danny Glin -
I'm not sure that you'll be able to do local failover with CAS authentication, since CAS authentication circumvents the login screen entirely.

What you can do is set up different authentication methods for different courses.  For the courses that need local authentication, you can add the following to course.conf:

$authen{user_module} = {
"*" => "WeBWorK::Authen::Basic_TheLastOption",

I don't see a way to use both types of authentication in the same course that doesn't involve making major modifications to the WeBWorK CAS code.