comparison Lib/IMPL/Web/Security/Session.pm @ 230:6d8092d8ce1b

*reworked IMPL::Security *reworked IMPL::Web::Security *refactoring
author sergey
date Mon, 08 Oct 2012 03:37:37 +0400
parents 4d0e1962161c
children 69a1f1508696
comparison
equal deleted inserted replaced
229:47f77e6409f7 230:6d8092d8ce1b
1 package IMPL::Web::Security::Session; 1 package IMPL::Web::Security::Session;
2 use strict; 2 use strict;
3 use parent qw(IMPL::Security::Context); 3 use parent qw();
4 4
5 use IMPL::Class::Property; 5 use IMPL::Const qw(:prop);
6 use IMPL::declare {
7 base => [
8 'IMPL::Security::AbstractContext' => '@_'
9 ]
10 };
6 11
7 __PACKAGE__->PassThroughArgs; 12 push @{__PACKAGE__->abstractProps}, sessionId => PROP_RW;
8
9 BEGIN {
10 public property id => prop_all | owner_set;
11 }
12 13
13 1; 14 1;
14 15
15 __END__ 16 __END__
16 17
46 47
47 =head1 MEMBERS 48 =head1 MEMBERS
48 49
49 =over 50 =over
50 51
51 =item C<[get] id> 52 =item C<[get] sessionId>
52 53
53 Идентификатор сессии 54 Идентификатор сессии
54 55
55 =back 56 =back
56 57