1Authen::SASL::Perl::DIGUEsSeTr_MCDo5n(t3r)ibuted Perl DoAcuutmheennt:a:tSiAoSnL::Perl::DIGEST_MD5(3)
2
3
4
6 Authen::SASL::Perl::DIGEST_MD5 - Digest MD5 Authentication class
7
9 use Authen::SASL qw(Perl);
10
11 $sasl = Authen::SASL->new(
12 mechanism => 'DIGEST-MD5',
13 callback => {
14 user => $user,
15 pass => $pass,
16 serv => $serv
17 },
18 );
19
21 This method implements the client and server parts of the DIGEST-MD5
22 SASL algorithm, as described in RFC 2831.
23
24 CALLBACK
25 The callbacks used are:
26
27 client
28
29 authname
30 The authorization id to use after successful authentication
31
32 user
33 The username to be used in the response
34
35 pass
36 The password to be used to compute the response.
37
38 serv
39 The service name when authenticating to a replicated service
40
41 realm
42 The authentication realm when overriding the server-provided
43 default. If not given the server-provided value is used.
44
45 The callback will be passed the list of realms that the server
46 provided in the initial response.
47
48 server
49
50 realm
51 The default realm to provide to the client
52
53 getsecret(username, realm, authzid)
54 returns the password associated with "username" and "realm"
55
56 PROPERTIES
57 The properties used are:
58
59 maxbuf
60 The maximum buffer size for receiving cipher text
61
62 minssf
63 The minimum SSF value that should be provided by the SASL security
64 layer. The default is 0
65
66 maxssf
67 The maximum SSF value that should be provided by the SASL security
68 layer. The default is 2**31
69
70 externalssf
71 The SSF value provided by an underlying external security layer.
72 The default is 0
73
74 ssf The actual SSF value provided by the SASL security layer after the
75 SASL authentication phase has been completed. This value is read-
76 only and set by the implementation after the SASL authentication
77 phase has been completed.
78
79 maxout
80 The maximum plaintext buffer size for sending data to the peer.
81 This value is set by the implementation after the SASL
82 authentication phase has been completed and a SASL security layer
83 is in effect.
84
86 Authen::SASL, Authen::SASL::Perl
87
89 Graham Barr, Djamel Boudjerda (NEXOR), Paul Connolly, Julian Onions
90 (NEXOR), Yann Kerherve.
91
92 Please report any bugs, or post any suggestions, to the perl-ldap
93 mailing list <perl-ldap@perl.org>
94
96 Copyright (c) 2003-2009 Graham Barr, Djamel Boudjerda, Paul Connolly,
97 Julian Onions, Nexor, Peter Marschall and Yann Kerherve. All rights
98 reserved. This program is free software; you can redistribute it and/or
99 modify it under the same terms as Perl itself.
100
102 Hey! The above document had some coding errors, which are explained
103 below:
104
105 Around line 805:
106 Unknown directive: =over4
107
108 Around line 807:
109 '=item' outside of any '=over'
110
111
112
113perl v5.32.0 2020-07-28 Authen::SASL::Perl::DIGEST_MD5(3)