A module for performing JNDI queries against Directories, returning XML representations of the results.
jndi:close-context($directory-context as xs:integer) as item()
Closes a JNDI Context
$directory-context | The directory context handle from a jndi:get-dir-context() call |
jndi:create($directory-context as xs:integer, $dn as xs:string, $attributes as element()) as item()
Create a JNDI Directory entry.
$directory-context | The directory context handle from a jndi:get-dir-context() call |
$dn | The Distinguished Name |
$attributes | The entry attributes to be set in the form <attributes><attribute name="" value=""/></attributes>. You can also optionally specify ordered="true" for an attribute. |
jndi:delete($directory-context as xs:integer, $dn as xs:string) as item()
Delete a JNDI Directory entry.
$directory-context | The directory context handle from a jndi:get-dir-context() call |
$dn | The Distinguished Name |
jndi:get-dir-context($properties as element()?) as xs:long?
Opens a JNDI Directory Context.
$properties? | The JNDI Directory Context environment properties to be set in the form <properties><property name="" value=""/></properties>. |
jndi:modify($directory-context as xs:integer, $dn as xs:string, $attributes as element()) as item()
Modify a JNDI Directory entry.
$directory-context | The directory context handle from a jndi:get-dir-context() call |
$dn | The Distinguished Name |
$attributes | The entry attributes to be set in the form <attributes><attribute name="" value="" operation="add | replace | remove"/></attributes>. You can also optionally specify ordered="true" for an attribute. |
jndi:rename($directory-context as xs:integer, $old-dn as xs:string, $new-dn as xs:string) as item()
Rename a JNDI Directory entry.
$directory-context | The directory context handle from a jndi:get-dir-context() call |
$old-dn | The Distinguished Name to rename |
$new-dn | The new Distinguished Name |
jndi:search($directory-context as xs:integer, $dn as xs:string, $search-attributes as element()) as node()?
Searches a JNDI Directory by attributes.
$directory-context | The directory context handle from a jndi:get-dir-context() call |
$dn | The Distinguished Name |
$search-attributes | The search attributes in the form <attributes><attribute name="" value=""/></attributes>. |
jndi:search($directory-context as xs:integer, $dn as xs:string, $filter as xs:string, $scope as xs:string) as node()?
Searches a JNDI Directory by filter.
$directory-context | The directory context handle from a jndi:get-dir-context() call |
$dn | The Distinguished Name |
$filter | The filter. The format and interpretation of filter follows RFC 2254 with the following interpretations for 'attr' and 'value' mentioned in the RFC. 'attr' is the attribute's identifier. 'value' is the string represention the attribute's value. The translation of this string representation into the attribute's value is directory-specific. |
$scope | The scope, which has a value of 'object', 'onelevel' or 'subtree' |