Catalyst

From RavenWiki
Revision as of 15:54, 15 September 2006 by mjg17 (talk | contribs)
Jump to navigationJump to search

A Ucam-Webauth authentication plugin for Catalyst has been written by Michael Gray from Engineering. It's available at

http://www2.eng.cam.ac.uk/~mjg17/perl/Catalyst-Plugin-Authentication-Credential-Raven-0.01.tar.gz

Note that it requires the Ucam-WebAuth-AA Perl module which, to avoid a bug leading to warning messages when using the plugin, should be at least version 1.02.

Jon Warbrick has discovered that by default Catalyst's session cookies do not expire at the end of the session, but instead have a two hour lifetime. This can be confusing for users. I'll look at how this might be tackled in the plugin, but meanwhile, adding the following stanza to your Catalyst app's config file (my_app.yml) should solve this issue:

session:
    cookie_expires: 0