File Coverage

blib/lib/App/LDAP/ObjectClass/ShadowAccount.pm
Criterion Covered Total %
statement 4 6 66.6
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 6 8 75.0


line stmt bran cond sub pod time code
1             package App::LDAP::ObjectClass::ShadowAccount;
2              
3 1     1   5 use Modern::Perl;
  1         2  
  1         8  
4              
5 1     1   609 use Moose;
  0            
  0            
6              
7             extends qw(App::LDAP::ObjectClass::Top);
8              
9             has uid => (
10             is => "rw",
11             isa => "Str",
12             required => 1,
13             );
14              
15             has userPassword => (
16             is => "rw",
17             isa => "Str",
18             );
19              
20             has [qw( shadowLastChange
21             shadowMin
22             shadowMax
23             shadowWarning
24             shadowInactive
25             shadowExpire
26             shadowFlag )] => (
27             is => "rw",
28             isa => "Num",
29             );
30              
31             has description => (
32             is => "rw",
33             isa => "Str",
34             );
35              
36             __PACKAGE__->meta->make_immutable;
37             no Moose;
38              
39             1;
40              
41             =pod
42              
43             =head1 NAME
44              
45             App::LDAP::ObjectClass::ShadowAccount - schema of shadowAccount
46              
47             =head1 DEFINITION
48              
49             objectclass (
50             1.3.6.1.1.1.2.1
51             NAME 'shadowAccount'
52             DESC 'Additional attributes for shadow passwords'
53             SUP top
54             AUXILIARY
55             MUST uid
56             MAY ( userPassword $ shadowLastChange $ shadowMin $
57             shadowMax $ shadowWarning $ shadowInactive $
58             shadowExpire $ shadowFlag $ description )
59             )
60              
61             =cut
62