View Source

h1. Single sign-on from a "portal"

This is a single JSP that illustrates the type and complexity of code needed to have a portal (or other remote system) drive SGD.

The JSP
* creates an authenticated SGD session
* configures and starts the TCC
* launches an application

The simplest way to try this out is:
* download the JSP to /opt/tarantella/webserver/tomcat/5.0.28_axis1.2/webapps/sgd/singlesignon.jsp on an SGD server
* configure a DIFFERENT SGD server to accept third-party authentication
* edit singlesignon.jsp and change the hard-coded constants to point to the SGD server configured for third-party authentication

The first SGD server is effectively acting as a portal server remote from the second SGD server, and you get classpaths set-up for free!


This is very much a "proof-of-concept" and avoids issues like the security of trusted user credentials and other security measures like firewalls.

See attachments for source.

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact