Skip to content

Provides a sample CRAM-MD5 SASL bind handler for the UnboundID LDAP SDK for Java's in-memory directory server

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE.txt
GPL-2.0
LICENSE-GPLv2.txt
Notifications You must be signed in to change notification settings

dirmgr/in-memory-cram-md5-handler-example

Repository files navigation

in-memory-cram-md5-handler-example

This repository provides source code for a sample InMemorySASLBindHandler for the UnboundID LDAP SDK for Java's in-memory directory server. This SASL bind handler implements support for the CRAM-MD5 SASL mechanism. This mechanism is obsolete and should not be used for real-world authentication (which is why it's not being included in the LDAP SDK itself), but the code here can be used as a starting point for demonstrating how to create a custom InMemorySASLBindHandler implementation for other, more desirable SASL mechanisms (especially those that rely on the javax.security.sasl.SaslServer class to perform the core processing).

Also see the com.unboundid.ldap.listener.PLAINBindHandler class for an example of an InMemorySASLBindHandler that does not make use of the SaslServer framework.

Code in this repository is available under three licenses:

  • The GNU General Public License version 2.0 (GPLv2). See the LICENSE-GPLv2.txt file for this license.

  • The GNU Lesser General Public License version 2.1 (LGPLv2.1). See the LICENSE-LGPLv2.1.txt file for this license.

  • The Apache License version 2.0. See the LICENSE-Apache-v2.0.txt file for this license.

About

Provides a sample CRAM-MD5 SASL bind handler for the UnboundID LDAP SDK for Java's in-memory directory server

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