Move the login.tmpl.html file out of the
/var/www/html/<Portal Site>/templates folder. The name of the Portal site will vary depending on the name you chose when you create the Portal site.
Back up the startup.php in the base folder of the site and replace it with the Xinet-provided
SAML-startup.php file. An example base site would look like
/var/www/html/<Portal Site>.
Back up the existing index.php file and replace it with the provided
SAML-index.php.
Edit config.inc.php in
/var/www/html/<Portal Site>. Within the main
<?php ... ?> tags, edit or add the following lines:
Back up the existing CUSTOM_AUTH.inc.php and replace it with the provided
SAML-CUSTOM_AUTH.inc.php found in
/usr/etc/portal/PORTAL/libs/.
The mellon_create_metadata.sh should have been run to create the entry for the Xinet server.
The saml20-sp-remote.php file is in
/var/simplesamlphp/metadata/ on the IdP server. In it, copy the
$metadata entry made for the Xinet Server earlier in this document and add it as a new entry. You should now have two entries that are identical.
Edit the following lines in only the copied entry using your specific values for entity ID,
Portal IP address or
hostname, and
Portal Site Name. All other lines remain unchanged.
Edit the <Directory /usr/etc/webnative> section of
/etc/httpd/conf/httpd.conf on the Xinet server. Make sure to edit so that you are using the values specific to your machine. The entries should follow this format and you will need to supply the Portal Site Name, entity ID, and the IP address or hostname of the Portal server: