line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyright (c) 1998-2002 Graham Barr and 2001 Chris Ridd |
2
|
|
|
|
|
|
|
# . All rights reserved. This program |
3
|
|
|
|
|
|
|
# is free software; you can redistribute it and/or modify it under the |
4
|
|
|
|
|
|
|
# same terms as Perl itself. |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
package Authen::SASL::Perl::EXTERNAL; |
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
13
|
use strict; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
316
|
|
9
|
2
|
|
|
2
|
|
12
|
use vars qw($VERSION @ISA); |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
536
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
$VERSION = "2.14"; |
12
|
|
|
|
|
|
|
@ISA = qw(Authen::SASL::Perl); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
my %secflags = ( |
15
|
|
|
|
|
|
|
noplaintext => 1, |
16
|
|
|
|
|
|
|
nodictionary => 1, |
17
|
|
|
|
|
|
|
noanonymous => 1, |
18
|
|
|
|
|
|
|
); |
19
|
|
|
|
|
|
|
|
20
|
37
|
|
|
37
|
|
109
|
sub _order { 2 } |
21
|
|
|
|
|
|
|
sub _secflags { |
22
|
12
|
|
|
12
|
|
21
|
shift; |
23
|
12
|
|
|
|
|
67
|
grep { $secflags{$_} } @_; |
|
1
|
|
|
|
|
19
|
|
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
2
|
|
|
2
|
0
|
427
|
sub mechanism { 'EXTERNAL' } |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub client_start { |
29
|
1
|
|
|
1
|
0
|
2
|
my $self = shift; |
30
|
1
|
|
|
|
|
14
|
my $v = $self->_call('user'); |
31
|
1
|
50
|
|
|
|
9
|
defined($v) ? $v : '' |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
#sub client_step { |
35
|
|
|
|
|
|
|
# shift->_call('user'); |
36
|
|
|
|
|
|
|
#} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
1; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
__END__ |