Skip Navigation Links | |
Exit Print View | |
Oracle Java CAPS LDAP Binding Component User's Guide Java CAPS Documentation |
Understanding the LDAP Binding Component
About the LDAP Binding Component
Functional Architecture of the LDAP Binding Component
Entries, Attributes and Values
Distinguished Names and Relative Distinguished Names
Supported Features in the LDAP Binding Component
Security for LDAP Transactions
Accessing the LDAP Binding Component Runtime Properties
To Access the LDAP Binding Component Runtime Properties
When you use the New WSDL Document Wizard for the LDAP BC, it generates a WSDL document that includes all of the required elements and the configuration information you entered in the wizard. You can use the WSDL Editor to view and modify the configuration you defined. The elements you are most likely to configure are the service level WSDL elements and binding level WSDL elements. The following topics describe working with the WSDL document and the elements specific to the LDAP BC.
For an example of how to use the New WSDL Document Wizard for LDAP, see Creating a WSDL Document in Oracle Java CAPS LDAP Binding Component Tutorial.
In the WSDL view of the WSDL Editor, the WSDL file appears as a tree component or a series of columns. The WSDL view has two subviews: tree view and column view. To switch between the subviews, use the buttons in the WSDL Editor toolbar. The main nodes in the WSDL view correspond to the major elements in a WSDL file.
Types: This node enables you to import XML schemas and to add inline schemas.
Imports: This node enables you to import WSDL files.
Messages: This node enables you to create, edit, and delete messages.
Port Types: This node enables you to create, edit, and delete port types.
Bindings: This node enables you to create, edit, and delete bindings.
Services: This node enables you to create, edit, and delete services.
Extensibility Elements: This node enables you to add the following extensibility elements: partner link types, properties, and property aliases.
Some of the nodes in the WSDL view allow you to add extension attributes.
The attributes of the service WSDL element configure LDAP directory security information for the LDAP BC. The attributes specify the connectivity to the LDAP directory address element ldap:address. These attributes specify login information, security protocols, authentication type, and so on.
When you create a WSDL file in the NetBeans IDE, the New WSDL Document Wizard generates the address service definition. You can then edit the attributes of the address service. The following table describes the attributes available for this service.
Table 1 LDAP Address Element Attributes
|
The following example illustrates the LDAP service element:
<service name="LDAPService" <wsdl:port name="LDAPPort" binding="tns:LDAPBinding> <ldap:address location="ldap://ldapServer1:389" principal = "cn=Manager,dc=oracle,dc=com" credential = "admin" truststorepassword = "trustadmin" truststoretype = "JKS" keystore = "C:\security\ldap\keystore.jks" keystorepassword = "keystoreadmin" keystoreusername = "keystore" keystoretype = "JKS" tlssecurity = "NO" ssltype = "Enable SSL" authentication = "Simple" truststore = "C:\security\ldap\trust.jks" protocol = "SSL" /> </wsdl:port> </service>
The LDAP Binding Component binding level WSDL elements include the binding, operation, and message extensibility elements.
Binding elements define the file transport-specific information for operations and messages.
The LDAP binding extensibility element allows the association of a binding to be LDAP protocol specific. When you create a WSDL file for a BPEL project in the NetBeans IDE, the New WSDL Document Wizard generates the LDAP binding definition, which includes a name you specify and a type that is generated by the wizard.
The following example illustrates the LDAP binding element:
<binding name="LDAPBinding" type="tns:LDAPPortType"> <ldap:binding/> ... </binding>
The LDAP operation element defines the supported operations. For the LDAP Binding Component the operations that can be supported include the following:
searchRequest
updateRequest
compareRequest
insertRequest
deleteRequest
addConnectionRequest
The following example illustrates the LDAP operation element:
<binding name="LDAPBinding" type="tns:LDAPPortType"> <ldap:binding/> <wsdl:operation name="LDAPSearchOperation"> <ldap:operation type="searchRequest"/> ...
The LDAP output element extends the binding element to specify properties associated with writing output messages. In the NetBeans IDE, select a ldap:output() element to view and modify the output properties. The following table describes the available output properties.
Table 2 LDAP Output Element Properties
|