1 package stemmaweb::Model::User;
5 use Text::Tradition::UserStore;
7 extends 'Catalyst::Model::KiokuDB';
9 has '+model_class' => ( default => 'Text::Tradition::UserStore' );
15 stemmaweb::Model::User - User/Auth KiokuDB model for stemmaweb
19 ## CONFIGURATION, in .conf file (this is the default setting)
21 model_class Text::Tradition::UserStore
24 <Plugin::Authentication>
28 password_field 'password'
29 password_type 'self_check'
32 class 'Model::KiokuDB'
36 </Plugin::Authentication>
41 This is the User Model used as a Authentication Store (using
42 ::Store::Model::KiokuDB) for stemmaweb user authentication.
44 This separate model allows us to have self-contained user storage,
45 which is replaceable. The default uses Text::Tradition::UserStore and
46 stores the Users alongside the Traditions.
48 To replace the source of users for authentication, add the
49 configuration shown in the L</SYNOPSIS> to your stemmaweb.conf file,
50 and adjust as necessary.