424682 Session cannot be deserialized with form authentication

This commit is contained in:
Jan Bartel 2013-12-27 15:29:46 +11:00
parent bca03f0e6d
commit 3b85ef6174
1 changed files with 5 additions and 2 deletions

View File

@ -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)