How to set cookie domain and path with Spring boot
<p>In Tomcat, we can do it like this:</p>

<pre><code>&lt;Context useHttpOnly="true" sessionCookiePath="/"sessionCookieDomain=".XXXX.com"/&gt;
</code></pre>

<p>I want to share the cookie for second level domain with Spring Boot, how to do it?</p>