Mercurial > pub > Impl
diff 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 |
line wrap: on
line diff
--- a/Lib/IMPL/Web/Security/Session.pm Mon Mar 29 06:56:05 2010 +0400 +++ b/Lib/IMPL/Web/Security/Session.pm Mon Mar 29 17:40:06 2010 +0400 @@ -1,14 +1,55 @@ package IMPL::Web::Security::Session; - -use base qw(IMPL::Object); +use strict; +use base qw(IMPL::Security::Context); use IMPL::Class::Property; __PACKAGE__->PassThroughArgs; BEGIN { - public property id => prop_all; - public property securityContext => prop_all; + public property id => prop_all | owner_set; } -1; \ No newline at end of file +1; + +__END__ + +=pod + +=head1 NAME + +C<IMPL::Web::Security::Session> - Сессия пользователя. + +=head1 SINOPSYS + +=begin code + +# define a custom session for the application + +package App::Session; +use base qw(IMPL::Web::Security::Session); + +use IMPL::Class::Property; + +BEGIN { + public property transactionId => prop_all; +} + +=end code + +=head1 DESCRIPTION + +C<use base qw(IMPL::Security::Context)> + +Представляет собой контекст безопасности, имеет идентификатор. Является базовым классом +для расширения дополнительными атрибутами. + +=head1 MEMBERS + +=over + +=item C<[get] id> + +=back + +=cut \ No newline at end of file