Where is the code?  Could you please send it to me 
([EMAIL PROTECTED]).  I would be happy to give it a try and give 
you feedback.

Does this extend the WebPagePortlet? 

I was talking with Paul Spencer about this a while back and the problem he 
saw was that we would not be able to maintain the session from the URL 
pulled into Jetspeed.  Does your portlet address this?  In other words, 
once the portlet is rendered I am not done.  I have an edit option within 
the portlet that opens a new window (which is actually running as part of 
the Cocoon application), so it has to be authenticated.  The solution in 
the IBM article uses a Cookie in the session to save the userid and 
encrypted password.

Thanks!





sbelt <[EMAIL PROTECTED]>
11/17/01 02:18 PM
Please respond to Jetspeed Users List

 
        To:     Jetspeed Users List <[EMAIL PROTECTED]>
        cc: 
        Subject:        Re: Re: Single Sign-on



Here is the code. (.class and .src)

to dive right in - assuming your running tomcat:

1) copy .class file into the
tomcat/webapps/jetspeed/WEB-INF/classes/org/apache/jetspeed/portal/portlets.
2) modify the .../WEB-INF/conf/portlets.xreg adding the following 2 nests

    <portlet-entry name="LoggedInPortlet" hidden="false" type="abstract"
application="false">

<classname>org.apache.jetspeed.portal.portlets.LoginURLPortlet</classname>
        <media-type ref="html"/>
    </portlet-entry>
... then ...
    <portlet-entry name="Schedule" hidden="false" type="ref"
        parent="LoggedInPortlet" application="false">
        <meta-info>
            <title>Schedule</title>
            <description>Displays Calendar of logged in user for
today</description>
        </meta-info>
        <parameter name="getOrPost" value="POST" hidden="false"/>
        <parameter name="userid_varname" value="userid" hidden="true"/>
        <parameter name="password_varname" value="password" 
hidden="true"/>
        <parameter name="default_userid" value="" hidden="false"/>
        <parameter name="default_password" value="" hidden="false"/>

<url>http://www.schedulingservice.com/PortletScheduleDisplay.asp</url>
    </portlet-entry>

Let me know if you need help.

Steve B.

----- Original Message -----
From: "Lydia Blum" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Saturday, November 17, 2001 9:15 AM
Subject: Re: Re: Single Sign-on


Hi,
i am interested in your portlet and will be more than happy if you could
send it per email ([EMAIL PROTECTED]) to me. I will test it as soon as
possible and give you a feedback. It will be very helpful if you could 
give
some information about how to use the portlet (e.g. configuration).

Thanks in advance
Lydia

"Jetspeed Users List" <[EMAIL PROTECTED]> schrieb am
17.11.01:
The link to IBM you gave appears dead to me. What aspects of SSO are you
looking for? I have created a portlet which will post id/password to a URL
to retrieve HTML content. It allows the user to use the configure-portlet
link to specify an id and password within the portlet. If they leave it
blank, it sends the id and password they used to login to Jetspeed.
Additionally, in the portlets.xreg (or whatever that filename was) you can
specify the id and password parameter names that the source URL requires.
You can also specify whether the login should be POSTed or GETed to the
site.

I am still debugging it (as the configure-portlet screen does not appear 
to
be saving whatever values the user enters). I created this for my own
project, but I am willing to share it. My only requirement is that you 
give
me some feedback; I have shared this several times in the past, and have 
yet
to even hear if it worked for others. My motivation for sharing (in 
addition
to giving something back to the Jetspeed community) is to get some QA-like
info.

Steve B.

----- Original Message -----
From: "Mark Miskiman/CanWest/IBM" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Friday, November 16, 2001 2:50 PM
Subject: Re: Single Sign-on


> The problem is that this SSO implementation for WPS 1.2 is written to 
use
> the WebSphere LTPA only. If JetSpeed used JAAS, then it might work under
> WebSphere (not Tomcat though), but I don't think this is the case.
>
> Mark Miskiman
> IT Architect - Sell and Support
> IBM Global Services
> 700 - 201 Portage Avenue
> Winnipeg, Manitoba R3B 3K6
> 14/AKJ/201/WPG
>
> (204) 934-2792 office
> (204) 782-3436 cell
> [EMAIL PROTECTED]
> http://w3.ibm.com/services/bisglobal/solutions/sell_support.html
>
> "What enables the wise sovereign and the good general to strike and
> conquer, and achieve things beyond the reach of ordinary men, is
knowledge"
>
>              -- Sun Tzu, The Art of War
>
>
>
>                     HUGHES_JAMES_B
>                     @LILLY.COM           To:     Jetspeed Users List
<[EMAIL PROTECTED]>
>                                          cc:
>                     16/11/2001           Subject:     Single Sign-on
>                     03:00 PM
>                     Please respond
>                     to "Jetspeed
>                     Users List"
>
>
>
>
>
> Has anyone read this article from IBM on single sign-on?
>
>
http://www7b.boulder.ibm.com/wsdd/library/techarticles/0110_gilmore/gilmore.
html
>
>
> Is this an add-on that IBM wrote only for Websphere Portal Server only? 
Or
> is this available as part of Jetspeed.
>
> This is exactly what I have been trying to do.
>
> -Jim
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



____________________________________________________
Berufsunfähigskeitversicherung von Mamax bei WEB.DE.
Jetzt informieren! http://bu.web.de


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Reply via email to