Should services include logged in user as a parameter?
- by Asaf Mesika
Hi,
When using the Service design pattern, do you usually place the logged in user, or user scope, as a parameter to the methods of the service interface, or do you call AutheticationService.getLoggedInUser() in the service implementation.
What advantages/disadvantages do you find for each option?