Why the followng code snippet
private void sampleMethod(){ Authentication authentication = SecurityContextHolder.getContext().getAuthentication(); SecurityCon