You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2011/02/15 17:26:21 UTC

svn commit: r1070954 - /myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/webapp/Secret.java

Author: lofwyr
Date: Tue Feb 15 16:26:21 2011
New Revision: 1070954

URL: http://svn.apache.org/viewvc?rev=1070954&view=rev
Log:
Session objects should implement Serializable

Modified:
    myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/webapp/Secret.java

Modified: myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/webapp/Secret.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/webapp/Secret.java?rev=1070954&r1=1070953&r2=1070954&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/webapp/Secret.java (original)
+++ myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/webapp/Secret.java Tue Feb 15 16:26:21 2011
@@ -24,10 +24,13 @@ import org.apache.myfaces.tobago.renderk
 import javax.faces.context.FacesContext;
 import javax.servlet.http.HttpSession;
 import java.io.IOException;
+import java.io.Serializable;
 import java.security.SecureRandom;
 import java.util.Map;
 
-public class Secret {
+public class Secret implements Serializable {
+
+  private static final long serialVersionUID = 1L;
 
   private static final String KEY = Secret.class.getName();