How to provide your own customized WAYF page
It is annoying to have a such long list in InCommon, but your users are limited to just several schools. Here is my solution:
1. Install apache-tomcat server on port 7080, the same machine runs SP but in
different port.
2. change wayfURL in SessionInitiator
http://yourdomain:7080/index.jspThe following is a sample index.jsp I am using:
<html><% String timeInMillis = ""+System.currentTimeMillis();%><body><center> <h1>University of California Grid Virtual Desktop</h1> <div class="selector"> <div class="list"> <h2>Which campus are you from: </h2> <form method="get" action="https://wayf.incommonfederation.org/InCommon/WAYF"> <p> <input type="hidden" name="shire" value="https://youdomain/Shibboleth.sso/SAML/POST" /> <input type="hidden" name="target" value="cookie" /> <input type="hidden" name="providerId" value="https://yourdomain/incommon" /> <input type="hidden" name="time" value="<%=timeInMillis%>" /> <input type="hidden" name="action" value="selection" /> <select name="origin"> <option value="urn:mace:incommon:ucop.edu"> University of California - Office of the President </option> <option value="urn:mace:incommon:berkeley.edu"> University of California, Berkeley </option> <option value="urn:mace:incommon:ucdavis.edu"> University of California, Davis </option> <option value="urn:mace:incommon:ucmerced.edu"> University of California, Merced </option> <option value="urn:mace:incommon:ucr.edu"> University of California, Riverside </option> <option value="urn:mace:incommon:uci.edu"> University of California-Irvine </option> <option value="urn:mace:incommon:ucla.edu"> University of California-Los Angeles </option> <option value="urn:mace:incommon:ucsd.edu"> University of California-San Diego </option> </select> <input type="submit" value="Select" /> <select name="cache"> <option value="false" selected> Do not remember <option value="session"> Remember for session <option value="perm"> Remember for a week </select> </p> </form> </div></body></html>