I fixed the issue- turns out you just have to ensure that each WebAppContext 
uses the same instance of SessionManager. Since I've seen the question asked in 
a few places now, here's the StackOverflow page where I provide some sample 
code and further detail.

http://stackoverflow.com/questions/19525948/implementing-sso-between-jetty9-webappcontexts/

-- Miles

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of [email protected]
Sent: Tuesday, October 22, 2013 12:00 PM
To: [email protected]
Subject: jetty-users Digest, Vol 53, Issue 37

Send jetty-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://dev.eclipse.org/mailman/listinfo/jetty-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of jetty-users digest..."


Today's Topics:

   1. [Single Sign On] Replacement for HashSSOrealm? (Gordenker, Miles)


----------------------------------------------------------------------

Message: 1
Date: Tue, 22 Oct 2013 12:39:07 +0000
From: "Gordenker, Miles" <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [jetty-users] [Single Sign On] Replacement for HashSSOrealm?
Message-ID:
        
<d3e35c13baef264fbc0dae4325b4aa34014e3...@de08ex3009.global.ds.honeywell.com>
        
Content-Type: text/plain; charset="us-ascii"

Hi all,

The Jetty 9 application I am developing automatically scans a set of JarFiles 
for web.xml, then programmatically imports the contained webapps as 
WebAppContexts. I would like to implement single sign-on between the individual 
webapps, as explained in this tutorial for Jetty 6: 
http://docs.codehaus.org/display/JETTY/Single+Sign+On+-+Jetty+HashSSORealm. 
Unfortunately, HashSSORealm seems to have been removed from Jetty. Are there 
any viable alternatives for implementing simple SSO?

I did find this<http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03176.html> 
post recommending the Fediz jetty plugin, but would prefer to use a native 
jetty solution if such a thing exists.

Cheers,
Miles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://dev.eclipse.org/mailman/private/jetty-users/attachments/20131022/a5bed326/attachment.html>

------------------------------

_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users


End of jetty-users Digest, Vol 53, Issue 37
*******************************************
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to