Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] SSO between WebAppContexts

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: jetty-users-bounces@xxxxxxxxxxx [mailto:jetty-users-bounces@xxxxxxxxxxx] On Behalf Of jetty-users-request@xxxxxxxxxxx
Sent: Tuesday, October 22, 2013 12:00 PM
To: jetty-users@xxxxxxxxxxx
Subject: jetty-users Digest, Vol 53, Issue 37

Send jetty-users mailing list submissions to
	jetty-users@xxxxxxxxxxx

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
	jetty-users-request@xxxxxxxxxxx

You can reach the person managing the list at
	jetty-users-owner@xxxxxxxxxxx

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" <mgordenker@xxxxxxxxxxx>
To: "jetty-users@xxxxxxxxxxx" <jetty-users@xxxxxxxxxxx>
Subject: [jetty-users] [Single Sign On] Replacement for HashSSOrealm?
Message-ID:
	<D3E35C13BAEF264FBC0DAE4325B4AA34014E36C1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
	
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
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


End of jetty-users Digest, Vol 53, Issue 37
*******************************************


Back to the top