On Mon, Aug 23, 2010 at 11:37 AM, Woonsan Ko <[email protected]> wrote:
> Hi,
>
> I think the documentation [1] is misleading for the Form-authentication 
> support, which is supported only with SSOWebContentPortlet.
> However, I think you can use IFrameGenericPortlet to allow that form 
> authentication, simply by configuring your new view page in preferrences. For 
> example, you can read the preferences and build a simple hidden form with the 
> sso credentials info to post to the target site.
> If you want to retrieve the sso credentials info for the SSO site from your 
> portlet or your view JSP page, you will probably need to access the Jetspeed 
> SSO Manager, listed here as Jetspeed Service component. [2]
>
>    PortletContext context = getPortletContext();
>    SSOManager sso = (SSOManager) context.getAttribute("cps:SSO");
>
> You could refer to SSOProxyPortlet.java on how to use the component. [3]

Woonsan, I like your solution. I think it could be generalized and
implemented in the SSO IFrame Portlet. I 've created a JIRA
"improvement" issue:

https://issues.apache.org/jira/browse/JS2-1208

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to