Child pages
  • IdP and SP Connection Test
Skip to end of metadata
Go to start of metadata

1. Preparation of Test Web Page for SP Testing

WS Participants

Please skip this step as a PHP script already exists at /var/www/html/secure/index.php.

Edit and store the following file as /var/www/html/secure/phpinfo.php

<?php phpinfo(); ?>

Simple metadata confirmation php program is also available from here.


2. Restart shibd and httpd services

 Before testing shibd and httpd have to be restarted for your insurance.

 # service shibd restart
 # service httpd restart

3. Access to SP

WS Participants

Please access the following URL:
https://sp.example.asia/secure/

 https://sp.example.asia/secure/phpinfo.php


4. Login 

 Login by inputting ID and Password

ID: janedoe, Password:
Attributes:
cn: jane doe
sn: Smith
eduPersonAffiliation: student
eduPersonPrincipalName: janedoe@sifulan.asia
Email: janedoe@sifulan.asia


ID: johndoe, Password:
Attributes:
cn: john doe
sn: Smith
eduPersonAffiliation: staff
eduPersonPrincipalName: johndoe@sifulan.asia
Email: johndoe@sifulan.asia

Confirm the attributes appeared in the web page.

Example)
In case of phpinfo

PHP Variables 

variablevalue
_SERVER["unscoped-affiliation"]staff

 

  

 

 

 


 

 

Previous Page Parent Page  

  • No labels