Merge pull request #130 from nbaars/master

Cannot serialize session attribute, fix #123
This commit is contained in:
Doug Morato 2015-10-26 09:59:20 -04:00
commit 91ea844c7f
2 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,10 @@
package org.owasp.webgoat.session;
import java.io.Serializable;
/**
*/
public class LabelDebugger {
public class LabelDebugger implements Serializable {
private boolean isEnabled = false;

View File

@ -47,7 +47,7 @@ public class LabelManagerImpl implements LabelManager, Serializable
@Autowired
private transient LabelProvider labelProvider;
@Autowired
private transient LabelDebugger labelDebugger;
private LabelDebugger labelDebugger;
/** Locale mapped with current session. */
private Locale locale = new Locale(LabelProvider.DEFAULT_LANGUAGE);