Directory Classes/Security/ACL/

Directory Created:
2008-06-25 23:57
Directory Deleted:
2010-08-24 10:42
Total Files:
0
Deleted Files:
13
Lines of Code:
0

[root]/Classes/Security/ACL

Lines of Code

Classes/Security/ACL/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 121 (100.0%) 1388 (100.0%) 11.4
andi 25 (20.7%) 909 (65.5%) 36.3
robert 29 (24.0%) 254 (18.3%) 8.7
k-fish 67 (55.4%) 225 (16.2%) 3.3

Most Recent Commits

k-fish 2010-08-24 10:42 Rev.: 5057

Removed everything in trunk after move to git.

0 lines of code changed in 13 files:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyExpressionParser.php (del), F3_FLOW3_Security_ACL_PolicyService.php (del), F3_FLOW3_Security_ACL_Privilege.php (del), F3_FLOW3_Security_ACL_Role.php (del), F3_FLOW3_Security_ACL_UserDetails.php (del), F3_FLOW3_Security_ACL_UserDetailsService.php (del), F3_FLOW3_Security_ACL_Voter.php (del), PolicyExpressionParser.php (del), PolicyService.php (del), Privilege.php (del), Role.php (del), UserDetails.php (del), UserDetailsService.php (del)
andi 2010-02-14 00:01 Rev.: 3824

[+TASK] FLOW3(Security): Moved the security policy configuration to its own Policy.yaml file. Resolves #5440

29 lines of code changed in 1 file:

  • Classes/Security/ACL: PolicyService.php (+29 -7)
andi 2010-02-10 18:59 Rev.: 3823

* [+FEATURE] FLOW3 (AOP): If an advice is executed can now depend on runtime evaluations, which can be configured in the pointcut expression. Relates to #5659.
* [~BUGFIX] FLOW3 (AOP): Properties of the AOP proxy class are now prefixed by FLOW3_AOP_Proxy_. This fixes #6188.
* [~TASK] FLOW3 (AOP): Removed an unused function from the Framework class.

20 lines of code changed in 1 file:

  • Classes/Security/ACL: PolicyService.php (+20)
robert 2010-02-02 13:12 Rev.: 3806

[~TASK] FLOW3 (Security): Removed the GrantedAuhorityInterface and replaced all uses of "Granted Authority" by "Role". Resolves #6317

2 lines of code changed in 1 file:

  • Classes/Security/ACL: Role.php (+2 -2)
robert 2010-01-15 15:38 Rev.: 3643

[~TASK] FLOW3 (Documentation): Updated the Coding Guidelines: removed inconsistent exceptions from the general class naming rules. Also added the rule that names of aspect classes must end with "Aspect". Relates to #5658
[~TASK] Global: Renamed many classes and interfaces in order to be consistent with FLOW3's naming rules. A migration script to update third-party applications will follow soon. Resolves #5658

12 lines of code changed in 2 files:

  • Classes/Security/ACL: PolicyExpressionParser.php (+5 -5), PolicyService.php (+7 -7)
andi 2009-10-30 14:26 Rev.: 3383

[~DOCUMENTATION] FLOW3 (Security): Fixed two mistakes in example code listings. Resolves #5180.
[+BUGFIX] FLOW3 (Security): Added an is_array check in the policy service, to prevent php fatal erros.

3 lines of code changed in 1 file:

  • Classes/Security/ACL: PolicyService.php (+3 -1)
andi 2009-09-23 12:25 Rev.: 3215

[+FEATURE] FLOW3 (Security): Implemented the logoutAction() in the authenctication controller
[+FEATURE] Fluid (ViewHelpers): Implemented an ifGrantedAuthority view helper
[~TASK] Fluid (ViewHelpers): Fixed some doc comments in the ifAccess view helper

0 lines of code changed in 1 file:

  • Classes/Security/ACL: Role.php (-10)
k-fish 2009-09-16 14:36 Rev.: 3189

