Skip to content

Instantly share code, notes, and snippets.

@juliandunn
Created August 17, 2012 04:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juliandunn/3375928 to your computer and use it in GitHub Desktop.
Save juliandunn/3375928 to your computer and use it in GitHub Desktop.
jetty-mongo-sessions context
<Ref name="Server" id="Server">
<Call id="mongoIdMgr" name="getSessionIdManager"/>
</Ref>
<Set name="sessionHandler">
<New class="org.eclipse.jetty.server.session.SessionHandler">
<Arg>
<New id="mongoMgr" class="org.eclipse.jetty.nosql.mongodb.MongoSessionManager">
<Set name="idManager">
<Ref id="mongoIdMgr"/>
</Set>
</New>
</Arg>
</New>
</Set>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment