Announcement Announcement Module
Collapse
No announcement yet.
Login Cookie - Subdomain matching ".domain.tld" Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Login Cookie - Subdomain matching ".domain.tld"

    I know, I need Cookie with domain name set to

    Code:
    .domain.tld
    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.

  • #2
    Try having a look to the javaee Cookie api docs instead. Path is the property you need to modify.

    Comment


    • #3
      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.

      Comment

      Working...
      X