Modify a Attribute Value Password Validator by DN
patch
/rest/v1/admin/{dn}
Modify a Attribute Value Password Validator by DN
Request
Supported Media Types
- application/json
Path Parameters
-
dn(required): string
LDAP DN of the entry to be modified
Attribute Value Password Validator that needs to be modified
Root Schema : PatchRequest
Type:
Show Source
object
-
controls:
array controls
LDAP controls to be sent to server for LDAP modify operation.
-
msgType(required):
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ModifyRequest
The REST message type -
operations(required):
array operations
Modifications (Patch operations) to be performed on the entry.
Nested Schema : controls
Type:
array
LDAP controls to be sent to server for LDAP modify operation.
Show Source
Nested Schema : operations
Type:
array
Modifications (Patch operations) to be performed on the entry.
Show Source
Nested Schema : PatchOperation
Type:
Show Source
object
-
attribute(required):
string
The entry attribute to be modified.
-
opType(required):
string
Allowed Values:
[ "add", "delete", "replace", "increment" ]
The type of the Patch Operation. -
values:
array values
The attribute values to be updated.
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : Attribute Value Password Validator PatchSuccessResponse
Type:
Show Source
object
-
msgType(required):
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ModifyResponse
The REST message type -
searchResultEntries(required):
array searchResultEntries
Number of search result entries returned after the LDAP operation.
-
totalResults(required):
integer(int32)
Specifies the number of entries created, and returned.
Nested Schema : searchResultEntries
Type:
array
Number of search result entries returned after the LDAP operation.
Show Source
Nested Schema : Attribute Value Password Validator SearchResultEntry
Type:
Show Source
object
-
attributes(required):
object Attribute Value Password Validator Properties
-
dn(required):
string
LDAP DN of the entry to be created
Nested Schema : Attribute Value Password Validator Properties
Type:
Show Source
object
-
cn:
string
CN (common name) of the entry
-
ds-cfg-enabled(required):
boolean
Indicates whether the password validator is enabled for use.
-
ds-cfg-java-class(required):
string
Default Value:
org.opends.server.extensions.AttributeValuePasswordValidator
Specifies the fully-qualified name of the Java class that provides the password validator implementation. -
ds-cfg-match-attribute:
array ds-cfg-match-attribute
Specifies the name(s) of the attribute(s) whose values should be checked to determine whether they match the provided password. If no values are provided, then the server checks if the proposed password matches the value of any attribute in the user's entry.
-
ds-cfg-test-reversed-password(required):
boolean
Indicates whether this password validator should test the reversed value of the provided password as well as the order in which it was given.
-
objectclass(required):
array objectclass
Objectclass(es) which this entry belongs to.
Nested Schema : ds-cfg-match-attribute
Type:
array
Specifies the name(s) of the attribute(s) whose values should be checked to determine whether they match the provided password. If no values are provided, then the server checks if the proposed password matches the value of any attribute in the user's entry.
Show Source
400 Response
ERROR
406 Response
Not Acceptable
Root Schema : ErrorResponse
Type:
Show Source
object
-
ldapErrorCode:
integer(int32)
Specifies the LDAP error code returned for the operation.
-
message(required):
string
Error message returned returned for the operation.
-
msgType(required):
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ErrorResponse
The REST message type