[~TASK] FLOW3: Fixed method parameter documentation found by new reflection service checks.
[+FEATURE] FLOW3 (Persistence): added removeAll() to base repository, resolves #3852.

4 lines of code changed in 2 files:

  • Classes/Security/ACL: PolicyExpressionParser.php (+2 -2), PolicyService.php (+2 -2)
andi 2009-08-31 15:05 Rev.: 3108

* [+BUGFIX] FLOW3 (Security): Resources are now considered as denied, if no ACL entry is configured. Resolves #4381.

15 lines of code changed in 1 file:

  • Classes/Security/ACL: PolicyService.php (+15 -1)
k-fish 2009-07-31 14:15 Rev.: 2955

[+BUGFIX] FLOW3 (Security): fixed a bug in the PolicyExpressionParser.

3 lines of code changed in 1 file:

  • Classes/Security/ACL: PolicyExpressionParser.php (+3 -3)
andi 2009-07-29 20:58 Rev.: 2936

* [~BUGFIX] FLOW3 (Security): Removed two deprecated call-time pass-by-reference calls.

2 lines of code changed in 2 files:

  • Classes/Security/ACL: PolicyExpressionParser.php (+1 -1), PolicyService.php (+1 -1)
andi 2009-07-29 20:03 Rev.: 2934

* [+FEATURE] FLOW3 (Security): Extended the authorization and acl system to be able to decide on resources, not only on join points.
* [+FEATURE] FLOW3 (Security): Implemented a very basic authentication controller.

33 lines of code changed in 2 files:

  • Classes/Security/ACL: PolicyExpressionParser.php (+2 -2), PolicyService.php (+31 -15)
andi 2009-07-22 14:14 Rev.: 2851

[~BUGFIX] FLOW3 (Object): The object serializer now handles persitence objects correctly.
[~TASK] FLOW3 (AOP): Removed the FLOW3 Security subpackage from the AOP blacklist, to be able to store roles in the content repository.
[~BUGFIX] FLOW3 (Core): Changed the initialization order to initialize the persistence framework early engough for the new session scope.
[~BUGFIX] Testing: Changed the framewor initialization order to initialize the persistence framework early engough for the new session scope.
[+FEATURE] Party: Added a basic account model.
[+FEATURE] FLOW3 (Security): Added a new authentication provider and token that uses account objects for authentication.
[-FEATURE] FLOW3 (Security): Removed the RSA authentication mechanism for now.
[~CONFIGURATION] FLOW3: Changed the policy configuration according to the new syntax.

7 lines of code changed in 2 files:

  • Classes/Security/ACL: PolicyService.php (+6 -2), Role.php (+1)
k-fish 2009-07-16 15:02 Rev.: 2813

[+TASK] FLOW3: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Fluid: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Kickstart: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] PHP6: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] PHPUnit: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Testing: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Welcome: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] YAML: Removed file level docblocks and @package/@subpackage annotations.

0 lines of code changed in 6 files:

  • Classes/Security/ACL: PolicyExpressionParser.php (-8), PolicyService.php (-8), Privilege.php (-8), Role.php (-8), UserDetails.php (-8), UserDetailsService.php (-8)
k-fish 2009-07-15 12:28 Rev.: 2794

[TASK] FLOW3: moved from @internal to @api, resolves #3883

2 lines of code changed in 6 files:

  • Classes/Security/ACL: PolicyExpressionParser.php (+2 -5), PolicyService.php (-10), Privilege.php (-7), Role.php (-3), UserDetails.php (-4), UserDetailsService.php (-1)
k-fish 2009-06-02 11:35 Rev.: 2523

Added svn:keywords where missing...

0 lines of code changed in 1 file:

  • Classes/Security/ACL: PolicyExpressionParser.php (changed)
robert 2009-05-20 19:14 Rev.: 2293

* FLOW3: Marked all methods as @internal except those which are considered part of the official API. Resolves #1280
* TYPO3CR: Fixed two tests of the Storage\PDO\Search testcase.

