Tomcat does that for every all Form Authentication even if you used
`DatabaseRealm` it doesn't save logged user.

On Wed, Dec 7, 2011 at 2:24 PM, Jess Holle <je...@ptc.com> wrote:

> I should have noted that this is with Tomcat 7.0.23, but it seemed
> unlikely to be JVM (Java 6 Update 29) or OS (Windows 7) specific.
>
> Of course given that I found that the documentation clearly states this
> behavior, I suspect this is longstanding Tomcat behavior.
>
> My remaining question is /why/ Tomcat behaves this way.  If one quickly
> restarts Tomcat for some reason and session data is preserved, you really
> don't want all the users to have to login again do you?
>
> --
> Jess Holle
>
>
> On 12/6/2011 7:05 PM, André Warnier wrote:
>
>> 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?
>>>
>>>  There should be a template for messages on this list :
>>
>> Tomcat version :
>> Java version :
>> platform OS & version :
>>
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: 
>> users-unsubscribe@tomcat.**apache.org<users-unsubscr...@tomcat.apache.org>
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
>>

Reply via email to