annotate Lib/IMPL/Web/Security/Session.pm @ 110:c13a215508ca

Refactoring, ControllerUnit
author wizard
date Mon, 17 May 2010 17:42:27 +0400
parents f017c0d7527c
children 4267a2ac3d46
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;
wizard
parents: 73
diff changeset
3 use base qw(IMPL::Security::Context);
69
8c7b88bdb663 Cookie Simple auth support
wizard
parents: 66
diff changeset
4
73
wizard
parents: 69
diff changeset
5 use IMPL::Class::Property;
wizard
parents: 69
diff changeset
6
wizard
parents: 69
diff changeset
7 __PACKAGE__->PassThroughArgs;
wizard
parents: 69
diff changeset
8
wizard
parents: 69
diff changeset
9 BEGIN {
74
wizard
parents: 73
diff changeset
10 public property id => prop_all | owner_set;
73
wizard
parents: 69
diff changeset
11 }
wizard
parents: 69
diff changeset
12
74
wizard
parents: 73
diff changeset
13 1;
wizard
parents: 73
diff changeset
14
wizard
parents: 73
diff changeset
15 __END__
wizard
parents: 73
diff changeset
16
wizard
parents: 73
diff changeset
17 =pod
wizard
parents: 73
diff changeset
18
wizard
parents: 73
diff changeset
19 =head1 NAME
wizard
parents: 73
diff changeset
20
wizard
parents: 73
diff changeset
21 C<IMPL::Web::Security::Session> - Сессия пользователя.
wizard
parents: 73
diff changeset
22
wizard
parents: 73
diff changeset
23 =head1 SINOPSYS
wizard
parents: 73
diff changeset
24
wizard
parents: 73
diff changeset
25 =begin code
wizard
parents: 73
diff changeset
26
wizard
parents: 73
diff changeset
27 # define a custom session for the application
wizard
parents: 73
diff changeset
28
wizard
parents: 73
diff changeset
29 package App::Session;
wizard
parents: 73
diff changeset
30 use base qw(IMPL::Web::Security::Session);
wizard
parents: 73
diff changeset
31
wizard
parents: 73
diff changeset
32 use IMPL::Class::Property;
wizard
parents: 73
diff changeset
33
wizard
parents: 73
diff changeset
34 BEGIN {
wizard
parents: 73
diff changeset
35 public property transactionId => prop_all;
wizard
parents: 73
diff changeset
36 }
wizard
parents: 73
diff changeset
37
wizard
parents: 73
diff changeset
38 =end code
wizard
parents: 73
diff changeset
39
wizard
parents: 73
diff changeset
40 =head1 DESCRIPTION
wizard
parents: 73
diff changeset
41
wizard
parents: 73
diff changeset
42 C<use base qw(IMPL::Security::Context)>
wizard
parents: 73
diff changeset
43
wizard
parents: 73
diff changeset
44 Представляет собой контекст безопасности, имеет идентификатор. Является базовым классом
wizard
parents: 73
diff changeset
45 для расширения дополнительными атрибутами.
wizard
parents: 73
diff changeset
46
wizard
parents: 73
diff changeset
47 =head1 MEMBERS
wizard
parents: 73
diff changeset
48
wizard
parents: 73
diff changeset
49 =over
wizard
parents: 73
diff changeset
50
wizard
parents: 73
diff changeset
51 =item C<[get] id>
wizard
parents: 73
diff changeset
52
80
f017c0d7527c minor changes + docs
wizard
parents: 74
diff changeset
53 Идентификатор сессии
f017c0d7527c minor changes + docs
wizard
parents: 74
diff changeset
54
74
wizard
parents: 73
diff changeset
55 =back
wizard
parents: 73
diff changeset
56
wizard
parents: 73
diff changeset
57 =cut