28 lines of code changed in 6 files:

  • Classes/Security/ACL: PolicyExpressionParser.php (+3), PolicyService.php (+10), Privilege.php (+7), Role.php (+3), UserDetails.php (+4), UserDetailsService.php (+1)
robert 2009-05-20 12:36 Rev.: 2282

* FLOW3: Renamed a few classes / moved them in the namespaces hierarchy to make naming more consistent. Resolves #2515
* FLOW3: (MVC) Removed the AbstractWidget

6 lines of code changed in 2 files:

  • Classes/Security/ACL: PolicyExpressionParser.php (+5 -5), PolicyService.php (+1 -1)
k-fish 2009-03-03 14:46 Rev.: 1966

FLOW3:
* Package\Meta\XMLWriter now uses startDocument() instead of writeRaw()
* replaced chr(10) with PHP_EOL (where applicable!)
* replaced curly braces with square brackets for character access on strings (this is no longer the better choice...)
* replaced == with typesafe comparator === where it was used

TYPO3CR:
* replaced chr(10) with PHP_EOL (where applicable!)
* replaced curly braces with square brackets for character access on strings (this is no longer the better choice...)

2 lines of code changed in 1 file:

  • Classes/Security/ACL: PolicyExpressionParser.php (+2 -2)
robert 2009-01-28 13:04 Rev.: 1811

!!! Globally renamed all class files to the new shorter version. Resolves #2524
FLOW3: (Resource) Adapted the class loader and other related parts of FLOW3 to the new class filename convention
FLOW3: Moved the FLOW3 bootstrap into the F3\FLOW3 namepace

75 lines of code changed in 6 files:

  • Classes/Security/ACL: PolicyExpressionParser.php (new 13), PolicyService.php (new 19), Privilege.php (new 8), Role.php (new 19), UserDetails.php (new 8), UserDetailsService.php (new 8)
k-fish 2009-01-27 16:53 Rev.: 1803

FLOW3:
* moved and renamed cache frontend classes and interfaces, refs #2515

3 lines of code changed in 1 file:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyService.php (+3 -8)
robert 2009-01-26 15:52 Rev.: 1793

* FLOW3: (Security) Fixed the scope of the ACL Privilege and the ACL User Details
* TYPO3: (Backend) Renamed the view of the Backend Login Controller
* TYPO3: Added a route for the login controller

2 lines of code changed in 2 files:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_Privilege.php (+1), F3_FLOW3_Security_ACL_UserDetails.php (+1)
k-fish 2009-01-15 16:06 Rev.: 1749

FLOW3:
* fixed license name in @license annotation, fixes #2454

6 lines of code changed in 6 files:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyExpressionParser.php (+1 -1), F3_FLOW3_Security_ACL_PolicyService.php (+1 -1), F3_FLOW3_Security_ACL_Privilege.php (+1 -1), F3_FLOW3_Security_ACL_Role.php (+1 -1), F3_FLOW3_Security_ACL_UserDetails.php (+1 -1), F3_FLOW3_Security_ACL_UserDetailsService.php (+1 -1)
robert 2009-01-15 15:24 Rev.: 1747

This is a big commit (sorry - not exactly Continuous Integration ...)
While all seems to be fine and stable, many features introduced in this commit are not complete. Especially AOP Proxy Caching, Logging (API), the System Logger and the Signal Slots mechanism need some further work.

