diff Lib/IMPL/Web/Security/Session.pm @ 393:69a1f1508696

minor security refactoring
author cin
date Fri, 14 Feb 2014 16:41:12 +0400
parents 6d8092d8ce1b
children
line wrap: on
line diff
--- a/Lib/IMPL/Web/Security/Session.pm	Fri Feb 14 03:31:45 2014 +0400
+++ b/Lib/IMPL/Web/Security/Session.pm	Fri Feb 14 16:41:12 2014 +0400
@@ -9,7 +9,7 @@
     ]
 };
 
-push @{__PACKAGE__->abstractProps}, sessionId => PROP_RW;
+push @{__PACKAGE__->abstractProps}, sessionId => PROP_RW, security => PROP_RW;
 
 1;
 
@@ -53,6 +53,11 @@
 
 Идентификатор сессии
 
+=item C<[get] security>
+
+Экземпляр C<IMPL::Web::Security> в рамках которого создана сессия (откуда взят
+пользователь и роли).
+
 =back
 
 =cut