Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
AppFuseSupport




JSPWiki v2.2.33

[RSS]


Hide Menu

AppFuseOnJBoss


Difference between version 6 and version 5:

At line 52 added 21 lines.
!!!WARNING:
JBoss holds onto the cache of users and roles. So if you changed a users role, they would not be able to see it for 1/2 an hour.
I subclassed UserManagerImpl, and created a version specific to JBoss, then I changed UserManagerImpl to use a stub method called flushAuthCache.
UserManagerJBossSpecific invalidates the user cache using JMX. JBoss is pretty cool!
Since I am using Spring. I did not have to change any other code in the system. Just one configuration file!
Spring change:
{{{
<bean id="userManager" class="org.appfuse.webapp.service.UserManagerJBossSpecific">
<property name="userDAO"><ref local="userDAO"/></property>
</bean>
}}}
[UserManagerJBossSpecific.java|http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823134#3823134]

Back to AppFuseOnJBoss, or to the Page History.