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 ...@@ -16,7 +16,6 @@ sendmail_path = /usr/sbin/sendmail
[app] [app]
version = open Beta 1 version = open Beta 1
name = eduGAIN Access Check
url = https://my.fqdn/accountmanager url = https://my.fqdn/accountmanager
support_email = support@my.fqdn support_email = support@my.fqdn
......
...@@ -142,7 +142,6 @@ sub respond { ...@@ -142,7 +142,6 @@ sub respond {
my ($self, %in) = @_; my ($self, %in) = @_;
$in{data}->{app} = { $in{data}->{app} = {
name => $self->{configuration}->{app}->{name},
url => $self->{configuration}->{app}->{url}, url => $self->{configuration}->{app}->{url},
support_email => $self->{configuration}->{app}->{support_email}, support_email => $self->{configuration}->{app}->{support_email},
version => $self->{configuration}->{app}->{version}, version => $self->{configuration}->{app}->{version},
...@@ -447,7 +446,6 @@ sub req_complete_challenge { ...@@ -447,7 +446,6 @@ sub req_complete_challenge {
my $template = 'send_authentication_token.tt2.eml'; my $template = 'send_authentication_token.tt2.eml';
my $data = { my $data = {
app => { app => {
name => $self->{configuration}->{app}->{name},
url => $self->{configuration}->{app}->{url}, url => $self->{configuration}->{app}->{url},
support_email => $self->{configuration}->{app}->{support_email}, support_email => $self->{configuration}->{app}->{support_email},
version => $self->{configuration}->{app}->{version}, version => $self->{configuration}->{app}->{version},
......
From: [% app.name %] <[% from %]> From: eduGAIN Access Check <[% from %]>
To: [% to %] To: [% to %]
Subject: [% app.name %] - Test accounts request Subject: eduGAIN Access Check - Test accounts request
Content-type: text/plain; charset=UTF-8; format=flowed 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. 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 %] 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 Best Regards
[% app.name %] Bot eduGAIN Access Check Bot
From: [% app.name %] <[% from %]> From: eduGAIN Access Check <[% from %]>
To: [% to %] 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 Content-type: text/plain; charset=UTF-8; format=flowed
Ceci est un message envoyé automatiquement par l'application eduGAIN Ceci est un message envoyé automatiquement par l'application eduGAIN
...@@ -14,7 +14,7 @@ validation suivant dans l'application eduGAIN Access Check. ...@@ -14,7 +14,7 @@ validation suivant dans l'application eduGAIN Access Check.
Code de validation: [% token %] 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 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 autre administrateur du service mentionné plus haut, merci de
...@@ -23,4 +23,4 @@ d'une utilisation inappropriée de l'application eduGAIN Access ...@@ -23,4 +23,4 @@ d'une utilisation inappropriée de l'application eduGAIN Access
Check. Check.
Cordialement Cordialement
[% app.name %] Bot eduGAIN Access Check Bot
...@@ -45,7 +45,7 @@ provider.</p> ...@@ -45,7 +45,7 @@ provider.</p>
</button> </button>
<h3>List of user attributes associated</h3> <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 <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> <div>
<table> <table>
<caption>List of user attributes</caption> <caption>List of user attributes</caption>
...@@ -76,6 +76,6 @@ provider.</p> ...@@ -76,6 +76,6 @@ provider.</p>
<div class="grid-x align-center"> <div class="grid-x align-center">
<div class="cell shrink"> <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>
</div> </div>
...@@ -8,7 +8,7 @@ access own services.</p> ...@@ -8,7 +8,7 @@ access own services.</p>
<p><a href="presentation.html">More information</a></p> <p><a href="presentation.html">More information</a></p>
<h2>Functionning</h2> <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> <h2>Getting started</h2>
<p>To start testing your own services, start by selecting one your are administrator for.</p> <p>To start testing your own services, start by selecting one your are administrator for.</p>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<script type="text/javascript" src="jquery-validation-1.17.0.min.js"></script> <script type="text/javascript" src="jquery-validation-1.17.0.min.js"></script>
<script type="text/javascript" src="account-manager.js"></script> <script type="text/javascript" src="account-manager.js"></script>
<title>[% app.name %]</title> <title>eduGAIN Access Check</title>
</head> </head>
...@@ -30,7 +30,7 @@ ...@@ -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.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> <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> </div>
<h1>[% app.name %]</h1> <h1>eduGAIN Access Check</h1>
</header> </header>
<main> <main>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</main> </main>
<footer> <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> </footer>
<script src="foundation/js/vendor/what-input.js"></script> <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 ...@@ -46,7 +46,7 @@ service fédéré. Pour le faire, sélectionnez <strong>[% idp_displayname
<h3>Liste des attributs utilisateur</h3> <h3>Liste des attributs utilisateur</h3>
<p>Voici la liste des attributs utilisateur associés à ce compte de <p>Voici la liste des attributs utilisateur associés à ce compte de
test. Ces attributs sont transmis via le protocole SAML, après une 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> votre service.</p>
<div> <div>
<table> <table>
......
...@@ -8,7 +8,7 @@ comptes de test ne peuvent être utilisés qu'avec ce service.</p> ...@@ -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> <p><a href="presentation.html">Plus d'information</a></p>
<h2>Fonctionnement</h2> <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> <h2>Commencer</h2>
<p>Pour commencer à tester vos propres services, commencez par en sélectionner un dont vous êtes l'administrateur.</p> <p>Pour commencer à tester vos propres services, commencez par en sélectionner un dont vous êtes l'administrateur.</p>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<script type="text/javascript" src="jquery-validation-1.17.0.min.js"></script> <script type="text/javascript" src="jquery-validation-1.17.0.min.js"></script>
<script type="text/javascript" src="account-manager.js"></script> <script type="text/javascript" src="account-manager.js"></script>
<title>[% app.name %]</title> <title>eduGAIN Access Check</title>
</head> </head>
...@@ -30,7 +30,7 @@ ...@@ -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.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> <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> </div>
<h1>[% app.name %]</h1> <h1>eduGAIN Access Check</h1>
</header> </header>
<main> <main>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</main> </main>
<footer> <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> </footer>
<script src="foundation/js/vendor/what-input.js"></script> <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