Skip to content
Snippets Groups Projects
Commit 09879040 authored by renater.salaun's avatar renater.salaun
Browse files

fix typo

git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@109 047e039d-479c-447e-8a29-aa6bf4a09bab
parent 12be3999
No related branches found
No related tags found
No related merge requests found
......@@ -447,21 +447,21 @@ sub req_validate_token {
unless ($authentication_token->load()) {
push @{$self->{'param_out'}{'errors'}}, "wrong_token";
&IdPAccountManager::Tools::do_log('error', "Failed to validate authentication token %s for sp_entityid %s",
$self->{'param_in'}{'token'}, $self->{'param_in'}{'sp_entityid'});
$self->{'param_in'}{'authentication_token'}, $self->{'param_in'}{'sp_entityid'});
return undef;
}
unless ($authentication_token->get('sp_entityid') eq $self->{'param_in'}{'sp_entityid'}) {
push @{$self->{'param_out'}{'errors'}}, "wrong_token_for_sp";
&IdPAccountManager::Tools::do_log('error', "Authentication token %s cannot be used for SP with entityid %s",
$self->{'param_in'}{'token'}, $self->{'param_in'}{'sp_entityid'});
$self->{'param_in'}{'authentication_token'}, $self->{'param_in'}{'sp_entityid'});
return undef;
}
## delete the token
unless ($authentication_token->delete()) {
&IdPAccountManager::Tools::do_log('error', "Failed to delete authentication token %s",
$self->{'param_in'}{'token'});
$self->{'param_in'}{'authentication_token'});
}
## create test accounts
......@@ -482,7 +482,7 @@ sub req_validate_token {
}
&IdPAccountManager::Tools::do_log('info', "Token validated for sp_entityid=%s;token=%s", $self->{'param_in'}{'sp_entityid'}, $self->{'param_in'}{'token'});
&IdPAccountManager::Tools::do_log('info', "Token validated for sp_entityid=%s;token=%s", $self->{'param_in'}{'sp_entityid'}, $self->{'param_in'}{'authentication_token'});
$self->{'param_out'}{'sp_entityid'} = $self->{'param_in'}{'sp_entityid'};
$self->{'param_out'}{'test_accounts'} = \@test_accounts;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment