File: RemoteTestEngineRole.pm

package info (click to toggle)
libcatalyst-plugin-authentication-perl 0.10023-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 608 kB
  • sloc: perl: 3,672; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 298 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package RemoteTestEngineRole;
use Moose::Role;
require Catalyst;

around env => sub {
    my ($orig, $self, @args) = @_;
    my $e = $self->$orig(@args);

    $e->{REMOTE_USER} = $RemoteTestEngine::REMOTE_USER;
    $e->{SSL_CLIENT_S_DN} = $RemoteTestEngine::SSL_CLIENT_S_DN;
    return $e;
};

1;