Configuration Reference Home
OpenDJ - Cram MD5 SASL Mechanism Handler

Cram MD5 SASL Mechanism Handler

The CRAM-MD5 SASL mechanism provides the ability for clients to perform password-based authentication in a manner that does not expose their password in the clear.

Rather than including the password in the bind request, the CRAM-MD5 mechanism uses a two-step process in which the client needs only to prove that it knows the password. The server sends randomly-generated data to the client that is to be used in the process, which makes it resistant to replay attacks. The one-way message digest algorithm ensures that the original clear-text password is not exposed. Note that the algorithm used by the CRAM-MD5 mechanism requires that both the client and the server have access to the clear-text password (or potentially a value that is derived from the clear-text password). In order to authenticate to the server using CRAM-MD5, the password for a user's account must be encoded using a reversible password storage scheme that allows the server to have access to the clear-text value.

Parent Component

The Cram MD5 SASL Mechanism Handler component inherits from the SASL Mechanism Handler

Relations From this Component

The following components have a direct AGGREGATION relation FROM Cram MD5 SASL Mechanism Handlers :

Properties

A description of each property follows.


Basic Properties: Advanced Properties:
↓ enabled ↓ java-class
↓ identity-mapper

Basic Properties

enabled

Description
Indicates whether the SASL mechanism handler is enabled for use.
Default Value
None
Allowed Values
true
false
Multi-valued
No
Required
Yes
Admin Action Required
None
Advanced Property
No
Read-only
No

identity-mapper

Description
Specifies the name of the identity mapper used with this SASL mechanism handler to match the authentication ID included in the SASL bind request to the corresponding user in the directory.
Default Value
None
Allowed Values
The DN of any Identity Mapper. The referenced identity mapper must be enabled when the Cram MD5 SASL Mechanism Handler is enabled.
Multi-valued
No
Required
Yes
Admin Action Required
None
Advanced Property
No
Read-only
No


Advanced Properties

java-class

Description
Specifies the fully-qualified name of the Java class that provides the SASL mechanism handler implementation.
Default Value
org.opends.server.extensions.CRAMMD5SASLMechanismHandler
Allowed Values
A java class that implements or extends the class(es) :
org.opends.server.api.SASLMechanismHandler
Multi-valued
No
Required
Yes
Admin Action Required
The Cram MD5 SASL Mechanism Handler must be disabled and re-enabled for changes to this setting to take effect
Advanced Property
Yes
Read-only
No