I little more of the puzzle is revealed.

Have you looked at the description of the valve in the processing pipeline.
You can probably add your own valve to the login pipeline  to capture login.

You are probably going to have to implement a timout or watchdog process that cleans up your database after users just leave without logging out.

Ron


On 18/11/2010 11:23 AM, SriniPitta wrote:
I agree but I cannot put the user's information in HTTP session as my
requirement is to store the jetspeed user logged in information in a common
shared database such that another php+perl based application running in a
different apache server can know about the user login by seeing the new
entry in the database and will use this information for rendering a page in
php based application.

Thanks,
Srini.



ronatartifact wrote:
Have you considered putting the data in the HTTP Session data structure
that is held while the user is logged in.

This data is only available to portlets serving that user but you can
store whatever you want there for the duration of the session.

It is faster and easier to access since it does not require database
access.

You might get better advice if you described a bit more about why you
want to store transitory info.


Ron


On 18/11/2010 10:54 AM, SriniPitta wrote:
======================
Can you not use the logging done by Jetspeed already?
========================
Thanks for your reply. I see that "USER_ACTIVITY" table has the entry for
each login-success and login-failure. However, I would like to delete the
user logged in information from the table upon user logging out. I do not
want to mess up or delete the entries from Jetspeed's database as iam
pretty
sure that my requirement will be extended. Thanks for your time.

Regards,
Srini.


ronatartifact wrote:
On 17/11/2010 6:06 PM, SriniPitta wrote:
Hi,

I would like to insert a new entry in database capturing the session
and
user details upon each time the user login into portal and logout the
portal.

I have written a listener class and extended HttpSessionListener and
overrided sessionCreated() and sessionDestroyed() methods and added
below
entry in my web.xml. But it does not invoke my listener during user
login
or
logout. Can you please let me know the correct way of implementing.

    <listener>
<listener-class>com.mycompany.MyHttpSessionListener</listener-class>
</listener>

Thanks for your time.

Regards,
Srini.
Can you not use the logging done by Jetspeed already?


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org

Reply via email to