title: How to reload Spring Security Principal after updating in Hibernate?
body: <p>This must be a common issue... and I feel that after googling, and SOing I must have just not looked around thoroughly for the answer enough or that no1 has asked it... so please forgive me.</p>
  
  <p>I am using Spring Security with Hibernate etc.</p>
  
  <p>So a User/principal has logged in and made some changes to their profile.</p>
  
  <p>I use my DAO to update the profile (UserDetails), and I want my Principal to automatically reflect this update.</p>
  
  <p>However when I get the Principal again, I get the dirty version (from my initial login).</p>
  
  <p>Does anyone know of how I can get Spring Security to reload from Hibernate the updated UserDetails?</p>