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

hardcode application name

parent f36dc7f0
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,6 @@ sendmail_path = /usr/sbin/sendmail
[app]
version = open Beta 1
name = eduGAIN Access Check
url = https://my.fqdn/accountmanager
support_email = support@my.fqdn
......
......@@ -142,7 +142,6 @@ sub respond {
my ($self, %in) = @_;
$in{data}->{app} = {
name => $self->{configuration}->{app}->{name},
url => $self->{configuration}->{app}->{url},
support_email => $self->{configuration}->{app}->{support_email},
version => $self->{configuration}->{app}->{version},
......@@ -447,7 +446,6 @@ sub req_complete_challenge {
my $template = 'send_authentication_token.tt2.eml';
my $data = {
app => {
name => $self->{configuration}->{app}->{name},
url => $self->{configuration}->{app}->{url},
support_email => $self->{configuration}->{app}->{support_email},
version => $self->{configuration}->{app}->{version},
......
From: [% app.name %] <[% from %]>
From: eduGAIN Access Check <[% from %]>
To: [% to %]
Subject: [% app.name %] - Test accounts request
Subject: eduGAIN Access Check - Test accounts request
Content-type: text/plain; charset=UTF-8; format=flowed
This is an email challenge automatically sent to you by [% app.name %]. Somebody with IP address [% sourceip %] has requested to create test accounts for eduGAIN Service Provider with entityID [% entityid %].
This is an email challenge automatically sent to you by eduGAIN Access Check. Somebody with IP address [% sourceip %] has requested to create test accounts for eduGAIN Service Provider with entityID [% entityid %].
The address [% to %] is mentioned in the eduGAIN metadata as a contact for this Service Provider.
To complete the creation of test accounts, paste the following validation token in the [% app.name %] web form.
To complete the creation of test accounts, paste the following validation token in the eduGAIN Access Check web form.
Validation token: [% token %]
[% app.name %]: [% app.url %]
eduGAIN Access Check: [% app.url %]
If the creation of test accounts was not initiated by you or a fellow administrator for the above Service Provider, please forward this email and contact [% app.support_email %] to inform them about a potential abuse of the [% app.name %] service.
If the creation of test accounts was not initiated by you or a fellow administrator for the above Service Provider, please forward this email and contact [% app.support_email %] to inform them about a potential abuse of the eduGAIN Access Check service.
Best Regards
[% app.name %] Bot
eduGAIN Access Check Bot
From: [% app.name %] <[% from %]>
From: eduGAIN Access Check <[% from %]>
To: [% to %]
Subject: [% app.name %] - Demande de comptes de test
Subject: eduGAIN Access Check - Demande de comptes de test
Content-type: text/plain; charset=UTF-8; format=flowed
Ceci est un message envoyé automatiquement par l'application eduGAIN
......@@ -14,7 +14,7 @@ validation suivant dans l'application eduGAIN Access Check.
Code de validation: [% token %]
[% app.name %]: [% app.url %]
eduGAIN Access Check: [% app.url %]
Si la création de comptes de test n'a pas été demandée par vous ou un
autre administrateur du service mentionné plus haut, merci de
......@@ -23,4 +23,4 @@ d'une utilisation inappropriée de l'application eduGAIN Access
Check.
Cordialement
[% app.name %] Bot
eduGAIN Access Check Bot
......@@ -45,7 +45,7 @@ provider.</p>
</button>
<h3>List of user attributes associated</h3>
<p>Below is the list of user attributes associated to this test account. After a successfull authentication process these attributes are transmited
via the SAML protocol from [% app.name %] Identity Provider to your Service Provider.</p>
via the SAML protocol from eduGAIN Access Check Identity Provider to your Service Provider.</p>
<div>
<table>
<caption>List of user attributes</caption>
......@@ -76,6 +76,6 @@ provider.</p>
<div class="grid-x align-center">
<div class="cell shrink">
<strong>Thank you for using the [% app.name %]</strong>
<strong>Thank you for using the eduGAIN Access Check</strong>
</div>
</div>
......@@ -8,7 +8,7 @@ access own services.</p>
<p><a href="presentation.html">More information</a></p>
<h2>Functionning</h2>
<img alt="[% app.name %] Basics" src="images/edugain_test_idp_basics.png"/>
<img alt="eduGAIN Access Check Basics" src="images/edugain_test_idp_basics.png"/>
<h2>Getting started</h2>
<p>To start testing your own services, start by selecting one your are administrator for.</p>
......
......@@ -20,7 +20,7 @@
<script type="text/javascript" src="jquery-validation-1.17.0.min.js"></script>
<script type="text/javascript" src="account-manager.js"></script>
<title>[% app.name %]</title>
<title>eduGAIN Access Check</title>
</head>
......@@ -30,7 +30,7 @@
<a href="http://www.edugain.org" title="eduGAIN home page" target="_blank" class="float-left"><img alt="eduGAIN logo" width="200" src="images/edugain_logo.png"/></a>
<a href="http://www.geant.net" title="Geant home page" target="_blank" class="float-right"><img alt="GEANT logo" width="100" src="images/geant_logo_rgb_300dpi.jpg"/></a>
</div>
<h1>[% app.name %]</h1>
<h1>eduGAIN Access Check</h1>
</header>
<main>
......@@ -38,7 +38,7 @@
</main>
<footer>
<p class="text-center">[% app.name %] [% app.version %] - <a href="mailto:[% app.support_email %]">contact us</a></p>
<p class="text-center">eduGAIN Access Check [% app.version %] - <a href="mailto:[% app.support_email %]">contact us</a></p>
</footer>
<script src="foundation/js/vendor/what-input.js"></script>
......
......@@ -46,7 +46,7 @@ service fédéré. Pour le faire, sélectionnez <strong>[% idp_displayname
<h3>Liste des attributs utilisateur</h3>
<p>Voici la liste des attributs utilisateur associés à ce compte de
test. Ces attributs sont transmis via le protocole SAML, après une
authentification réussie, du fournisseur d'identité [% app.name %] à
authentification réussie, du fournisseur d'identité eduGAIN Access Check à
votre service.</p>
<div>
<table>
......
......@@ -8,7 +8,7 @@ comptes de test ne peuvent être utilisés qu'avec ce service.</p>
<p><a href="presentation.html">Plus d'information</a></p>
<h2>Fonctionnement</h2>
<img alt="[% app.name %] Basics" src="images/edugain_test_idp_basics.png"/>
<img alt="eduGAIN Access Check Basics" src="images/edugain_test_idp_basics.png"/>
<h2>Commencer</h2>
<p>Pour commencer à tester vos propres services, commencez par en sélectionner un dont vous êtes l'administrateur.</p>
......
......@@ -20,7 +20,7 @@
<script type="text/javascript" src="jquery-validation-1.17.0.min.js"></script>
<script type="text/javascript" src="account-manager.js"></script>
<title>[% app.name %]</title>
<title>eduGAIN Access Check</title>
</head>
......@@ -30,7 +30,7 @@
<a href="http://www.edugain.org" title="eduGAIN home page" target="_blank" class="float-left"><img alt="eduGAIN logo" width="200" src="images/edugain_logo.png"/></a>
<a href="http://www.geant.net" title="Geant home page" target="_blank" class="float-right"><img alt="GEANT logo" width="100" src="images/geant_logo_rgb_300dpi.jpg"/></a>
</div>
<h1>[% app.name %]</h1>
<h1>eduGAIN Access Check</h1>
</header>
<main>
......@@ -38,7 +38,7 @@
</main>
<footer>
<p class="text-center">[% app.name %] [% app.version %] - <a href="mailto:[% app.support_email %]">contactez nous</a></p>
<p class="text-center">eduGAIN Access Check [% app.version %] - <a href="mailto:[% app.support_email %]">contactez nous</a></p>
</footer>
<script src="foundation/js/vendor/what-input.js"></script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment