Skip to content
Snippets Groups Projects
create_accounts.tt2.html 3.37 KiB
Newer Older
<div class="callout success">
    <strong>Success:</strong> Your identity as administrator of the Service Provider with entityID <strong>[% entityid %]</strong> could successfully be validated!
<h3>The following test accounts with different profiles were created for you:</h3>
<p>You can now use these test accounts to login at your federated service.<br/>
<strong>To do so, select the "[% idp_displayname %]" when choosing an organisation to login at.</strong></p>

<div class="accounts_profile">
    <div class="tbl">
        <table>
            <caption>Account profile: [% account.profile() %]</caption>
            <tr>
                <th>user name:</th><td> user[% account.id() %]</td>
            </tr>
            <tr>
                <th>user password:</th><td>[% account.password() %]</td>
            </tr>
            <tr>
                <td colspan="2"><strong>comment:</strong><div><p>[% account.comment() %]</p></div></td>
            </tr>
            <tr>
Guillaume ROUSSE's avatar
Guillaume ROUSSE committed
                <td colspan="2" class="text-center" ><button data-open="account_details_[% account.id() %]" class="button show_account_details" id="show_account_details_[% account.id() %]">show account details</button></td>
            </tr>
        </table>
    </div>
    <div class="reveal" data-reveal id="account_details_[% account.id() %]">
        <button class="close-button" data-close aria-label="Close modal" type="button">
            <span aria-hidden="true">&times;</span>
        </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>
        <div>
            <table>
                <caption>List of user attributes</caption>
    [% FOREACH attribute IN [ 'cn', 'displayName', 'givenName', 'sn', 'mail', 'schacHomeOrganization', 'schacHomeOrganizationType', 'eduPersonPrincipalName', 'eduPersonAffiliation', 'eduPersonScopedAffiliation' ] -%]
                <tr>
                    <th>[% attribute %]</th><td> [% account.$attribute %]</td>
                </tr>
    [% END %]
                <tr>
                    <th>eduPersonTargetedID:</th><td><i>value dynamically generated by the SP</i></td>
                </tr>
            </table>
        <div class="callout info">If you need a customized test account with additional user attributes, you should contact <a href="mailto:[% app.support_email %]">[% app.support_email %]</a>.</div>
        <div>(1) eduPersonAffiliation and eduPersonScoppedAffilisation attributes are assigned quite differently from federation to federation. <a href="http://tnc2010.terena.org/files/ePSA%20comparison%20v0%2006.ppt">This usage comparison of eduPersonAffiliation accross different countries</a> discusses these differences. Therefore its values should be handled with great care.</div>
    </div>
<div class="callout warning">
    <p>Note that these test accounts will automatically expire in [% accounts_validity_period %] days and that they can only be used to test federated login to your eduGAIN-enabled Service Provider with entityID <strong>[% entityid %]</strong>.</p>
<p class="text-center"><Strong>Thank you for using the [% app.name %]</strong></p>