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

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

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

unit testing - How to mock PreferenceManager in Android? -