Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
2
Newest
 Supporter
Impact
0 people reached

  • 0 posts edited
  • 0 helpful flags
  • 1 vote cast
Nov
8
awarded  Supporter
Nov
24
comment Should security restrictions cause a service to return null or throw an exception?
Good point, but you could employ a paradigm like AOP to capture these cases. The Aspect could test for the privilege to call a given operation and redirect/allow processing to continue as appropriate.
Nov
24
awarded  Teacher
Nov
24
answered Discovering elegant ways of coding
Nov
24
answered Should security restrictions cause a service to return null or throw an exception?