* TYPO3 Distribution: Added a Log directory
* TYPO3 Distribution: Disabled security (for now) because some thing need to be refactored and tested again after this commit
* FLOW3: Further cleanup of the bootstrap. Addresses #2117
* FLOW3: Removed manual registration of objects from all classes and created an Objects.yaml configuration instead which declares the objects and configures their dependencies. This manual registration is necessary for objects such as the AOP Framework because at the time it is created, the Object Manager is not yet fully initialized.
* FLOW3: (AOP) Refactored and cleaned up the AOP initialization process. Resolves #441.
* FLOW3: (AOP) Completely rewrote all unit tests and added many new ones. Now no AOP test relies on the TestPackage anymore. Addresses #1868
* FLOW3: (AOP) Improved the automatic documentation rendering of the Proxy Class Builder. Resolves #35.
* FLOW3: (AOP) Externalized the creation of the AOP proxy and instead use the Caches.yaml configuration.
* FLOW3: (AOP) Removed all use of PHP's Reflection classes and replaced them with calls to the Reflection Service
* FLOW3: (AOP) Converted all classes involved in the proxy building process from static into dynamic calls
* FLOW3: (Cache) Introduced an (semi) automatic cache registration feature which assures that all necessary caches are registered when file changes are detected. In order to register a cache, just define it in the new "Caches.yaml" configuration file. See the FLOW3 package for examples. Resolves #1787
* FLOW3: (Cache) Wrote more tests for the File Backend. Resolves #1843
* FLOW3: (Configuration) Improved the performance of the special configuration management
* FLOW3: (Configuration) Added support for Caches.* configuration
* FLOW3: (Error) The exception handlers now log uncaught exceptions to the System Logger
* FLOW3: (Monitor) Introduced a new sub package "Monitor" which provides a mechanism for automatic detection of changes on monitored files. If monitored files or directories (the latter not yet implemented) change, a signal is emitted which can be catched by a slot taking further action. Currently all cache entries tagged with a class tag are flushed automatically if a class file changes.
* FLOW3: (Log) Introduced a special System Logger which is created automatically and can be injected if needed. Although it works quite well already, the general concept of injecting the logger and the LoggerInterface itself is not final! Watch for log files in the Data/Log/ directory when running TYPO3 / FLOW3 in development context.
* FLOW3: (Log) Introduced a Logger Factory for use in Objects configuration. Warning: the API might still change
* FLOW3: (Log) Made the SEVERITY constants conform to RFC3164 and PHP's LOG_* constants
* FLOW3: (Object) Refactored and detached more unit tests from the TestPackage. Addresses #2123
* FLOW3: (Object) Implemented an early configuration parse step which allows for configuring objects in the Objects.yaml file of the FLOW3 package even before the Package Manager is initialized.
* FLOW3: (Object) Introduced a lifecycle shutdown method (default is "shutdownObject") which can be used as a clean alternative to __destruct().
* FLOW3: (Reflection) Added new API methods: isClassReflected, getInterfaceNamesImplementedByClass, isMethodFinal, isMethodStatic, isMethodPublic, isMethodProtected, isMethodPrivate
* FLOW3: (Reflection) getMethods() now returns information about the method visibility
* FLOW3: (Security) Refactored the ACL Policy Service - might still need some final work
* FLOW3: (SignalSlot) Fixed some small issues in the Dispatcher and implemented support for System Logger
* FLOW3: (Utility) Fixed a bug in Arrays::getValueByPath
* Testing: Implemented a method buildAccessibleProxy() in the BaseTestCase which allows for conveniently calling protected methods of a class. See FLOW3 unit tests for examples.
* TestPackage: Removed many classes which became obsolete due to the AOP tests refactoring. refs #1868

80 lines of code changed in 2 files:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyExpressionParser.php (+3 -14), F3_FLOW3_Security_ACL_PolicyService.php (+77 -68)
k-fish 2009-01-07 11:37 Rev.: 1707

FLOW3:
* changed license to LGPL v3 or later

84 lines of code changed in 6 files:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyExpressionParser.php (+14 -7), F3_FLOW3_Security_ACL_PolicyService.php (+14 -7), F3_FLOW3_Security_ACL_Privilege.php (+14 -7), F3_FLOW3_Security_ACL_Role.php (+14 -7), F3_FLOW3_Security_ACL_UserDetails.php (+14 -7), F3_FLOW3_Security_ACL_UserDetailsService.php (+14 -7)
robert 2008-12-19 11:47 Rev.: 1659

