Insert 'remoteCookieName' as known exception

This commit is contained in:
Xavier Guimard 2016-01-06 06:02:51 +00:00
parent fcad402857
commit eb6bfa7107
2 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,8 @@
use strict;
use Test::More;
my $knownExceptions = qr/^(?:remoteCookieName)$/;
ok( open( F, 'lib/Lemonldap/NG/Manager/Build/Attributes.pm' ),
'open attributes file' );
my $count = 1;
@ -48,12 +50,12 @@ sub scanTree {
),
"Node $name has leafs"
);
$count += 3;
$count += 4;
foreach my $n (qw(nodes nodes_cond group)) {
scanTree( $leaf->{$n} ) if ( exists $leaf->{$n} );
}
}
else {
elsif ( $leaf !~ $knownExceptions ) {
ok( $leaf =~ /^\*?\w+/, "Leaf is an attribute name ($leaf)" );
$h2{$leaf}++;
ok( $h2{$leaf} == 1, "$leaf is uniq" );

View File

@ -68,7 +68,7 @@ Lemonldap::NG::Portal::AuthProxy - Authentication module for Lemonldap::NG
that delegates authentication to a remote Lemonldap::NG portal.
The difference with Remote authentication module is that the client will never
be redirect to the main Lemonldap::NG portal. This configuration is usable if
be redirected to the main Lemonldap::NG portal. This configuration is usable if
you want to expose your internal SSO to another network (DMZ).
=head1 SYNOPSIS