| 1 | package App::LDAP::ObjectClass::Person; | ||
| 2 | |||
| 3 | 6 | ▶ | use Modern::Perl; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 6 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 6 | extends qw(App::LDAP::ObjectClass::Top); | |
| 8 | |||
| 9 | 6 | has [qw(sn cn)] => ( | |
| 10 | is => "rw", | ||
| 11 | isa => "ArrayRef[Str]", | ||
| 12 | required => 1, | ||
| 13 | ); | ||
| 14 | |||
| 15 | 6 | has [qw(userPassword telephoneNumber seeAlso description)] => ( | |
| 16 | is => "rw", | ||
| 17 | isa => "Str", | ||
| 18 | ); | ||
| 19 | |||
| 20 | 6 | __PACKAGE__->meta->make_immutable; | |
| 21 | 6 | ▶ | no Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | |||
| 23 | 6 | 1; | |
| 24 | |||
| 25 | =pod | ||
| 26 | |||
| 27 | =head1 NAME | ||
| 28 | |||
| 29 | App::LDAP::ObjectClass::Person - schema of person | ||
| 30 | |||
| 31 | =head1 DEFINITION | ||
| 32 | |||
| 33 | objectclass ( | ||
| 34 | 2.5.6.6 | ||
| 35 | NAME 'person' | ||
| 36 | DESC 'RFC2256: a person' | ||
| 37 | SUP top | ||
| 38 | STRUCTURAL | ||
| 39 | MUST ( sn $ cn ) | ||
| 40 | MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) | ||
| 41 | ) | ||
| 42 | |||
| 43 | =cut | ||
| 44 | |||