Merge pull request #130 from nbaars/master
Cannot serialize session attribute, fix #123
This commit is contained in:
commit
91ea844c7f
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user