java - Creating user info bean in JBoss -


i'm little bit stuck in problem right now: i've got jboss portal runs on jboss 4.2.3. there running webapps on machine provide portlets users. need centralized solution:

every time user logs in want create session bean user information hold. i'm using spring in webapps - information.

how can achieve this? session bean must created asap when login occurs - can catch safely spring apps.

several thoughts:

  • is there possibility recognize login via listener?
  • should use filter , check if request.getremoteuser() isn't null?

maybe smth <bean id="userinfo" class="com.s.userinfo" scope="session"/> in application-context? 'session' can changed 'conversation', maybe.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -