Announcement Announcement Module
Collapse

JavaConfig forum decommissioned in favor of Core Container

As described at

http://static.springsource.org/sprin...fig/README.TXT

key features of the Spring JavaConfig project have been migrated into the core Spring Framework as of version 3.0.

Please see the Spring 3.0 documentation on @Configuration and @Bean support:

http://static.springsource.org/sprin...tml#beans-java

For any questions related to @Configuration classes and @Bean methods in Spring 3.0, please post in the dedicated 'Core Container' forum at

http://forum.springsource.org/forumdisplay.php?f=26
See more
See less
Missing cookie in a RESTful API implementation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Missing cookie in a RESTful API implementation

    Hello -
    I am missing cookie in my responses of RESTful API requests. Not sure if my client is incorrect or if I am missing a spring configuration. Here is how I test:

    - From client I access the login URL.
    - On successful authentication I get a response back.
    - From the response I get the 'Set-Cookie'
    - I set the 'Set-Cookie' name value (JSESSION ID) and send it as a cookie in my next request.
    - For next request that gets processed successfully, I don't see any cookies.

    Note: Entire thing is on https.

    I am using ResponseEntity in my client to browse thro' the headers.

  • #2
    spring RestClient not identifying cookie?

    After analysis I figured out that the cookie was present but Spring's RestClient is not identifying. I used a RestLet client and found that it identifies the cookies.


    ANY BODY HAS ANY THOUGHTS on this?
    Last edited by kg_gatolgaj; Aug 25th, 2010, 06:45 PM.

    Comment

    Working...
    X