Novell Home

SSO Capability for iChain and NIMS

Novell Cool Solutions: Feature
By Kevin James

Digg This - Slashdot This

Posted: 15 Feb 2001
 

This little servlet provides SSO capability for iChain and NIMS. Once a user is logged into iChain, if you put a link in their iChain pages to this servlet it transparently redirects requests and responses to and from the NIMS system, and pulls the authentication data out of the iChain UserSession object stored in the http Session.

So the browser thinks the servlet is NIMS, and NIMS thinks the servlet is the browser. Cool, eh? Of course, iChain and NIMS must be in the same tree, or at least have the same username/password. I think it'll work for any web-based application that uses the users CN (not DN) and NDS password, but it's only been tested with NIMS.

Disclaimer: This was written for a specific project, so make sure you test it carefully before you use it on another system.

Put the attached jar file in your SERVLETCLASSPATH, then add the following lines to servlets.properties:

  • # Nims SSO servlet
  • servlet.NimsRedirector.code=com.novell.nims_sso.NimsSSOServlet
  • servlet.NimsRedirector.initArgs=NimsRedirector.nims URL=http://www.mybbv.de:8000
    (Editor's Note: we had to break this last line between "nims" and "URL" in order to post it on our page, but when you enter it, do not add a space between anything.)

Obviously you replace www.mybbv.de:8000 with the address:port of your NIMS service. You can then put a link on one of your iChain pages to

http://myichainserver.novell.com/servlet/NimsRedirector,

and voila!

Download the file.

If you have any questions you may contact Kevin at KJames@novell.com


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell