IdP discovery: Add support for saving the users choice of IdP.
A config option is added which enables this: 'idpdisco.enableremember' A checkbox allowing the user to save his choice of IdP appears on the IdP selection page if this option is enabled. This patch breaks backwards-compatibility for the selectidp-links page. Also, the selectidp-dropdown page must be modified to show the checkboxk. An additional page (https://.../simplesaml/cleardiscochoices.php) has been added to make it possible to delete the current IdP choices. There are also some dictionary updates which are not part of this patch: frontpage.php: + 'link_cleardiscochoices' => array ( + 'en' => 'Delete my choices of IdP in the IdP discovery services', + 'no' => 'Slett mitt valg av IdP i IdP discovery tjenestene', + ), disco.php: + 'remember' => array ( + 'en' => 'Remember my choice', + 'no' => 'Husk mitt valg', + ), git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@652 44740490-163a-0410-bde0-09ae8108e29a
Showing
- config-templates/config.php 6 additions, 1 deletionconfig-templates/config.php
- templates/default/selectidp-dropdown.php 8 additions, 3 deletionstemplates/default/selectidp-dropdown.php
- templates/default/selectidp-links.php 19 additions, 6 deletionstemplates/default/selectidp-links.php
- www/cleardiscochoices.php 48 additions, 0 deletionswww/cleardiscochoices.php
- www/index.php 6 additions, 0 deletionswww/index.php
- www/saml2/sp/idpdisco.php 104 additions, 28 deletionswww/saml2/sp/idpdisco.php
- www/shib13/sp/idpdisco.php 117 additions, 28 deletionswww/shib13/sp/idpdisco.php
Loading
Please register or sign in to comment