Creating an LDAP Container Using an LDAP Group Source
A Group DN is used to identify the directory entry that is the group. When a Group DN is specified, a member attribute is also specified, which holds the collection of member identifiers, that is, their DNs. This provides the list of candidate resources.
The following diagram shows an example of how calls to the Directory Services APIs can be used to create an LDAP container using an LDAP Group Source.
The following step-by-step descriptions correspond to the numbered steps in Figure 4.
Procedure
Result
The following shows an example saveContainer request containing the minimal amount of information, as well as the new LDAP container ID that is returned if the container creation is successful:
// Step 3: Create the new LDAP Container
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dir="http://directory.api.de.bpm.tibco.com">
<soapenv:Header/>
<soapenv:Body>
<dir:saveContainer name="Southeast" description="Southeast Region">
<primary-group-ldap ldap-alias="deLdap2" resource-name-attributes="displayname" group-dn="OU=CSR,OU=groups,O=insuranceServices"
member-attribute="roleoccupant"
</primary-group-ldap>
</dir:saveContainer>
</soapenv:Body>
</soapenv:Envelope>
|
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <saveContainerResponse container-id="11" xmlns="http://directory.api.de.bpm.tibco.com"/> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
Copyright © Cloud Software Group, Inc. All rights reserved.