1 package RemoteTestApp2;
10 unless ($Catalyst::VERSION >= 5.89000) {
11 __PACKAGE__->engine_class('RemoteTestEngine');
14 'Plugin::Authentication' => {
15 default_realm => 'remote',
20 allow_regexp => '^(bob|john|CN=.*)$',
21 deny_regexp=> 'denied',
22 cutname_regexp=> 'CN=(.*)/OU=Test',
23 source => 'SSL_CLIENT_S_DN',
24 username_field => 'my_user_name',
34 if ($Catalyst::VERSION >= 5.89000) {
35 require RemoteTestEngineRole;
36 RemoteTestEngineRole->meta->apply(__PACKAGE__->engine);