Using credentials in Portlets and Servlets

From Gcube Wiki
Revision as of 15:41, 25 May 2007 by Valia (Talk | contribs)

Jump to: navigation, search

How to use DILIGENT credentials in a Portlet / Servlet

Pre-development Actions

Patching GridSphere

In order to use credentials you have first to patch gridSphere so as to enable it to consume DILIGENT Credentials.
(info to be added...)

Credentials API

Available Methods

ExtendedGSSCredential getCredentials(PortletSession session)

  • You should use this method if you want to retrieve the credential from the portlet.
  • This method returns a grid credential that you should pass to DIS or every other service that you want to use.

ExtendedGSSCredential getCredentials(HttpSession session)

  • You should use this method if you want to retrieve the credential from the servlet.
  • This method returns a grid credential that you should pass to DIS or every other service that you want to use.