Adding httpSession in logging for the saveContext method

This commit is contained in:
bcecchinato 2014-07-02 13:07:32 +02:00
parent 75df42cb7c
commit bb1762d4c3

View File

@ -324,7 +324,7 @@ public class HttpSessionSecurityContextRepository implements SecurityContextRepo
httpSession.setAttribute(springSecurityContextKey, context); httpSession.setAttribute(springSecurityContextKey, context);
if (logger.isDebugEnabled()) { if (logger.isDebugEnabled()) {
logger.debug("SecurityContext stored to HttpSession: '" + context + "'"); logger.debug("SecurityContext '" + context + "' stored to HttpSession: '" + httpSession);
} }
} }
} }