You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Paul Spencer <pa...@mikon.com> on 2001/07/12 01:13:59 UTC

How can the user automatically login using a cookie?

Can a cookie(s) be used to automatically login a user?  This makes using
Jetspeed as the user "homepage" convenient.

I expect the user should be able to enable or disable this feature.

Paul Spencer

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


Re: Customize: concerning development (please Raphael)

Posted by Raphaël Luta <ra...@networks.groupvu.com>.
Vincent Bonamy wrote:

> 
> Have a problem, read follow
> 
> 
>>>You can already check it out in the current CVS:
>>>-login as turbine user
>>>-use the pencil icons to either:
>>>  - edit the parameters for a portlet
>>>  - add/remove/move "tabs"
>>>  - within a tab:
>>>
>>>   - move around/remove the portlets (works ok)
>>>
>>>    - add a new portlet to the tab (still buggy right now)
>>>
> 
> It seems still buggy, and when I want to add a portlet, I use the old customize. But
> after that, I lose the new customize feature (lose the pencil).
> 


Don't use the old customizer !

Adding a portlet in a pane works in the latest CVS version (at least on Windows),
I've not yet setup a Unix box to reproduce the Unix ClassCastException bug.


--
Raphael Luta - raphael.luta@networks.groupvu.com
Vivendi Universal Networks - Paris


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


Re: Customize: concerning development (please Raphael)

Posted by Vincent Bonamy <vi...@geomath.fr>.
>

Have a problem, read follow

>
> > You can already check it out in the current CVS:
> > -login as turbine user
> > -use the pencil icons to either:
> >   - edit the parameters for a portlet
> >   - add/remove/move "tabs"
> >   - within a tab:
> >
> >    - move around/remove the portlets (works ok)
> >
> >     - add a new portlet to the tab (still buggy right now)

It seems still buggy, and when I want to add a portlet, I use the old customize. But
after that, I lose the new customize feature (lose the pencil).

vincent.


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


Re: Customize: concerning development (please Raphael)

Posted by Vincent Bonamy <vi...@geomath.fr>.
Raphaël Luta wrote:

> Vincent Bonamy wrote:
>
> > Hello, I'm using Jetspeed since 2 Week, (under Tomcat)
> >
> > I have the little problem: "Couldn't process URL:  ocs/local"
> > So, some of times jetspeed 's runnig and some not ...
> >
>
> Are you always connected to the Internet or do you sometimes
> start Jetspeed with no outside network connection ?
>

Yes I'm always connected and I tested the adresses which are in ocs/local.ocs. All are
ok.
I think I have the same problem that is described in this old discussion:
http://www.mail-archive.com/jetspeed@list.working-dogs.com/msg05014.html
In fact, I installed jakarta-tomcat-3.3-m3 (&  JetspJetspeed-1.3a1)
With jakarta-tomcat-3.2.2-src, there is'nt this error, but there is anothers
(concerning POST) and jive isn't running.

>
>
> >
> > But I have another request:
> > I saw that Raphael and others are programming for a new customizer (possibility to
> > set position of portlets, to set colors, etc ...).
> > Is that right? And WHEN? : I'm looking forward to impatiently this.
> >
>
> Yes, it's right.
>
> You can already check it out in the current CVS:
> -login as turbine user
> -use the pencil icons to either:
>   - edit the parameters for a portlet
>   - add/remove/move "tabs"
>   - within a tab:
>
>    - move around/remove the portlets (works ok)
>
>     - add a new portlet to the tab (still buggy right now)
>     - select the layout and color scheme for the current tab
>       (works OK)
>
> There are a couple of bugs to fix and a lot of cosmetic work to do
>
> but we're definitely getting there.
>
> Feedback welcome :)
>

Euhhh ..... I'm not very familiar with CVS!

I don't see the pencil icons on my current Jetspeed (with user="turbine",
password="turbine")
...  and I can't log in Turbine via "Turbine Screen in a portlet" (because I think it
didn't install by default ?)

What can I do for that Please ?
Should I install CVS or what else? How? Where?

>
> --
> Raphael Luta - raphael.luta@networks.groupvu.com
> Vivendi Universal Networks - Paris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org

vincent.

NB: I'm afraid my "english" is very poor ...   ;-)


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


Re: Customize: concerning development (please Raphael)

Posted by Raphaël Luta <ra...@networks.groupvu.com>.
Vincent Bonamy wrote:

> Hello, I'm using Jetspeed since 2 Week, (under Tomcat)
> 
> I have the little problem: "Couldn't process URL:  ocs/local"
> So, some of times jetspeed 's runnig and some not ...
>


Are you always connected to the Internet or do you sometimes
start Jetspeed with no outside network connection ?

 
> 
> But I have another request:
> I saw that Raphael and others are programming for a new customizer (possibility to
> set position of portlets, to set colors, etc ...).
> Is that right? And WHEN? : I'm looking forward to impatiently this.
> 


Yes, it's right.

You can already check it out in the current CVS:
-login as turbine user
-use the pencil icons to either:
  - edit the parameters for a portlet
  - add/remove/move "tabs"
  - within a tab:

   - move around/remove the portlets (works ok)

    - add a new portlet to the tab (still buggy right now)
    - select the layout and color scheme for the current tab
      (works OK)

There are a couple of bugs to fix and a lot of cosmetic work to do

but we're definitely getting there.


Feedback welcome :)

--
Raphael Luta - raphael.luta@networks.groupvu.com
Vivendi Universal Networks - Paris


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


Customize: concerning development (please Raphael)

Posted by Vincent Bonamy <vi...@geomath.fr>.
Hello, I'm using Jetspeed since 2 Week, (under Tomcat)

