Mercurial > pub > Impl
comparison Lib/IMPL/Web/Security/Session.pm @ 74:84aa8c395fce
doc
minor fixes
author | wizard |
---|---|
date | Mon, 29 Mar 2010 17:40:06 +0400 |
parents | 2f31ecabe9ea |
children | f017c0d7527c |
comparison
equal
deleted
inserted
replaced
73:2f31ecabe9ea | 74:84aa8c395fce |
---|---|
1 package IMPL::Web::Security::Session; | 1 package IMPL::Web::Security::Session; |
2 | 2 use strict; |
3 use base qw(IMPL::Object); | 3 use base qw(IMPL::Security::Context); |
4 | 4 |
5 use IMPL::Class::Property; | 5 use IMPL::Class::Property; |
6 | 6 |
7 __PACKAGE__->PassThroughArgs; | 7 __PACKAGE__->PassThroughArgs; |
8 | 8 |
9 BEGIN { | 9 BEGIN { |
10 public property id => prop_all; | 10 public property id => prop_all | owner_set; |
11 public property securityContext => prop_all; | |
12 } | 11 } |
13 | 12 |
14 1; | 13 1; |
14 | |
15 __END__ | |
16 | |
17 =pod | |
18 | |
19 =head1 NAME | |
20 | |
21 C<IMPL::Web::Security::Session> - Сессия пользователя. | |
22 | |
23 =head1 SINOPSYS | |
24 | |
25 =begin code | |
26 | |
27 # define a custom session for the application | |
28 | |
29 package App::Session; | |
30 use base qw(IMPL::Web::Security::Session); | |
31 | |
32 use IMPL::Class::Property; | |
33 | |
34 BEGIN { | |
35 public property transactionId => prop_all; | |
36 } | |
37 | |
38 =end code | |
39 | |
40 =head1 DESCRIPTION | |
41 | |
42 C<use base qw(IMPL::Security::Context)> | |
43 | |
44 Представляет собой контекст безопасности, имеет идентификатор. Является базовым классом | |
45 для расширения дополнительными атрибутами. | |
46 | |
47 =head1 MEMBERS | |
48 | |
49 =over | |
50 | |
51 =item C<[get] id> | |
52 | |
53 =back | |
54 | |
55 =cut |