The SASL Framework Classes

An Internet Draft proposes a standard Java API for SASL clients and servers to use and register mechanisms, and there is an identical proposal to Sun's Java Community Process to add the API to the standard Java extensions. Eventually the framework classes will be available as javax.security.auth.sasl or something similar.

In the meantime, Directory SDK for Java includes com.netscape.sasl, the package that contains the classes and interfaces that make up the SASL framework. Sun provides the same interfaces with the LDAP Service Provider for JNDI in the package com.sun.security.sasl. The Netscape package includes only the mechanism EXTERNAL; the Sun package includes EXTERNAL and CRAM-MD5.

The sasl packages contain a factory ...

Get LDAP Programming with Java™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.