comparison Lib/IMPL/Security/Context.pm @ 238:b8c724f6de36

DOM model refactoring TT view refactoring, controls are no longer derived from DOM nodes bugfixes
author sergey
date Tue, 16 Oct 2012 01:33:06 +0400
parents 6d8092d8ce1b
children
comparison
equal deleted inserted replaced
237:61db68166c37 238:b8c724f6de36
1 package IMPL::Security::Context; 1 package IMPL::Security::Context;
2 use strict; 2 use strict;
3 use warnings; 3 use warnings;
4 4
5 use IMPL::require { 5 use IMPL::require {
6 Principal => 'IMPL::Security::Principal',
7 Role => 'IMPL::Security::Role',
8 AbstractContext => 'IMPL::Security::AbstractContext', 6 AbstractContext => 'IMPL::Security::AbstractContext',
9 Exception => 'IMPL::Exception',
10 ArgumentException => '-IMPL::InvalidArgumentException'
11
12 }; 7 };
13 8
14 use IMPL::declare { 9 use IMPL::declare {
10 require => {
11 Principal => 'IMPL::Security::Principal',
12 Role => 'IMPL::Security::Role',
13 Exception => 'IMPL::Exception',
14 ArgumentException => '-IMPL::InvalidArgumentException'
15 },
15 base => [ 16 base => [
16 'IMPL::Object' => undef, 17 'IMPL::Object' => undef,
17 'IMPL::Object::Autofill' => undef, 18 'IMPL::Object::Autofill' => '@_',
18 'IMPL::Security::AbstractContext' => undef, 19 'IMPL::Security::AbstractContext' => undef,
19 ], 20 ],
20 props => [ 21 props => [
21 @{AbstractContext->abstractProps()} 22 @{AbstractContext->abstractProps()}
22 ] 23 ]