I have the little problem: "Couldn't process URL:  ocs/local"
So, some of times jetspeed 's runnig and some not ...


But I have another request:
I saw that Raphael and others are programming for a new customizer (possibility to
set position of portlets, to set colors, etc ...).
Is that right? And WHEN? : I'm looking forward to impatiently this.

Very Thanks.

vincent.


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


Re: How can the user automatically login using a cookie?

Posted by Raphaël Luta <ra...@networks.groupvu.com>.
David Sean Taylor wrote:

>>>logon.automatic=true
>>>
>>>Any ideas?
>>>
>>
>>You just need an alternate login action that sets a cookie
>>with a uid/auth token
>>(or simply uid if you don't care about security) and modify
>>the sessionValidator
>>to automatically log you in if you have the cookie set.
>>Pretty easy really.
>>
> 
> Super. That takes care of the implementation ;)
> 
> Do you think 'automatic logon' is an important feature to add to the
> jetspeed distribution?
> IMO, I think it is, although it should be optional, and not the default
> behavior.
> 


+0

--
Raphael Luta - raphael.luta@networks.groupvu.com
Vivendi Universal Networks - Paris


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


RE: How can the user automatically login using a cookie?

Posted by David Sean Taylor <da...@bluesunrise.com>.
> >
> > logon.automatic=true
> >
> > Any ideas?
>
>
> You just need an alternate login action that sets a cookie
> with a uid/auth token
> (or simply uid if you don't care about security) and modify
> the sessionValidator
> to automatically log you in if you have the cookie set.
> Pretty easy really.

Super. That takes care of the implementation ;)

Do you think 'automatic logon' is an important feature to add to the
jetspeed distribution?
IMO, I think it is, although it should be optional, and not the default
behavior.

-------------------------------------
David Sean Taylor
taylor@apache.org
-------------------------------------
http://jakarta.apache.org/jetspeed
-------------------------------------




> -----Original Message-----
> From: Raphael Luta [mailto:raphael.luta@networks.groupvu.com]
> Sent: Thursday, July 12, 2001 12:54 AM
> To: jetspeed-user@jakarta.apache.org
> Subject: Re: How can the user automatically login using a cookie?
>
>
> David Sean Taylor wrote:
>
> >>Can a cookie(s) be used to automatically login a user?  This
> >>makes using
> >>Jetspeed as the user "homepage" convenient.
> >>
> >
> > Yes. Do you use excite or any of the other popular personal
> portals (yahoo)?
> > Im using MyExcite, and it always remembers to log me in to
> my personalized
> > page automatically.
> > I believe you just need to set a cookie with a long
> expiration time (or no
> > expiration).
> > The servlet cookie api is very easy.
> > This can be an option in Jetspeed - I just need to give it
> some thought as
> > to how it is configured and where the code should go.
> > Maybe in the JRP, something like:
> >
> > logon.automatic=true
> >
> > Any ideas?
>
>
> You just need an alternate login action that sets a cookie
> with a uid/auth token
> (or simply uid if you don't care about security) and modify
> the sessionValidator
> to automatically log you in if you have the cookie set.
> Pretty easy really.
>
>
> --
> Raphael Luta - raphael.luta@networks.groupvu.com
> Vivendi Universal Networks - Paris
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>



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


Re: How can the user automatically login using a cookie?

Posted by Raphaël Luta <ra...@networks.groupvu.com>.
David Sean Taylor wrote:

>>Can a cookie(s) be used to automatically login a user?  This
>>makes using
>>Jetspeed as the user "homepage" convenient.
>>
> 
> Yes. Do you use excite or any of the other popular personal portals (yahoo)?
> Im using MyExcite, and it always remembers to log me in to my personalized
> page automatically.
> I believe you just need to set a cookie with a long expiration time (or no
> expiration).
> The servlet cookie api is very easy.
> This can be an option in Jetspeed - I just need to give it some thought as
> to how it is configured and where the code should go.
> Maybe in the JRP, something like:
> 
> logon.automatic=true
> 
> Any ideas?


You just need an alternate login action that sets a cookie with a uid/auth token
(or simply uid if you don't care about security) and modify the sessionValidator
to automatically log you in if you have the cookie set. Pretty easy really.


--
Raphael Luta - raphael.luta@networks.groupvu.com
Vivendi Universal Networks - Paris


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


RE: How can the user automatically login using a cookie?

Posted by David Sean Taylor <da...@bluesunrise.com>.
> Can a cookie(s) be used to automatically login a user?  This
> makes using
> Jetspeed as the user "homepage" convenient.

Yes. Do you use excite or any of the other popular personal portals (yahoo)?
Im using MyExcite, and it always remembers to log me in to my personalized
page automatically.
I believe you just need to set a cookie with a long expiration time (or no
expiration).
The servlet cookie api is very easy.
This can be an option in Jetspeed - I just need to give it some thought as
to how it is configured and where the code should go.
Maybe in the JRP, something like:

logon.automatic=true

Any ideas?

-------------------------------------
David Sean Taylor
taylor@apache.org
-------------------------------------
http://jakarta.apache.org/jetspeed
-------------------------------------




> -----Original Message-----
> From: Paul Spencer [mailto:paul@mikon.com]
> Sent: Wednesday, July 11, 2001 4:14 PM
> To: jetspeed-user@jakarta.apache.org
> Subject: How can the user automatically login using a cookie?
>
>
> Can a cookie(s) be used to automatically login a user?  This
> makes using
> Jetspeed as the user "homepage" convenient.
>
> I expect the user should be able to enable or disable this feature.
>
> Paul Spencer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>



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