<?xml version="1.0"  encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">

<Configure class="org.eclipse.jetty.webapp.WebAppContext">
  <Set name="contextPath">/csvn</Set>
  <Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps/csvn.war</Set>
  <Set name="defaultsDescriptor"><SystemProperty name="jetty.home" default="."/>/etc/webdefault.xml</Set>

  <Set name="sessionHandler">
    <New class="org.eclipse.jetty.server.session.SessionHandler">
      <Arg>
        <New id="hashMgr"
class="org.eclipse.jetty.server.session.HashSessionManager">
          <Set name="secureCookies">true</Set>
          <Set name="httpOnly">true</Set>
        </New>
      </Arg>
    </New>
  </Set>

</Configure>
<?xml version="1.0"  encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">

<Configure class="org.eclipse.jetty.webapp.WebAppContext">
  <Set name="contextPath">/csvn</Set>
  <Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps/csvn.war</Set>
  <Set name="defaultsDescriptor"><SystemProperty name="jetty.home" default="."/>/etc/webdefault.xml</Set>

  <Set name="sessionHandler">
    <New class="org.eclipse.jetty.server.session.SessionHandler">
      <Arg>
        <New id="hashMgr"
class="org.eclipse.jetty.server.session.HashSessionManager">
          <Set name="secureCookies">true</Set>
          <Set name="httpOnly">true</Set>
        </New>
      </Arg>
    </New>
  </Set>

 <Set name="initParams">
    <Map>
      <Entry>
        <Item>org.eclipse.jetty.servlet.SessionCookie</Item>
        <Item>SESSID</Item>
      </Entry>
      <Entry>
        <Item>org.eclipse.jetty.servlet.SessionIdPathParameterName</Item>
        <Item>none</Item>
      </Entry>
    </Map>
  </Set>


</Configure>
Configure Jetty server to use different name for session cookie
[artf5508] : Configure Jetty server to use different name for session cookie

Modified app context to use SESSID for cookie name.  Also the cookie will
never be part of the URL when a GET request was made.  Customer confirmed
that this fix worked for them.

* svn-server/appserver/contexts/csvn.xml
  Customize the cookie name and hide it from appearing in URL

git-svn-id: ec3c21ed833430e32134c61539c75518a6355d4e@1824 03e8f217-bfc6-4b7c-bcb7-0738c91e2c5f
