Skip to content
Snippets Groups Projects
Commit 5e13c78a authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

shorter configuration directive name

parent 7769816b
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@ sub list_accounts {
die "failed to update simpleSAMLphp configuration file\n"
unless IdPAccountManager::Tools::update_ssp_authsources(
$configuration->{templates_dir},
$configuration
$configuration->{idp_accounts_file}}
);
printf "Update simpleSamlPhp configuration file...\n";
......@@ -153,7 +153,7 @@ sub parse_metadata {
eval {
$federation_metadata = IdPAccountManager::SAMLMetadata->new(
file => $configuration->{federation_metadata_file_path}
file => $configuration->{federation_metadata_file}
);
};
die "unable to load federation metadata: $EVAL_ERROR" if $EVAL_ERROR;
......@@ -161,7 +161,7 @@ sub parse_metadata {
my $data = $federation_metadata->parse(id => $options{sp_entityid});
printf "Document %s parsed\n",
$configuration->{federation_metadata_file_path};
$configuration->{federation_metadata_file};
## List SAML entities
printf "Hashref representing the metadata:\n";
......@@ -401,7 +401,7 @@ Remove all expired test accounts from DB.
$> account-manager-client.pl parse_metadata
Parses the SAML metadata file, as defined by the
C<federation_metadata_file_path> configuration parameter.
C<federation_metadata_file> configuration parameter.
$> account-manager-client.pl list_tokens \
--sp_entityid https://test.federation.renater.fr/test/ressource \
......
......@@ -66,7 +66,7 @@ dev_sp_contact = john@my.fqdn, sarah@my.fqdn
notice_from = edugain-access-check.fqdn
# federation metadata local copy path
federation_metadata_file_path = @sysconfdir@/edugain-md.xml
federation_metadata_file = @sysconfdir@/edugain-md.xml
# Valid account profiles
account_profiles = fullset1, limitedset1, generic1, student1, student2, teacher1, teacher2, alumni1, librarywalkin1, employee1, researcher1
......
......@@ -185,7 +185,7 @@ sub req_account_wizard {
eval {
$metadata = IdPAccountManager::SAMLMetadata->new(
file => $self->{configuration}->{federation_metadata_file_path}
file => $self->{configuration}->{federation_metadata_file}
);
};
if ($EVAL_ERROR) {
......@@ -226,7 +226,7 @@ sub req_select_sp {
eval {
$metadata = IdPAccountManager::SAMLMetadata->new(
file => $self->{configuration}->{federation_metadata_file_path}
file => $self->{configuration}->{federation_metadata_file}
);
};
if ($EVAL_ERROR) {
......
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