System.out.println(((User)SecurityContextHolder.getContext().getAuthentication().getPrincipal()).getName());
${session.SPRING_SECURITY_CONTEXT.authentication.principal.name}
System.out.println(((User)SecurityContextHolder.getContext().getAuthentication().getPrincipal()).getName());
${session.SPRING_SECURITY_CONTEXT.authentication.principal.name}