Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions opendj-dsml-servlet/resources/webapp/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,27 @@
</context-param>
-->

<context-param>
<description>Maximum number of batchRequest elements accepted per SOAP
body. Every batchRequest element is executed over its own LDAP connection
and bind, and password verification is deliberately expensive, so a single
small POST holding many batchRequest elements would amplify into many
binds. DSMLv2 describes a single batchRequest per SOAP body; raise this cap
only if your clients really send more. Excess elements are rejected with a
notAttempted errorResponse.</description>
<param-name>ldap.dsml.batchrequests.max</param-name>
<param-value>1</param-value>
</context-param>

<context-param>
<description>Maximum size in bytes of an accepted request body. The SOAP
message is parsed into memory, so an unbounded body is an unbounded
allocation. Oversized requests are rejected with a notAttempted
errorResponse.</description>
<param-name>ldap.dsml.request.maxsize</param-name>
<param-value>10485760</param-value>
</context-param>

<!-- Add an extra <context-param> like the one below for each extended operation
that is known to return a string in the LDAP response. -->
<context-param>
Expand Down
Loading
Loading