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