portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woonsan Ko (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Resolved: (JS2-1208) Support Form-based Authentication in SSO IFrame Portlet
Date Tue, 31 Aug 2010 00:47:57 GMT

     [ https://issues.apache.org/jira/browse/JS2-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Woonsan Ko resolved JS2-1208.
-----------------------------

    Resolution: Fixed

Fixed.

You can test this feature like this example test scenario:

(1) Log in by admin and visit SSO Management page (/security/sso-admin.psml)
(2) Add an SSO Site. For example,
      - Site name: localhost_form
      - Site URL: http://localhost:8080/j2-admin/examples/formauth-success.jsp
      - Field name for User ID: user
      - Field name for Password value: pass
(3) Add sso credentials on the right pane for the site, "SSO Details - localhost_form"
      - Portal Principal: admin
      - Remote Principal: manager
      - Remote Credential: manager
(4) Log out and re-login. 
      Visit the default page (/default-page.psml) or create a page and visit the created page
for testing.
(5) Add SSOIFramePortlet into the page.
(6) Edit the portlet preferences by clicking edit icon. Edit the followings and save.
     - SRC: http://localhost:8080/j2-admin/examples/formauth-success.jsp
     - sso.type: form or form.post
     - sso.form.Action: http://localhost:8080/j2-admin/examples/formauth.jsp
     - sso.form.Principal: user
     - sso.form.Credential: pass
     - sso.form.Args:

By the way, when sso.type is form, form.get or form.post, the following prefs are just ignored:
- sso.url.Principal, sso.url.Credential

Also, the sso.form.Action url will be invoked just once per (portlet-level) portlet session.

-Woonsan

> Support Form-based Authentication in SSO IFrame Portlet
> -------------------------------------------------------
>
>                 Key: JS2-1208
>                 URL: https://issues.apache.org/jira/browse/JS2-1208
>             Project: Jetspeed 2
>          Issue Type: Improvement
>          Components: SSO
>            Reporter: David Sean Taylor
>            Assignee: Woonsan Ko
>             Fix For: 2.2.2
>
>
> The SSO IFrame portlet does not support  Form-based Authentication. A generalized Form-based
authentication solution would be useful for iframes as well as web content portlets (Jetspeed
already supports SSO with the SSO Web Content portlet). The SSO IFrame portlet should make
use of Jetspeed SSO configurations to retrieve username and passwords, as well as the standard
preferences such as sso.type and sso preferences to build a form and post to it as described
on Woonsan's email to the Jetspeed User List.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message