
Copyright 2005 Mort Bay Consulting
To use sso, each participating web application must have a WEB-INF/jetty-web.xml file. Each file must specify the same name for the shared single sign on realm. The following is an example of the contents of a WEB-INF/jetty-web.xml file that enables sso:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure 1.2//EN" "http://jetty.mortbay.org/configure_1_2.dtd">
<Configure class="org.mortbay.jetty.servlet.WebApplicationContext">
<Call name="getRealm">
<Set name="SSORealmName">MY-SSO-REALM-NAME</Set>
</Call>
</Configure>