mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
30.26.2007 282288d61ff6180e6798948e3aaa49271e306e70
refs
author neil_a_wilson <neil_a_wilson@localhost>
Monday, July 30, 2007 08:26 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Monday, July 30, 2007 08:26 +0200
commit282288d61ff6180e6798948e3aaa49271e306e70
tree c9d50ed34e4ba9d783d6a31c85ceb14fc3fc3051 tree | zip | gz
parent a7e5cbfe8176b8ce6df6e7937f4eb4002d14d6a2 view | diff
Update the server to provide an idle time limit configuration option that can
be used to terminate client connections that have been idle for too long. This
can be controlled on a server-wide default level using the
ds-cfg-idle-time-limit configuration attribute in the cn=config entry, but it
can also be overridden on a per-user level with the ds-rlim-idle-time-limit
operational attribute in the user's entry.

Note that while the idle time limit support is server wide, it needs help from
the connection handler to provide an idle time for client connections. At this
time, only the LDAP connection handler provides this capability. It is not
appropriate for internal connections, and it is not seen as important for JMX
connections at this time (although such support could be added in the future if
the need arises).

OpenDS Issue Number: 118
10 files modified
2 files added
819 ■■■■■ changed files
opends/resource/config/config.ldif 2 ●●●●● diff | view | raw | blame | history
opends/resource/schema/02-config.ldif 9 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/GlobalConfiguration.xml 22 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/api/ClientConnection.java 55 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/config/ConfigConstants.java 9 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/CoreConfigManager.java 2 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/DirectoryServer.java 34 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/IdleTimeLimitThread.java 193 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/CoreMessages.java 71 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java 51 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendWorkflowElement.java 96 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/IdleTimeLimitTestCase.java 275 ●●●●● diff | view | raw | blame | history