Skip to content

dirmgr/blog-example-source-code

Repository files navigation

Example Source Code for Blog Posts

This repository provides source code used to illustrate posts that I’ve written for my blog at https://nawilson.com/.

Unless otherwise documented, all example code in this repository is provided under the terms of each of the following licenses:

The examples that are currently available include:

  • in-memory-cram-md5-handler-example — An example of a SASL bind handler for the in-memory directory server included as part of the UnboundID LDAP SDK for Java. This example implements support for the CRAM-MD5 SASL mechanism. It wasn’t really written for a blog post, but rather as an illustration used to in answering a question asked on the LDAP SDK’s discussion forum on SourceForge.

  • ldap-join — A sample program that demonstrates the use of the LDAP join control in the Ping Identity Directory Server and the UnboundID LDAP SDK for Java. It issues a search request to retrieve a user from the directory, where that search request includes a join request control that uses a DN join to retrieve entry for that user’s manager, and a nested join that also uses a reverse DN join to retrieve the entries for the manager’s direct reports. See the The LDAP Join Control in the Ping Identity Directory Server blog post for more information.

  • multi-update — A sample program that demonstrates the use of the multi-update extended operation in the Ping Identity Directory Server and the UnboundID LDAP SDK for Java. It is basically a stripped-down version of the ldapmodify tool, except it can only read changes from an LDIF file, and all changes will be sent to the server in a multi-update operation. See the The Multi-Update Extended Operation in the Ping Identity Directory Server blog post for more information.

  • name-with-entryuuid — A sample program that demonstrates the use of the name with entryUUID request control in the Ping Identity Directory Server and the UnboundID LDAP SDK for Java. It includes this control in an add request, and then uses the post-read response control in the add result to determine the actual DN that was given to the entry.

  • password-policy-state-issues — A sample program that demonstrates the use of the get password policy state issues control in the Ping Identity Directory Server and the UnboundID LDAP SDK for Java. See the The Get Password Policy State Issues Control in the Ping Identity Directory Server blog post for more information.

  • password-quality-requirements — A sample program that demonstrates how to use the get password quality extended operation and password validation details control in the Ping Identity Directory Server and the UnboundID LDAP SDK for Java. See the Programmatically Retrieving Password Quality Requirements in the Ping Identity DirectoryServer blog post for more information.

About

Example source code used to illustrate things described in blog posts

Resources

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE.txt
GPL-2.0
LICENSE-GPLv2.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages