Added hardcoded id to all classes involved in ARP serialiazation. Intended to fix...
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 7 Nov 2002 19:42:22 +0000 (19:42 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 7 Nov 2002 19:42:22 +0000 (19:42 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@350 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

12 files changed:
src/edu/internet2/middleware/shibboleth/aa/AA_Acl.java
src/edu/internet2/middleware/shibboleth/aa/AA_AclEntry.java
src/edu/internet2/middleware/shibboleth/aa/AA_Identity.java
src/edu/internet2/middleware/shibboleth/aa/AA_Permission.java
src/edu/internet2/middleware/shibboleth/aa/Arp.java
src/edu/internet2/middleware/shibboleth/aa/ArpAttribute.java
src/edu/internet2/middleware/shibboleth/aa/ArpCore.java
src/edu/internet2/middleware/shibboleth/aa/ArpFilter.java
src/edu/internet2/middleware/shibboleth/aa/ArpFilterValue.java
src/edu/internet2/middleware/shibboleth/aa/ArpResource.java
src/edu/internet2/middleware/shibboleth/aa/ArpShar.java
src/edu/internet2/middleware/shibboleth/aa/TName.java

index b52298d..b411385 100755 (executable)
@@ -64,6 +64,7 @@ import java.security.acl.*;
 
 public class AA_Acl implements java.security.acl.Acl, Serializable{
 
+       static final long serialVersionUID = 1L;
     HashSet positives;
     HashSet negatives;
     HashSet owners;
index 4455920..87caf2b 100755 (executable)
@@ -64,6 +64,7 @@ import java.security.*;
 
 public class AA_AclEntry implements java.security.acl.AclEntry, Serializable{
 
+       static final long serialVersionUID = 1L;
     HashSet permissions;
     boolean isNegative;
     Principal principal;
index c885c4b..394d08f 100755 (executable)
@@ -63,6 +63,7 @@ import java.io.*;
 
 public class AA_Identity implements java.security.Principal, Serializable{
 
+       static final long serialVersionUID = 1L;
     String ident;
 
     public AA_Identity(String ident){
index 338ff4b..d75cb7a 100755 (executable)
@@ -62,6 +62,7 @@ import java.security.acl.*;
 import java.io.*;
 public class AA_Permission implements java.security.acl.Permission, Serializable{
 
+       static final long serialVersionUID = 1L;
     protected static int LOOKUP = 0;
     protected static int READ = 1;
     protected static int WRITE = 2;
index 25772e1..a9ef311 100755 (executable)
@@ -64,6 +64,8 @@ import java.security.Principal;
 import java.security.acl.*;
 
 public class Arp extends ArpCore implements Serializable{
+       
+       static final long serialVersionUID = 1L;
 
     // Attributes
     protected String name;
index 60198dc..8c376ed 100755 (executable)
@@ -64,6 +64,8 @@ import javax.naming.directory.*;
 
 public class ArpAttribute implements Serializable{
 
+       static final long serialVersionUID = 1L;
+       
     // Attributes
     protected String ID;
     protected boolean exclude;
index bd5286d..2552bfe 100755 (executable)
@@ -65,6 +65,8 @@ import java.io.Serializable;
 
 public class ArpCore implements Serializable{
 
+       static final long serialVersionUID = 1L;
+       
     // Attributes
     protected String userEnv = "user.name";
     protected Acl acl;
index 56a7b78..bb55246 100755 (executable)
@@ -62,7 +62,8 @@ import java.io.*;
 import java.util.*;
 public class ArpFilter implements Serializable{
 
-
+       static final long serialVersionUID = 1L;
+       
     // Associations
     protected Vector values;
     
index 3c17ae6..f4c6f1d 100755 (executable)
@@ -61,7 +61,8 @@ package edu.internet2.middleware.shibboleth.aa;
 import java.io.*;
 public class ArpFilterValue implements Serializable{
 
-
+       static final long serialVersionUID = 1L;
+       
     // Associations
     protected Object value;
     protected boolean include;
index b4b7e5f..43f4813 100755 (executable)
@@ -64,6 +64,8 @@ import java.security.acl.*;
 
 public class ArpResource extends ArpCore implements Serializable{
 
+       static final long serialVersionUID = 1L;
+       
     // Attributes
     protected String name;
     protected String comment;
index 6937191..68ecda3 100755 (executable)
@@ -63,6 +63,8 @@ import java.security.acl.*;
 
 public class ArpShar extends ArpCore implements Serializable{
 
+       static final long serialVersionUID = 1L;
+
     // Attributes
     protected String name;
     protected boolean isDefault;
index b6d7fad..48f8425 100755 (executable)
@@ -61,6 +61,8 @@ import java.io.*;
 import java.util.*;
 class TName implements Serializable{
 
+       static final long serialVersionUID = 1L;
+       
     // Attributes
     private String name;
     private String[] tokens;