Sharing security context between few web applications

Hi everyone,

I need to have web application which actually consist from few separate wars unified into same navigration bar on UI, I need to have all system secured but have authentication only to main web application and after automatic propagation of this security context to sub web applications. I’m using spring security, could someone help me with advice?

Thanks