directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1643512 - in /directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory: server/kerberos/shared/replay/ReplayCacheImpl.java shared/kerberos/KerberosTime.java
Date Sat, 06 Dec 2014 09:48:41 GMT
Author: kayyagari
Date: Sat Dec  6 09:48:41 2014
New Revision: 1643512

URL: http://svn.apache.org/r1643512
Log:
allow replaycache entries to be serializable (DIRSERVER-2034)

Modified:
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/replay/ReplayCacheImpl.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/KerberosTime.java

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/replay/ReplayCacheImpl.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/replay/ReplayCacheImpl.java?rev=1643512&r1=1643511&r2=1643512&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/replay/ReplayCacheImpl.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/replay/ReplayCacheImpl.java
Sat Dec  6 09:48:41 2014
@@ -59,7 +59,7 @@ public class ReplayCacheImpl implements
     /**
      * A structure to hold an entry
      */
-    public class ReplayCacheEntry implements Serializable
+    public static class ReplayCacheEntry implements Serializable
     {
         private static final long serialVersionUID = 1L;
 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/KerberosTime.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/KerberosTime.java?rev=1643512&r1=1643511&r2=1643512&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/KerberosTime.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/KerberosTime.java
Sat Dec  6 09:48:41 2014
@@ -35,8 +35,13 @@ import org.apache.directory.api.util.Str
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class KerberosTime implements Comparable<KerberosTime>
+public class KerberosTime implements Comparable<KerberosTime>, java.io.Serializable
 {
+    /**
+     * 
+     */
+    private static final long serialVersionUID = -7541256140193748103L;
+
     /** The UTC timeZone */
     private static final TimeZone UTC = TimeZone.getTimeZone( "UTC" );
 



Mime
View raw message