On Wed, Nov 17, 2010 at 3:06 PM, SriniPitta <[email protected]> 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.
>
What version of Jetspeed? I believe the "create new session on login"
was set to false in previous releases:
<bean id='org.apache.jetspeed.administration.PortalAuthenticationConfiguration'
class='org.apache.jetspeed.administration.PortalAuthenticationConfigurationImpl'>
<meta key="j2:cat" value="default" />
<!-- create new session upon authentication -->
<constructor-arg index='0'>
<value>true</value>
</constructor-arg>
In the current release its set to true. See the Spring configuration
file "administration.xml"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]