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 part of the DIGEST-MD5 SASL
22 algorithm, as described in RFC 2831.
23
24 This module only implements the auth operation which offers
25 authentication but neither integrity protection not encryption.
26
27 CALLBACK
28 The callbacks used are:
29
30 authname
31 The authorization id to use after successful authentication
32
33 user
34 The username to be used in the response
35
36 pass
37 The password to be used in the response
38
39 serv
40 The service name when authenticating to a replicated service
41
42 realm
43 The authentication realm when overriding the server-provided
44 default. If not given the server-provided value is used.
45
46 The callback will be passed the list of realms that the server
47 provided in the initial response.
48
49 PROPERTIES
50 The properties used are:
51
52 maxbuf
53 The maximum buffer size for receiving cipher text
54
55 minssf
56 The minimum SSF value that should be provided by the SASL security
57 layer. The default is 0
58
59 maxssf
60 The maximum SSF value that should be provided by the SASL security
61 layer. The default is 2**31
62
63 externalssf
64 The SSF value provided by an underlying external security layer.
65 The default is 0
66
67 ssf The actual SSF value provided by the SASL security layer after the
68 SASL authentication phase has been completed. This value is read-
69 only and set by the implementation after the SASL authentication
70 phase has been completed.
71
72 maxout
73 The maximum plaintext buffer size for sending data to the peer.
74 This value is set by the implementation after the SASL
75 authentication phase has been completed and a SASL security layer
76 is in effect.
77
79 Authen::SASL, Authen::SASL::Perl
80
82 Graham Barr, Djamel Boudjerda (NEXOR), Paul Connolly, Julian Onions
83 (NEXOR)
84
85 Please report any bugs, or post any suggestions, to the perl-ldap
86 mailing list <perl-ldap@perl.org>
87
89 Copyright (c) 2003-2005 Graham Barr, Djamel Boudjerda, Paul Connolly,
90 Julian Onions, Nexor and Peter Marschall. All rights reserved. This
91 program is free software; you can redistribute it and/or modify it
92 under the same terms as Perl itself.
93
94
95
96perl v5.12.0 2009-09-24 Authen::SASL::Perl::DIGEST_MD5(3)