diff Lib/IMPL/Web/Security/User.pm @ 230:6d8092d8ce1b

*reworked IMPL::Security *reworked IMPL::Web::Security *refactoring
author sergey
date Mon, 08 Oct 2012 03:37:37 +0400
parents 4267a2ac3d46
children
line wrap: on
line diff
--- a/Lib/IMPL/Web/Security/User.pm	Sat Sep 29 02:34:47 2012 +0400
+++ b/Lib/IMPL/Web/Security/User.pm	Mon Oct 08 03:37:37 2012 +0400
@@ -1,5 +1,25 @@
 package IMPL::Web::Security::User;
+use strict;
 
-use parent qw(IMPL::Security::Principal);
+use IMPL::Const qw(:prop);
+use IMPL::declare {
+    require => {
+        Exception => 'IMPL::Exception',
+        NotImplementedException => '-IMPL::NotImplementedException'        
+    },
+    base => [
+        'IMPL::Security::AbstractPrincipal' => undef
+    ]
+};
+
+push @{__PACKAGE__->abstractProps}, roles => PROP_RW | PROP_LIST;
+
+sub GetSecData {
+    die NotImplementedException->new();
+}
+
+sub SetSecData {
+    die NotImplementedException->new();
+}
 
 1;