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

Add a default Conf.pm file to be customized

git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@50 047e039d-479c-447e-8a29-aa6bf4a09bab
parent 72338fa2
No related branches found
No related tags found
No related merge requests found
## default Conf.pm file
## you should customize it and rename it Conf.pm
package Conf;
our %global = (
## Code version
'version' => 'closed Beta 1',
## Name of the application used in web pages, mail notices
'app_name' => 'eduGAIN Test Account Manager',
## URL of the application
'app_url' => 'https://my.fqdn/accountmanager',
## Validity period of test accounts, in days
'accounts_validity_period' => 7,
## Scope used by the Test IdP
'idp_scope' => 'my.fqdn',
## EntityID of the IdP
'idp_entityid' => 'https://my.fqdn/simplesaml/saml2/idp/metadata.php',
## Name of the IdP
'idp_displayname' => 'eduGAIN Test Identity Provider',
## Root simpleSamlPhp directory
'root_ssp_dir' => '/opt/testidp/simplesamlphp',
## Root test account manager directory
'root_manager_dir' => '/opt/testidp/IdPAccountManager',
## Database type refers to a Perl Database Driver name
## However only a subset of existing DBDs are supported by Rose::DB::Object:
## Pg, mysql, SQLite, Informix, Oracle (DBD names are case sensitives)
'database_type' => 'mysql',
## Database hostname
'database_host' => 'localhost',
## Database_name
'database_name' => 'idp_account_manager',
## Database username
'database_user' => 'idpadmin',
## Database user password
'database_password' => 'secret',
## Log file for the manager
'log_file' => '/opt/testidp/IdPAccountManager/log/manager.log',
## Log level : debug, info, trace, notice, error
'log-level' => 'info',
## email address to contact admins
'admin_email' => 'john@my.fqdn',
## email address to ask for support
'support_email' => 'support@my.fqdn',
## Development feature
## Protection to prevent notifications during test dev phases
## Notify only admin_email above
'dev_no_mail_outside' => 1,
## Development feature
## hard-coded list of contactPersons
## these email addresses will be added to the list of contacts for any SP
'dev_sp_contact' => 'john@my.fqdn,sarah@my.fqdn',
## From field use by the account manager
'notice_from' => 'testidpaccountmanager@my.fqdn',
## federation metadata local copy path
'federation_metadata_file_path' => '/opt/testidp/IdPAccountManager/conf/edugain-md.xml',
## valid account profiles
'account_profiles' => ['student1','teacher1'],
);
1; # Magic true value required at end of module
__END__
=head1 NAME
Conf - Configuration of the Test Account manager
=head1 SYNOPSIS
use Conf;
printf "Version: %s\n", $Conf::global{'version'};
=head1 DESCRIPTION
The Test Account manager instanciates test accounts associated to a SAML Identity Provider. This module is the main configuration file for the
software.
=head1 CONFIGURATION OPTIONS
See the code for the list of supported configuration options
=head1 AUTHOR
Olivier Salaün (olivier.salaun@renater.fr)
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