Epic cleanup and code shuffle in tests to avoid warnings
[catagits/Catalyst-Plugin-Authentication.git] / t / lib / RemoteTestApp1.pm
CommitLineData
b94c4996 1package RemoteTestApp1;
d055ce0c 2use strict;
3use warnings;
b94c4996 4use Catalyst qw/
5 Authentication
6/;
7
8use base qw/Catalyst/;
9__PACKAGE__->engine_class('RemoteTestEngine');
10__PACKAGE__->config(
11 'Plugin::Authentication' => {
12 default_realm => 'remote',
13 realms => {
14 remote => {
15 credential => {
16 class => 'Remote',
17 allow_regexp => '^(bob|john|CN=.*)$',
18 deny_regexp=> 'denied',
19 cutname_regexp=> 'CN=(.*)/OU=Test',
20 },
21 store => {
22 class => 'Null',
23 },
24 },
25 },
26 },
27);
28
b94c4996 29__PACKAGE__->setup;
30
d055ce0c 311;
32