Bug 328273 added serializable to default user identity

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2371 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Jesse McConnell 2010-10-20 17:50:09 +00:00
parent 1115d7d442
commit 80e8e2f282
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,7 @@
+ 328199 Ensure blocking connectors always close socket
+ 328205 Improved SelectManager stopping
+ 328273 Added serializable to default user identity
jetty-7.2.0.v20101020 20 October 2010
+ 289540 added javadoc into distribution

View File

@ -13,6 +13,7 @@
package org.eclipse.jetty.security;
import java.io.Serializable;
import java.security.Principal;
import javax.security.auth.Subject;
@ -25,9 +26,11 @@ import org.eclipse.jetty.server.UserIdentity;
* The default implementation of UserIdentity.
*
*/
public class DefaultUserIdentity implements UserIdentity
public class DefaultUserIdentity implements UserIdentity, Serializable
{
private final Subject _subject;
private static final long serialVersionUID = 2418992006515454163L;
private final Subject _subject;
private final Principal _userPrincipal;
private final String[] _roles;