Find Match And Replace Identity Mapper by DN
get
/rest/v1/admin/{dn}
Returns an Match And Replace Identity Mapper by DN
Request
Supported Media Types
- application/json
Path Parameters
-
dn: string
LDAP DN of the entry to be fetched.
Query Parameters
- attributes: array
- controls: array
-
filter: string
Search filter for the LDAP search operation. Should follow LDAP search filter syntax.
-
scope: string
Scope for the LDAP search operation.Allowed Values:
[ "base", "sub", "one" ]
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : Match And Replace Identity Mapper GetSuccessResponse
Type:
Show Source
object
-
msgType:
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchResponse
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.
Nested Schema : searchResultEntries
Type:
array
Number of search result entries returned after the LDAP operation.
Show Source
Nested Schema : Match And Replace Identity Mapper SearchResultEntry
Type:
Show Source
object
-
attributes:
object Match And Replace Identity Mapper Properties
-
dn:
string
LDAP DN of the entry to be created
Nested Schema : Match And Replace Identity Mapper Properties
Type:
Show Source
object
-
cn(optional):
string
CN (common name) of the entry
-
ds-cfg-enabled:
boolean
Indicates whether the Identity Mapper is enabled for use.
-
ds-cfg-java-class:
string
Default Value:
org.opends.server.extensions.MatchAndReplaceIdentityMapper
Specifies the fully-qualified name of the Java class that provides the Match And Replace Identity Mapper implementation. -
ds-cfg-match-attribute:
array ds-cfg-match-attribute
Specifies the name or OID of the attribute whose value should match the provided identifier string after it has been processed by the associated regular expression.
-
ds-cfg-match-base-dn(optional):
array ds-cfg-match-base-dn
Specifies the base DN(s) that should be used when performing searches to map the provided ID string to a user entry. If multiple values are given, searches are performed below all the specified base DNs.
-
ds-cfg-match-pattern:
string
Specifies the regular expression pattern that is used to identify an entry that Identity Mapper applies to.
-
ds-cfg-priority(optional):
integer(int32)
Default Value:
1
Specifies the priority for this Identity Mapper. -
ds-cfg-replace-pattern(optional):
string
Specifies the replacement pattern that should be used for substrings in the ID string that match the provided regular expression pattern.
-
objectclass:
array objectclass
Objectclass(es) which this entry belongs to.
Nested Schema : ds-cfg-match-attribute
Type:
array
Specifies the name or OID of the attribute whose value should match the provided identifier string after it has been processed by the associated regular expression.
Default Value:
Show Source
[
"uid"
]
Nested Schema : ds-cfg-match-base-dn
Type:
array
Specifies the base DN(s) that should be used when performing searches to map the provided ID string to a user entry. If multiple values are given, searches are performed below all the specified base DNs.
Show Source
406 Response
Not Acceptable
Root Schema : ErrorResponse
Type:
Show Source
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