I have web application and two domains for it – example.com and example.ru
example.com – for international
example.ru – for local country
My web app using spring security for authorization users but if user login through example.com on example.ru he isn’t logged.
How can do that if user login through example.com or example.ru he will be logged on both domains?
PS: BTW my web application use authorization through OpenID and OAuth
As mentioned you need a single sign on solution, Cloudseal provides a spring security extension which includes a spring namespace so you just need to do something like:
See http://www.cloudseal.com/platform/spring-security-single-sign-on