Permalink
Browse files

add debug log when setting cookie

  • Loading branch information...
xhanin committed Feb 3, 2015
1 parent 620b2ec commit e0764091a740f62f741537ea5d399d7050f626be
Showing with 1 addition and 0 deletions.
  1. +1 −0 restx-core/src/main/java/restx/security/RestxSessionCookieFilter.java
@@ -155,6 +155,7 @@ private void updateSessionInClient(RestxResponse resp, RestxSession session) {
resp.clearCookie(restxSessionCookieDescriptor.getCookieSignatureName());
} else {
for (Map.Entry<String, String> cookie : cookiesMap.entrySet()) {
logger.debug("setting cookie: {} {}", cookie.getKey(), cookie.getValue());
resp.addCookie(cookie.getKey(), cookie.getValue(), session.getExpires());
}
}

0 comments on commit e076409

Please sign in to comment.