rubycas / rubycas-server

Provides single sign-on authentication for web applications, implementing the server-end of Jasig's CAS protocol.
http://rubycas.github.com
Other
628 stars 270 forks source link

Fix a bug in custom authentication #207

Open liudangyi opened 10 years ago

liudangyi commented 10 years ago

Now custom authenticator can be used in an authenticators array. Also you can use more than one custom authenticator.

mitfik commented 10 years ago

Hi, thanks for contribution

Could you provide also test with use case when it failed and then with new patch? Or at least describe the use case when it failed and as soon as I will find time I will create tests for it and merge that patch.

Thanks Best regards

liudangyi commented 10 years ago

stub! and mock were deprecated since rspec-mock 2.14.0.rc1. I'm not sure whether it will cause any inconvenience.