* FLOW3: Changed the initialization order in the bootstrap: SignalSlot is now intialized before Cache so that Cache can emit signals. However Cache classes cannot be proxied because AOP is not available then - therefore the Signal Dispatcher must be called manually.
* FLOW3: (Cache) Implemented a few signals for the File Backend.
* FLOW3: (Security) Had to remove the destructor which accesses the ACL cache because the Cache Framework is not in a defined state during destruction. This code needs to be moved to elsewhere (no destructor)

2 lines of code changed in 1 file:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyService.php (+2 -1)
andi 2008-12-10 20:50 Rev.: 1604

FLOW3 (Security):
* Implemented the possibility to disable the security framework by configuration

2 lines of code changed in 1 file:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyService.php (+2)
k-fish 2008-12-10 15:39 Rev.: 1599

!!! 5.3.0alpha3 namespaces refactoring:
* changed namespace delimiter from :: to \
* all class references in namespaced code prepended by \

PHPUnit:
* adapted mock object handling to the new namespaces syntax

FLOW3:
* PropertyReflection now uses setAccessible() instead of array cast to access protected properties

PHPCR:
* added a missing interface already used for type hints

59 lines of code changed in 6 files:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyExpressionParser.php (+13 -13), F3_FLOW3_Security_ACL_PolicyService.php (+26 -26), F3_FLOW3_Security_ACL_Privilege.php (+1 -1), F3_FLOW3_Security_ACL_Role.php (+2 -2), F3_FLOW3_Security_ACL_UserDetails.php (+9 -9), F3_FLOW3_Security_ACL_UserDetailsService.php (+8 -8)
robert 2008-12-09 20:33 Rev.: 1590

* Fixed several global typehints (eg. DateTime > ::DateTime)
* Removed / fixed non existent classes used in some typehints
* FLOW3: (Object) Optimized the setter autowiring method: It now uses the Reflection Service instead of its own reflection
* FLOW3: (Reflection) Implemented a new API method "getMethodParameters"
* FLOW3: (MVC) Fixed a few Dispatcher tests which were not providing proper mock objects (and now exploded)
* PHPCR: Fixed type hinting in QueryObjectModelFactoryInterface::join()

3 lines of code changed in 1 file:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_UserDetails.php (+3 -3)
robert 2008-11-11 12:16 Rev.: 1481

* FLOW3: (Component) Renamed "component" to "object" - everywhere. That means we now have an Object Manager instead of a Component Manager, an Object Factory etc. Resolves #2119

Globally adjusted all code for the above change.

11 lines of code changed in 2 files:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyExpressionParser.php (+3 -3), F3_FLOW3_Security_ACL_PolicyService.php (+8 -8)
robert 2008-11-10 19:00 Rev.: 1468

* FLOW3: (AOP) Renamed the setting "aop: proxyCache" to "aop: cache"

2 lines of code changed in 1 file:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyService.php (+2 -2)
robert 2008-11-07 16:02 Rev.: 1448

COMMIT PART 1

* FLOW3: Implemented a YAML configuration source, resolves #1852
* Globally refactored code and converted configuration files to use the new YAML configuration format

Note: FLOW3 is now getting even slower because the whole YAML parsing results are not cached yet.
You can still use .php based configuration but it is recommended to switch over to YAML ASAP.

Documentation and speed improvements follow

19 lines of code changed in 1 file:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyService.php (+19 -13)
k-fish 2008-11-06 21:15 Rev.: 1444

FLOW3:
* refactored cache frontend and backend API: save() is now set(), load() is now get(), findByTag() is now loadByTag()

Related to http://bugs.typo3.org/view.php?id=9747

4 lines of code changed in 1 file:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyService.php (+4 -2)
robert 2008-11-03 19:23 Rev.: 1422

