Okay, I now notice this plainly stated in the documentation for
JNDIRealm (which I'm using):
The cached user is *not* saved and restored across sessions
serialisations.
That seems a bit odd...
On 12/6/2011 5:12 PM, Jess Holle wrote:
> When doing a graceful shutdown of Tomcat, the sessions are persisted
> to disk and then re-read on startup (at least in all reasonably recent
> versions).
>
> Oddly, however, form-based authentication does not seem to survive a
> graceful restart. Rather one has to log in again. Is this known?
> Intentional? Configurable?
>
> --
> Jess Holle
|