terasolunaorg/terasoluna-tourreservation — pull request #20 by btdaruwanib (2014-02-28 06:03:10+00:00)
Title: Changes to receive authentication obj as an argument of controller #14

Please review the implementation strategy. #14

Earlier, UserDetailsUtil.getUserDetails() was fetching Authentication object from SecurityContext.

It is now changed so that, Authentication is received as an argument of controller method.
It is then passed to UserDetailsUtil.getUserDetails() method.