Resolution: Won't Fix
Affects Version/s: 1.0.0, 1.1.0
Fix Version/s: 1.2.0
I just got done working through an issue trying to get single sign-on working with EhCacheManager, following some examples I found on the mailing list (except I was using Spring configuration). It wasn't working for me at first with this:
After lots of debugging, I got it to work with this:
<property name="sessionMode" value="native" />
<property name="realm" ref="factorlabRealm" />
<property name="subjectFactory" ref="factorlabSubjectFactory" />
<property name="cacheManager" ref="ssoCacheManager" />
<property name="sessionManager" ref="sessionManager" />
The difference is moving the sessionMode to earlier in the property list, because the setter for sessionMode was replacing my configured
sessionManager with a new DefaultWebSessionManager.
This seems pretty fragile.