May 18th, 2012, 12:25 PM
Login Cookie - Subdomain matching ".domain.tld"
I know, I need Cookie with domain name set to
Is there a possibility to do some Spring Security automagic to achieve this, or do I need to rewrite half of spring security framework?
Note I do use both JavaConfig and XML Config for my application, and I'm already on 3.1.1 core (3.1.0 security) with @Annotation configuration elements.
May 18th, 2012, 02:37 PM
Try having a look to the javaee Cookie api docs instead. Path is the property you need to modify.
May 20th, 2012, 05:40 AM
So does that mean, that using code, which after login process takes all Cookie object from request, changing the Path to .domain.tld and returning it to client is correct way?
It seems to me quite hard and undocumented way.
Tags for this Thread