feeeermendoza/we-work-with-mammograms — pull request #3 by feeeermendoza (2014-04-23 04:24:02+00:00)
Title: Authorization

--Views
Changed views now take in the whole model as a parameter
Added forbidden view
--Models
Implemented findById(Long id) method
Implemented getFullName() where applicable
--Controllers
Added Authorization Annotations
--Tests
Authorization Test Suite
--Security
Created Roles enum class
Implemented StandardDeadboltHandler methods
New class AuthorizableUser gets role from session on instantiation

Info on Deadbolt2 :
Guide: https://github.com/schaloner/deadbolt-2-guide
Examples:
https://github.com/schaloner/deadbolt-2-java-examples
https://deadbolt-2-java.herokuapp.com/