diff 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
line wrap: on
line diff
--- a/Lib/IMPL/Web/Security/Session.pm	Sat Sep 29 02:34:47 2012 +0400
+++ b/Lib/IMPL/Web/Security/Session.pm	Mon Oct 08 03:37:37 2012 +0400
@@ -1,14 +1,15 @@
 package IMPL::Web::Security::Session;
 use strict;
-use parent qw(IMPL::Security::Context);
-
-use IMPL::Class::Property;
+use parent qw();
 
-__PACKAGE__->PassThroughArgs;
+use IMPL::Const qw(:prop);
+use IMPL::declare {
+    base => [
+        'IMPL::Security::AbstractContext' => '@_'
+    ]
+};
 
-BEGIN {
-    public property id => prop_all | owner_set;
-}
+push @{__PACKAGE__->abstractProps}, sessionId => PROP_RW;
 
 1;
 
@@ -48,7 +49,7 @@
 
 =over
 
-=item C<[get] id>
+=item C<[get] sessionId>
 
 Идентификатор сессии