* FLOW3: (Component) Renamed the method Component::Factory->getComponent() to Component::Factory->create(). Resolves #1846
* FLOW3: (Component) Component::Factory->create() will now throw an exception on trying to create a component of scope != prototype
* FLOW3: (Component) The Component::Manager->getComponent() method can still be used as a last resort to retrieve components of any scope. However dependency injection for singletons and the component factory for prototype should always be the first choice!

Refactored all packages of the TYPO3 distribution to match the above changes.

Note: The test "F3::TYPO3CR::NodeTest::setPropertySetsValue" currently fails on my machine with the following message:

Error in setPropertySetsValue with data set #34 Detail
TYPO3CR/Classes/F3_TYPO3CR_Node.php:577
Unable to convert value of type string to Name: Namespace prefix is invalid

12 lines of code changed in 2 files:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyExpressionParser.php (+3 -3), F3_FLOW3_Security_ACL_PolicyService.php (+9 -18)
k-fish 2008-09-26 14:06 Rev.: 1289

FLOW3:
* removed performance eating cache saves in ACL policy service
* some cleanup in CLI testrunner
* fixed initialisation of mock environment in CLI reuqest builder testsuite

14 lines of code changed in 1 file:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyService.php (+14 -6)
andi 2008-09-26 00:01 Rev.: 1283

FLOW3 (Validation): Fixed the integer validator. Now it handles strings correctly
FLOW3 (Security): Implemented the missing decision and ACL classes. No we can authenticate a user and authorize methods over AOP!

115 lines of code changed in 3 files:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyService.php (+61 -7), F3_FLOW3_Security_ACL_Privilege.php (+40 -6), F3_FLOW3_Security_ACL_Role.php (+14 -48)
andi 2008-09-23 15:21 Rev.: 1277

* FLOW3 (AOP): removed the cunstructor from the joinpoint interface, to be able to mock it.
* FLOW3 (Security): Implemented the policy expression parser and policy service
* FLOW3 (Security): Some pending changes in the authorization subpackage, more to follow soon

218 lines of code changed in 2 files:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyExpressionParser.php (new 111), F3_FLOW3_Security_ACL_PolicyService.php (+107 -11)
k-fish 2008-09-19 19:27 Rev.: 1264

Set svn:keywords property to Id on all PHP files.

0 lines of code changed in 5 files:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyService.php (changed), F3_FLOW3_Security_ACL_Privilege.php (changed), F3_FLOW3_Security_ACL_Role.php (changed), F3_FLOW3_Security_ACL_UserDetails.php (changed), F3_FLOW3_Security_ACL_UserDetailsService.php (changed)
k-fish 2008-09-16 11:55 Rev.: 1225

FLOW3: Renamed some classes in the Reflection subpackage, fixes #1523.

3 lines of code changed in 1 file:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyService.php (+3 -3)
k-fish 2008-09-12 16:07 Rev.: 1210

!!! Major change, will break existing code.

Part 3 - Packages

FLOW3, most other packages:
* added namespaces to the code of FLOW3 and all packages in the current TYPO3v5 distribution.

PHPUnit:
* some changes to make PHPUnit (more) namespace-compatible.

Some notes:
* Documentation updates will follow
* you might need to change your class names when adapting namespaces to avoid using "Class", "Empty", "Default", ...
* expect FLOW3CGL and/or PHPCodeSniffer to be broken (I'll have a look)
* some parts might still be broken, especially in edge-cases where the global namespace needs to explicitly used

40 lines of code changed in 5 files:

  • Classes/Security/ACL: F3_FLOW3_Security_ACL_PolicyService.php (+14 -13), F3_FLOW3_Security_ACL_Privilege.php (+2 -1), F3_FLOW3_Security_ACL_Role.php (+9 -8), F3_FLOW3_Security_ACL_UserDetails.php (+9 -8), F3_FLOW3_Security_ACL_UserDetailsService.php (+6 -5)

(4 more)

Generated by StatSVN 0.5.0