Commit | Line | Data |
064c3709 |
1 | #!/usr/bin/env perl |
300eb468 |
2 | |
3 | package SessionTestApp; |
1b41775a |
4 | use Catalyst qw/Session Session::Store::Dummy Session::State::Cookie Authentication/; |
300eb468 |
5 | |
6 | use strict; |
7 | use warnings; |
8 | |
064c3709 |
9 | __PACKAGE__->config('Plugin::Session' => { |
1b41775a |
10 | # needed for live_verify_user_agent.t; should be harmless for other tests |
11 | verify_user_agent => 1, |
12 | verify_address => 1, |
1b41775a |
13 | }, |
14 | |
15 | 'Plugin::Authentication' => { |
16 | default => { |
17 | credential => { |
18 | class => 'Password', |
19 | password_field => 'password', |
20 | password_type => 'clear' |
21 | }, |
22 | store => { |
23 | class => 'Minimal', |
24 | users => { |
25 | bob => { |
26 | password => "s00p3r", |
27 | }, |
28 | william => { |
29 | password => "s3cr3t", |
30 | }, |
31 | }, |
32 | }, |
33 | }, |
34 | }, |
35 | ); |
06c621b5 |
36 | |
300eb468 |
37 | __PACKAGE__->setup; |
38 | |
39 | __PACKAGE__; |
40 | |