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