Modify a HTTP Connection Handler by DN
/rest/v1/admin/{dn}
Modify a HTTP Connection Handler by DN
Request
- application/json
-
dn: string
LDAP DN of the entry to be modified
object
-
controls(optional):
array controls
LDAP controls to be sent to server for LDAP modify operation.
-
msgType:
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ModifyRequest
The REST message type -
operations:
array operations
Modifications (Patch operations) to be performed on the entry.
array
-
Array of:
string
array
-
Array of:
object PatchOperation
object
-
attribute:
string
The entry attribute to be modified.
-
opType:
string
Allowed Values:
[ "add", "delete", "replace", "increment" ]
The type of the Patch Operation. -
values(optional):
array values
The attribute values to be updated.
Response
- application/json
200 Response
object
-
msgType:
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ModifyResponse
The REST message type -
searchResultEntries:
array searchResultEntries
Number of search result entries returned after the LDAP operation.
-
totalResults:
integer(int32)
Specifies the number of entries created, and returned.
array
-
Array of:
object HTTP Connection Handler SearchResultEntry
object
-
attributes:
object HTTP Connection Handler Properties
-
dn:
string
LDAP DN of the entry to be created
object
-
cn(optional):
string
CN (common name) of the entry
-
ds-cfg-accept-backlog(optional):
integer(int32)
Default Value:
128
Specifies the maximum number of pending connection attempts that are allowed to queue up in the accept backlog before the server starts rejecting new connection attempts. -
ds-cfg-allow-tcp-reuse-address(optional):
boolean
Default Value:
true
Indicates whether the HTTP Connection Handler should reuse socket descriptors. -
ds-cfg-allowed-client(optional):
array ds-cfg-allowed-client
Specifies a set of host names or address masks that determine the clients that are allowed to establish connections to this Connection Handler.
-
ds-cfg-denied-client(optional):
array ds-cfg-denied-client
Specifies a set of host names or address masks that determine the clients that are not allowed to establish connections to this Connection Handler.
-
ds-cfg-dos-filter-max-requests-per-sec(optional):
integer(int32)
Default Value:
25
Specifies the maximum number of requests from a connection per second. -
ds-cfg-dos-filter-throttled-requests(optional):
integer(int32)
Default Value:
5
Number of requests over the rate limit able to be considered at once. -
ds-cfg-enabled:
boolean
Indicates whether the Connection Handler is enabled.
-
ds-cfg-header-cache-size(optional):
string
Default Value:
6 kilobytes
Set the header field cache size. -
ds-cfg-http-server-max-thread-pool-size(optional):
integer(int32)
Default Value:
24
Specifies the maximum number of threads to be used for processing operations placed in the queue by the embedded HTTP server. -
ds-cfg-http-server-max-work-queue-capacity(optional):
integer(int32)
Default Value:
6000
Specifies the maximum number of queued operations that can be in the work queue at any given time. -
ds-cfg-http-server-min-thread-pool-size(optional):
integer(int32)
Default Value:
8
Specifies the minimum number of threads to be used for processing operations placed in the queue by the embedded HTTP server. -
ds-cfg-idle-time-limit(optional):
string
Default Value:
60000 ms
Set the maximum Idle time for a thread to be idle. -
ds-cfg-java-class:
string
Default Value:
org.opends.server.protocols.http.HTTPConnectionHandler
Specifies the fully-qualified name of the Java class that provides the HTTP Connection Handler implementation. -
ds-cfg-jetty-statistics-enabled(optional):
boolean
Default Value:
false
Indicates whether the HTTP Connection Handler should enable jetty statistics over JMX. -
ds-cfg-keep-stats(optional):
boolean
Default Value:
true
Indicates whether the HTTP Connection Handler should keep statistics. -
ds-cfg-key-manager-provider(optional):
string
Specifies the name of the key manager that should be used with this HTTP Connection Handler .
-
ds-cfg-listen-address(optional):
array ds-cfg-listen-address
Specifies the address or set of addresses on which this HTTP Connection Handler should listen for connections from HTTP clients.
-
ds-cfg-listen-port:
integer(int32)
Specifies the port number on which the HTTP Connection Handler will listen for connections from clients.
-
ds-cfg-max-idle-time-limit(optional):
string
Default Value:
2 minutes
Set the maximum Idle time for a connection, which roughly translates to the Socket.setSoTimeout(int) call. -
ds-cfg-num-http-acceptor-threads(optional):
integer(int32)
Acceptors accept new TCP/IP connections
-
ds-cfg-num-http-selector-threads(optional):
integer(int32)
Selectors notice and schedule established connection that can make IO progress.
-
ds-cfg-output-buffer-size(optional):
string
Default Value:
32 kilobytes
Sets the size of the content buffer for sending responses. -
ds-cfg-request-header-size(optional):
string
Default Value:
8 kilobytes
Set the maximum size of a request header. -
ds-cfg-response-header-size(optional):
string
Default Value:
32 kilobytes
Set the maximum size of a response header. -
ds-cfg-ssl-cert-nickname(optional):
string
Specifies the nickname (also called the alias) of the certificate that the HTTP Connection Handler should use when performing SSL communication.
-
ds-cfg-ssl-cipher-suite(optional):
array ds-cfg-ssl-cipher-suite
Specifies the names of the SSL cipher suites that are allowed for use in SSL or StartTLS communication.
-
ds-cfg-ssl-client-auth-policy(optional):
string
Default Value:
optional
Allowed Values:[ "disabled", "optional", "required" ]
Specifies the policy that the HTTP Connection Handler should use regarding client SSL certificates. -
ds-cfg-ssl-protocol(optional):
array ds-cfg-ssl-protocol
Specifies the names of the SSL protocols that are allowed for use in SSL or StartTLS communication.
-
ds-cfg-trust-manager-provider(optional):
string
Specifies the name of the trust manager that should be used with the HTTP Connection Handler .
-
ds-cfg-use-ssl(optional):
boolean
Default Value:
false
Indicates whether the HTTP Connection Handler should use SSL. -
objectclass:
array objectclass
Objectclass(es) which this entry belongs to.
array
-
Array of:
string
array
-
Array of:
string
array
[
"0.0.0.0"
]
-
Array of:
string
array
-
Array of:
string
array
-
Array of:
string
array
-
Array of:
string
400 Response
406 Response
object
-
ldapErrorCode(optional):
integer(int32)
Specifies the LDAP error code returned for the operation.
-
message:
string
Error message returned returned for the operation.
-
msgType:
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ErrorResponse
The REST message type