Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2013-12-26 23:29:46 -0500
committerJan Bartel2013-12-26 23:29:46 -0500
commit3b85ef6174806bab56675a5afce44b6f9a1c5133 (patch)
tree87844888648c686439b1a06e5c4f8dc87c263674 /jetty-security/src/main/java/org/eclipse
parentbca03f0e6d0bdf33b64cc6ef82b22bd28072d730 (diff)
downloadorg.eclipse.jetty.project-3b85ef6174806bab56675a5afce44b6f9a1c5133.tar.gz
org.eclipse.jetty.project-3b85ef6174806bab56675a5afce44b6f9a1c5133.tar.xz
org.eclipse.jetty.project-3b85ef6174806bab56675a5afce44b6f9a1c5133.zip
424682 Session cannot be deserialized with form authentication
Diffstat (limited to 'jetty-security/src/main/java/org/eclipse')
-rw-r--r--jetty-security/src/main/java/org/eclipse/jetty/security/AbstractUserAuthentication.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/jetty-security/src/main/java/org/eclipse/jetty/security/AbstractUserAuthentication.java b/jetty-security/src/main/java/org/eclipse/jetty/security/AbstractUserAuthentication.java
index ab20ba85ab..d94d57b3e8 100644
--- a/jetty-security/src/main/java/org/eclipse/jetty/security/AbstractUserAuthentication.java
+++ b/jetty-security/src/main/java/org/eclipse/jetty/security/AbstractUserAuthentication.java
@@ -18,6 +18,7 @@
package org.eclipse.jetty.security;
+import java.io.Serializable;
import java.util.Set;
import org.eclipse.jetty.server.Authentication.User;
@@ -30,10 +31,12 @@ import org.eclipse.jetty.server.UserIdentity.Scope;
*
* Base class for representing an authenticated user.
*/
-public abstract class AbstractUserAuthentication implements User
+public abstract class AbstractUserAuthentication implements User, Serializable
{
+ private static final long serialVersionUID = -6290411814232723403L;
protected String _method;
- protected UserIdentity _userIdentity;
+ protected transient UserIdentity _userIdentity;
+
public AbstractUserAuthentication(String method, UserIdentity userIdentity)

Back to the top