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, |
2a1463db |
13 | |
1b41775a |
14 | }, |
15 | |
16 | 'Plugin::Authentication' => { |
17 | default => { |
18 | credential => { |
19 | class => 'Password', |
20 | password_field => 'password', |
21 | password_type => 'clear' |
22 | }, |
23 | store => { |
24 | class => 'Minimal', |
25 | users => { |
26 | bob => { |
27 | password => "s00p3r", |
28 | }, |
29 | william => { |
30 | password => "s3cr3t", |
31 | }, |
32 | }, |
33 | }, |
34 | }, |
35 | }, |
36 | ); |
06c621b5 |
37 | |
300eb468 |
38 | __PACKAGE__->setup; |
39 | |
40 | __PACKAGE__; |
41 | |