Per documentation:
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 29 Apr 2010 22:00:17 +0000 (22:00 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 29 Apr 2010 22:00:17 +0000 (22:00 +0000)
http://java.sun.com/javase/6/docs/api/javax/security/auth/Subject.html
Therefore all concrete Principal implementations associated with Subjects must implement Serializable.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939491 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/connector/CoyotePrincipal.java

index c49d7d5..fd42092 100644 (file)
@@ -18,6 +18,7 @@
 
 package org.apache.catalina.connector;
 
+import java.io.Serializable;
 import java.security.Principal;
 
 /**
@@ -29,7 +30,7 @@ import java.security.Principal;
  */
 
 public class CoyotePrincipal 
-    implements Principal {
+    implements Principal, Serializable {
 
 
     // ----------------------------------------------------------- Constructors