npacker / nFramework

A simple MVC framework in PHP.
1 stars 0 forks source link

Apply authentication for actions with Decorator pattern #15

Closed npacker closed 9 years ago

npacker commented 10 years ago

USe object wrappers (decorators) to authenticate certain actions. These decorators will in turn employ the Strategy pattern to determine the concrete authentication method.

To do: decide if an authentication class is needed in addition to the authentication strategy and if so what that would look like.

npacker commented 9 years ago

Feature implemented, just need to finalize method of establishing wrapper. Currently using json configuration files for each action, may change or move these to a unified paths.json file.