Merge branch 'v2.0'

This commit is contained in:
Yadd 2021-03-27 07:47:20 +01:00
commit 0727d58878
4 changed files with 14 additions and 6 deletions

View File

@ -505,7 +505,8 @@ Some options are available:
rules,...)*
- **Access to trace**: can be used for overwriting REMOTE_CUSTOM with a custom function.
Provide a comma separated parameters list with custom function path and args.
By example: My::accessToTrace, Doctor, Who
Args can be vars or session attributes, macros, ...
By example: My::accessToTrace, Doctor, Who, _whatToTrace
- **Type**: handler type (normal,
:doc:`ServiceToken Handler<servertoserver>`,
:doc:`DevOps Handler<devopshandler>`,...)
@ -536,7 +537,7 @@ Some options are available:
my $params = $hash->{params};
my $session = $hash->{session};
return "$custom alias $params->[0]_$params->[1]:$session->{groups}";
return "$custom alias $params->[0]_$params->[1]:$session->{groups}:$session->{$params->[2]}";
}
1;

View File

@ -38,7 +38,7 @@ Categories and applications
---------------------------
:doc:`Configuring the virtual hosts<configvhost>` is not sufficient to
display an application in the menu. Indeed, a virtual host can contain
display an application in the menu. Indeed, a virtual host can serve
several applications (http://vhost.example.com/appli1,
http://vhost.example.com/appli2).

View File

@ -954,8 +954,8 @@ sub tests {
$hasPwdBE ||= 1 unless $mods[2] eq 'Null';
}
return ( -1,
'Password module is enabled without AuthChoice password backend' )
unless $hasPwdBE;
'Password module is enabled without AuthChoice password backend'
) unless $hasPwdBE;
}
return 1;
},
@ -990,7 +990,10 @@ sub tests {
# AuthChoice parameters must exist
AuthChoiceParams => sub {
return 1 unless %{ $conf->{authChoiceModules} };
return 1
unless ( $conf->{authChoiceModules}
and %{ $conf->{authChoiceModules} }
and $conf->{authentication} eq 'Choice' );
foreach (qw(AuthBasic FindUser)) {
if ( $conf->{"authChoice$_"} ) {
my $test = $conf->{"authChoice$_"};

View File

@ -414,7 +414,11 @@ sub validateST {
$casResponse->getElementsByTagName('cas:authenticationFailure') )
{
$self->logger->error( "Failed to validate Service Ticket $ticket: "
<<<<<<< HEAD
. $failure->string_value =~ s/\R//r );
=======
. $xml->{'cas:authenticationFailure'}->{content} );
>>>>>>> v2.0
return 0;
}