[jboss-user] [JBoss Portal] - Re: how to insert one more field in jboss database..

2006-11-18 Thread purna_cherukuri
Thank you very much... I will look it and update u after i suceed... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987057#3987057 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987057 __

[jboss-user] [JBoss Portal] - Re: how to insert one more field in jboss database..

2006-11-18 Thread bdaw
You can look at: org.jboss.portal.core.aspects.server.UserInterceptor and org.jboss.portal.core.aspects.server.UserInterceptor.UserFinalizer That's where last login date is actually set. The user authentication process occurs in org.jboss.portal.identity.auth.IdentityLoginModule View the orig

[jboss-user] [JBoss Portal] - Re: how to insert one more field in jboss database..

2006-11-18 Thread bdaw
for last visit date use User.INFO_USER_LAST_LOGIN_DATE key value View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987052#3987052 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987052 __

[jboss-user] [JBoss Portal] - Re: how to insert one more field in jboss database..

2006-11-18 Thread purna_cherukuri
Thanks for quick reply... Actually my requirement is, When any user logs in, i have to set a flag like LoggedIn to true, And when the user logs out or on session invalidation, I have to set back that flag to false. This is to avoid the user to create 2 sessions at the same time... For Sess

[jboss-user] [JBoss Portal] - Re: how to insert one more field in jboss database..

2006-11-18 Thread bdaw
You can easily place any property value for a user there. Just use User.getProfile() which gives you the Map object that is mapped by hibernate to this table. user.getProfile().get(User.INFO_USER_SIGNATURE) user.getProfile().put(User.INFO_USER_TIME_ZONE_OFFSET, timezoneoffset.toString()) just