You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-dev@incubator.apache.org by Sergey Vladimirov <vl...@gmail.com> on 2006/05/08 19:50:26 UTC

BaseUser: part 2

Hi, all,

Today patch is about moving property "maxIdleTime" from User to Connection.
More precisely, property maxIdleTime from User will be used only once,
according to following algorithm:

1. When connection created, it property "maxIdleTime" set from
ConnectionManagetImpl internal property value.
2. When user authenticated, connection property maxIdleTime overridden with
it value.

We need this change to prevent NPE from last patch (sorry about that) and
not to use fake BaseUser to store maxIdleTime property until user logged in.

--
Sergey Vladimirov