line |
true |
false |
branch |
23
|
8 |
17 |
if ref $password eq 'CODE' |
24
|
7 |
18 |
if ref $password eq 'HASH' |
27
|
1 |
1 |
unless $auth or $callback or $params |
34
|
5 |
19 |
if $username |
37
|
5 |
19 |
if $callback and &$callback(split(/:/, $auth, 2)) |
41
|
6 |
13 |
if $auth eq ($username || '') . ":$password" |
45
|
11 |
2 |
if ($auth) |
46
|
5 |
6 |
if ($$params{'username'} and $$params{'password'}) { } |
|
2 |
4 |
elsif ($$params{'path'}) { } |
|
0 |
4 |
elsif ($$params{'host'}) { } |
48
|
5 |
0 |
if $plugin->_check_simple($self, $auth, $params) |
52
|
2 |
0 |
if $plugin->_check_passwd($self, $auth, $params) |
56
|
0 |
0 |
if $plugin->_check_ldap($self, $auth, $params) |
71
|
0 |
25 |
if ref $realm eq 'HASH' |
90
|
0 |
7 |
unless defined $username |
91
|
0 |
7 |
unless defined $password |
100
|
5 |
0 |
if $username eq $$params{'username'} and 'Authen::Simple::Password'->check($password, $$params{'password'}) |
110
|
0 |
0 |
unless defined $password |
113
|
0 |
0 |
if $ldap->authenticate($username, $password) |
122
|
2 |
0 |
if $passwd->authenticate($username, $password) |