SECTION: 650-JBoss TITLE: JBoss QUESTION: Does Jetty/JBoss support single sign on? Yes, Jetty/JBoss supports single sign on. Single sign on, or "sso" as it is frequently referred to, allows a user who is authenticated by one web application to be automatically accepted as authenticated by others.

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>