annotate Lib/IMPL/Web/Security/Session.pm @ 358:248f95c1762a

added simple XML Sax parser
author sergey
date Mon, 18 Nov 2013 01:25:35 +0400
parents 6d8092d8ce1b
children 69a1f1508696
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
73
wizard
parents: 69
diff changeset
1 package IMPL::Web::Security::Session;
74
wizard
parents: 73
diff changeset
2 use strict;
230
6d8092d8ce1b *reworked IMPL::Security
sergey
parents: 194
diff changeset
3 use parent qw();
73
wizard
parents: 69
diff changeset
4
230
6d8092d8ce1b *reworked IMPL::Security
sergey
parents: 194
diff changeset
5 use IMPL::Const qw(:prop);
6d8092d8ce1b *reworked IMPL::Security
sergey
parents: 194
diff changeset
6 use IMPL::declare {
6d8092d8ce1b *reworked IMPL::Security
sergey
parents: 194
diff changeset
7 base => [
6d8092d8ce1b *reworked IMPL::Security
sergey
parents: 194
diff changeset
8 'IMPL::Security::AbstractContext' => '@_'
6d8092d8ce1b *reworked IMPL::Security
sergey
parents: 194
diff changeset
9 ]
6d8092d8ce1b *reworked IMPL::Security
sergey
parents: 194
diff changeset
10 };
73
wizard
parents: 69
diff changeset
11
230
6d8092d8ce1b *reworked IMPL::Security
sergey
parents: 194
diff changeset
12 push @{__PACKAGE__->abstractProps}, sessionId => PROP_RW;
73
wizard
parents: 69
diff changeset
13
74
wizard
parents: 73
diff changeset
14 1;
wizard
parents: 73
diff changeset
15
wizard
parents: 73
diff changeset
16 __END__
wizard
parents: 73
diff changeset
17
wizard
parents: 73
diff changeset
18 =pod
wizard
parents: 73
diff changeset
19
wizard
parents: 73
diff changeset
20 =head1 NAME
wizard
parents: 73
diff changeset
21
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 166
diff changeset
22 C<IMPL::Web::Security::Session> - Сессия пользователя.
74
wizard
parents: 73
diff changeset
23
wizard
parents: 73
diff changeset
24 =head1 SINOPSYS
wizard
parents: 73
diff changeset
25
wizard
parents: 73
diff changeset
26 =begin code
wizard
parents: 73
diff changeset
27
wizard
parents: 73
diff changeset
28 # define a custom session for the application
wizard
parents: 73
diff changeset
29
wizard
parents: 73
diff changeset
30 package App::Session;
166
4267a2ac3d46 Added Class::Template,
wizard
parents: 80
diff changeset
31 use parent qw(IMPL::Web::Security::Session);
74
wizard
parents: 73
diff changeset
32
wizard
parents: 73
diff changeset
33 use IMPL::Class::Property;
wizard
parents: 73
diff changeset
34
wizard
parents: 73
diff changeset
35 BEGIN {
194
4d0e1962161c Replaced tabs with spaces
cin
parents: 180
diff changeset
36 public property transactionId => prop_all;
74
wizard
parents: 73
diff changeset
37 }
wizard
parents: 73
diff changeset
38
wizard
parents: 73
diff changeset
39 =end code
wizard
parents: 73
diff changeset
40
wizard
parents: 73
diff changeset
41 =head1 DESCRIPTION
wizard
parents: 73
diff changeset
42
166
4267a2ac3d46 Added Class::Template,
wizard
parents: 80
diff changeset
43 C<use parent qw(IMPL::Security::Context)>
74
wizard
parents: 73
diff changeset
44
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 166
diff changeset
45 Представляет собой контекст безопасности, имеет идентификатор. Является базовым классом
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 166
diff changeset
46 для расширения дополнительными атрибутами.
74
wizard
parents: 73
diff changeset
47
wizard
parents: 73
diff changeset
48 =head1 MEMBERS
wizard
parents: 73
diff changeset
49
wizard
parents: 73
diff changeset
50 =over
wizard
parents: 73
diff changeset
51
230
6d8092d8ce1b *reworked IMPL::Security
sergey
parents: 194
diff changeset
52 =item C<[get] sessionId>
74
wizard
parents: 73
diff changeset
53
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 166
diff changeset
54 Идентификатор сессии
80
f017c0d7527c minor changes + docs
wizard
parents: 74
diff changeset
55
74
wizard
parents: 73
diff changeset
56 =back
wizard
parents: 73
diff changeset
57
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 166
diff changeset
58 =cut