SecurityContextHolder gives wrong User details
问题 In my Application, We are capturing User details of each transaction from SecurityContextHolder Authentication object. But it gives wrong UserID it seems. Below are the code snippet for your reference. SecurityContext.xml spring-security-3.2 -- <security:http auto-config="true"> <!-- Restrict URLs based on role --> <security:headers> <security:cache-control/> <security:content-type-options/> <security:frame-options policy="DENY"/> <security:xss-protection/> </security:headers> <security