man > Authen::SASL::Perl

📛 NAME

Authen::SASL::Perl — Perl implementation of the SASL Authentication framework

🚀 Quick Reference

Use CaseCommandDescription
Initialize SASL client with Perluse Authen::SASL qw(Perl); $sasl = Authen::SASL->new(mechanism => '...', callback => {...});🔑 Load the Perl implementation and create a SASL client object
Use CRAM-MD5 mechanismmechanism => 'CRAM-MD5'🔐 Challenge-response; no plaintext passwords sent
Use DIGEST-MD5 mechanismmechanism => 'DIGEST-MD5'đŸ›Ąī¸ Stronger challenge-response; resists replay/dictionary attacks
Use PLAIN/LOGIN mechanismmechanism => 'PLAIN' or mechanism => 'LOGIN'âš ī¸ Sends credentials in cleartext; use only with TLS/encryption
Use GSSAPI (Kerberos) mechanismmechanism => 'GSSAPI'🔑 Generic Security Services; primarily Kerberos 5
Use EXTERNAL mechanismmechanism => 'EXTERNAL'🔗 Delegates to external authentication system
Server-side DIGEST-MD5 optionsserver_new(options => { no_integrity => 1, no_confidentiality => 1 })âš™ī¸ Configure security layer negotiation for DIGEST-MD5 server

📖 SYNOPSIS

use Authen::SASL qw(Perl);

$sasl = Authen::SASL->new(
  mechanism => 'CRAM-MD5 PLAIN ANONYMOUS',
  callback => {
    user => $user,
    pass => \&fetch_password
  }
);

📝 DESCRIPTION

Authen::SASL::Perl is the pure Perl implementation of SASL mechanisms in the Authen::SASL framework.

At the time of this writing it provides the client part implementation for the following SASL mechanisms:

As for server support, only PLAIN, LOGIN and DIGEST-MD5 are supported at the time of this writing.

server_new OPTIONS is a hashref that is only relevant for DIGEST-MD5 for now and it supports the following options:

which configures how the security layers are negotiated with the client (or rather imposed to the client).

🔗 SEE ALSO

👤 AUTHOR

Peter Marschall <peter AT adpm.de>

Please report any bugs, or post any suggestions, to the perl-ldap mailing list <perl-ldap AT perl.org>

ÂŠī¸ COPYRIGHT

Copyright (c) 2004-2006 Peter Marschall. All rights reserved. This document is distributed, and may be redistributed, under the same terms as Perl itself.

Authen::SASL::Perl
📛 NAME 🚀 Quick Reference 📖 SYNOPSIS 📝 DESCRIPTION 🔗 SEE ALSO 👤 AUTHOR ÂŠī¸ COPYRIGHT

Generated by phpman v4.10.0-16-g1a0e228 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-22 15:57 @216.73.217.0
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!

^_top_^