Add, Search, Compare or Delete Structural Object Class Virtual Attribute
/rest/v1/admin
Add, Search, Compare or Delete Structural Object Class Virtual Attribute
Request
- application/json
object
-
assertion:
string
Assertion string for the LDAP compare operation. Note: To be used only while performing LDAP compare operation using POST, i.e., if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:CompareRequest.
-
attributes:
object Structural Object Class Virtual Attribute Properties
-
base:
string
Search Base DN to be used for the LDAP search operation. Note: To be used only while performing LDAP search operation using POST, i.e., if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchRequest. It is also mandatory for such operation
-
controls:
array controls
LDAP controls to be sent to server for the LDAP operation.
-
dn:
string
LDAP DN of the entry to be created or deleted or compared. Note: To be used only while performing LDAP add, delete or compare operations, i.e, if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:AddRequest, urn:ietf:params:rest:schemas:oracle:oud:1.0:DeleteRequest or urn:ietf:params:rest:schemas:oracle:oud:1.0:CompareRequest.It is mandatory for such operations.
-
filter:
string
Search filter for the LDAP search operation. Should follow LDAP search filter syntax. Note: To be used only while performing LDAP search operation using POST request, i.e., if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchRequest.
-
msgType(required):
string
Allowed Values:
[ "urn:ietf:params:rest:schemas:oracle:oud:1.0:AddRequest", "urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchRequest", "urn:ietf:params:rest:schemas:oracle:oud:1.0:DeleteRequest", "urn:ietf:params:rest:schemas:oracle:oud:1.0:CompareRequest" ]
The REST message type -
requiredAttributes:
array requiredAttributes
List of attributes to be fetched for the entry. Note: To be used only while performing LDAP search operation using POST, i.e., if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchRequest.
-
scope:
string
Allowed Values:
[ "base", "sub", "one" ]
Scope for the LDAP search operation. Note: To be used only while performing LDAP search operation using POST, i.e., if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchRequest.
object
-
cn:
string
CN (common name) of the entry
-
ds-cfg-attribute-type(required):
string
Default Value:
structuralObjectClass
Specifies the attribute type for the attribute whose values are to be dynamically assigned by the virtual attribute. -
ds-cfg-base-dn:
array ds-cfg-base-dn
Specifies the base DNs for the branches containing entries that are eligible to use this virtual attribute.
-
ds-cfg-conflict-behavior:
string
Default Value:
virtual-overrides-real
Allowed Values:[ "merge-real-and-virtual", "real-overrides-virtual", "virtual-overrides-real" ]
Specifies the behavior that the server is to exhibit for entries that already contain one or more real values for the associated attribute. -
ds-cfg-enabled(required):
boolean
Indicates whether the Virtual Attribute is enabled for use.
-
ds-cfg-filter:
array ds-cfg-filter
Specifies the search filters to be applied against entries to determine if the virtual attribute is to be generated for those entries.
-
ds-cfg-group-dn:
array ds-cfg-group-dn
Specifies the DNs of the groups whose members can be eligible to use this virtual attribute.
-
ds-cfg-java-class(required):
string
Default Value:
org.opends.server.extensions.StructuralObjectClassVirtualAttributeProvider
Specifies the fully-qualified name of the virtual attribute provider class that generates the attribute values. -
objectclass(required):
array objectclass
Objectclass(es) which this entry belongs to.
array
-
Array of:
string
array
-
Array of:
string
array
-
Array of:
string
array
[
"(objectClass=*)"
]
-
Array of:
string
array
-
Array of:
string
array
-
Array of:
string
Response
- application/json
200 Response
object
-
compareResult:
boolean
Indicates the result of LDAP compare operation.
-
msgType(required):
string
Allowed Values:
[ "urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchResponse", "urn:ietf:params:rest:schemas:oracle:oud:1.0:DeleteResponse", "urn:ietf:params:rest:schemas:oracle:oud:1.0:CompareResponse" ]
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.
array
-
Array of:
object Structural Object Class Virtual Attribute SearchResultEntry
object
-
attributes(required):
object Structural Object Class Virtual Attribute Properties
-
dn(required):
string
LDAP DN of the entry to be created
object
-
cn:
string
CN (common name) of the entry
-
ds-cfg-attribute-type(required):
string
Default Value:
structuralObjectClass
Specifies the attribute type for the attribute whose values are to be dynamically assigned by the virtual attribute. -
ds-cfg-base-dn:
array ds-cfg-base-dn
Specifies the base DNs for the branches containing entries that are eligible to use this virtual attribute.
-
ds-cfg-conflict-behavior:
string
Default Value:
virtual-overrides-real
Allowed Values:[ "merge-real-and-virtual", "real-overrides-virtual", "virtual-overrides-real" ]
Specifies the behavior that the server is to exhibit for entries that already contain one or more real values for the associated attribute. -
ds-cfg-enabled(required):
boolean
Indicates whether the Virtual Attribute is enabled for use.
-
ds-cfg-filter:
array ds-cfg-filter
Specifies the search filters to be applied against entries to determine if the virtual attribute is to be generated for those entries.
-
ds-cfg-group-dn:
array ds-cfg-group-dn
Specifies the DNs of the groups whose members can be eligible to use this virtual attribute.
-
ds-cfg-java-class(required):
string
Default Value:
org.opends.server.extensions.StructuralObjectClassVirtualAttributeProvider
Specifies the fully-qualified name of the virtual attribute provider class that generates the attribute values. -
objectclass(required):
array objectclass
Objectclass(es) which this entry belongs to.
array
-
Array of:
string
array
[
"(objectClass=*)"
]
-
Array of:
string
array
-
Array of:
string
array
-
Array of:
string
201 Response
object
-
msgType(required):
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:AddResponse
The REST message type -
searchResultEntries(required):
array searchResultEntries
-
totalResults(required):
integer(int32)
Specifies the number of entries created, and returned.
array
-
Array of:
object Structural Object Class Virtual Attribute SearchResultEntry
object
-
attributes(required):
object Structural Object Class Virtual Attribute Properties
-
dn(required):
string
LDAP DN of the entry to be created
object
-
cn:
string
CN (common name) of the entry
-
ds-cfg-attribute-type(required):
string
Default Value:
structuralObjectClass
Specifies the attribute type for the attribute whose values are to be dynamically assigned by the virtual attribute. -
ds-cfg-base-dn:
array ds-cfg-base-dn
Specifies the base DNs for the branches containing entries that are eligible to use this virtual attribute.
-
ds-cfg-conflict-behavior:
string
Default Value:
virtual-overrides-real
Allowed Values:[ "merge-real-and-virtual", "real-overrides-virtual", "virtual-overrides-real" ]
Specifies the behavior that the server is to exhibit for entries that already contain one or more real values for the associated attribute. -
ds-cfg-enabled(required):
boolean
Indicates whether the Virtual Attribute is enabled for use.
-
ds-cfg-filter:
array ds-cfg-filter
Specifies the search filters to be applied against entries to determine if the virtual attribute is to be generated for those entries.
-
ds-cfg-group-dn:
array ds-cfg-group-dn
Specifies the DNs of the groups whose members can be eligible to use this virtual attribute.
-
ds-cfg-java-class(required):
string
Default Value:
org.opends.server.extensions.StructuralObjectClassVirtualAttributeProvider
Specifies the fully-qualified name of the virtual attribute provider class that generates the attribute values. -
objectclass(required):
array objectclass
Objectclass(es) which this entry belongs to.
array
-
Array of:
string
array
[
"(objectClass=*)"
]
-
Array of:
string
array
-
Array of:
string
array
-
Array of:
string
204 Response
406 Response
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