inverting framework dependencies: annotation based authorization

I am applying the Dependency Inversion Principle on authorization code to make it more testable.

The code on my GitHub

Comments