File Coverage

blib/lib/App/LDAP/ObjectClass/PosixAccount.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::PosixAccount;
2              
3 1     1   6 use Modern::Perl;
  1         2  
  1         11  
4              
5 1     1   656 use Moose;
  0            
  0            
6              
7             extends qw(App::LDAP::ObjectClass::Top);
8              
9             has cn => (
10             is => "rw",
11             isa => "ArrayRef[Str]",
12             required => 1,
13             );
14              
15             has [qw(uid uidNumber gidNumber homeDirectory)] => (
16             is => "rw",
17             isa => "Str",
18             required => 1,
19             );
20              
21             has [qw(userPassword loginShell gecos description)] => (
22             is => "rw",
23             isa => "Str",
24             );
25              
26             __PACKAGE__->meta->make_immutable;
27             no Moose;
28              
29             1;
30              
31             =pod
32              
33             =head1 NAME
34              
35             App::LDAP::ObjectClass::PosixAccount - schema of posixAccount
36              
37             =head1 DEFINITION
38              
39             objectclass (
40             1.3.6.1.1.1.2.0
41             NAME 'posixAccount'
42             DESC 'Abstraction of an account with POSIX attributes'
43             SUP top
44             AUXILIARY
45             MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory )
46             MAY ( userPassword $ loginShell $ gecos $ description )
47             )
48              
49             =cut
50