1#!/bin/sh
2echo Content-Type: text/html
3echo
4
5cat <<HTML
6<html><head><title>ZXID SP SSO: Choose IdP</title></head>
7<body alink="#ffffff" bgcolor="#330033" link="#ffddff" text="#ffaaff" vlink="#aa44aa">
8
9<font face="sans"></font><h1><font face="sans">IdP Selection (custome page for strong)</font></h1>
10
11<form method="get" action="https://sp1.zxidsp.org:5443/protected/saml">
12<font face="sans"><input name="o" value="G" type="hidden"></font>
13
14Destination: $QUERY_STRING
15
16<h3><font face="sans">Login Using Known IdP</font></h3>
17<select name="d">
18<option value="http://idp.ssocircle.com"> http://idp.ssocircle.com 
19</option><option value="http://auth.orange.fr"> http://auth.orange.fr 
20</option><option value="http://auth-int.orange.fr"> http://auth-int.orange.fr 
21</option><option value="https://s-idp.liberty-iop.org:8881/idp.xml"> https://s-idp.liberty-iop.org:8881/idp.xml 
22</option><option value="https://idp.symdemo.com:8880/idp.xml"> https://idp.symdemo.com:8880/idp.xml 
23</option></select><font face="sans"><input name="l0" value=" Login " type="submit">
24
25<h3><font face="sans">Login Using New IdP</font></h3>
26<font face="sans"><i>A new IdP is one whose metadata we do not have
27yet. We need to know the IdP URL (aka Entity ID) in order to fetch the
28metadata using the well known location method. You will need to ask the
29adminstrator of the IdP to tell you what the EntityID is.</i>
30</font><p><font face="sans">IdP URL <input name="e" size="80"><input name="l0" value=" Login " type="submit"><br>
31Entity ID of this SP (click on the link to fetch the SP metadata): <a href="https://sp1.zxidsp.org:5443/protected/saml?o=B">https://sp1.zxidsp.org:5443/protected/saml?o=B</a><br></font></p>
32
33<input name="fr" value="$QUERY_STRING" type="hidden">
34<input name="fc" value="1" type="hidden">
35<input name="fn" value="prstnt" type="hidden">
36<input name="fq" value="" type="hidden">
37<input name="fy" value="" type="hidden">
38<input name="fa" value="urn:oasis:names:tc:SAML:2.0:ac:classes:Strong" type="hidden">
39<input name="fm" value="" type="hidden">
40<input name="fp" value="0" type="hidden">
41<input name="ff" value="0" type="hidden">
42<!-- ZXID built-in defaults, see IDP_SEL_TECH_SITE in zxidconf.h --><input name="fr" value="" type="hidden"></font><hr><font face="sans"><a href="http://zxid.org/">zxid.org</a>, 0.27 1221659482 libzxid (zxid.org)<!-- EOF --->
43</form></body></html>
44
45HTML