added serializable fields
This commit is contained in:
Scott Battaglia 2008-01-29 14:32:12 +00:00
parent daac416c7f
commit a5ffbe8d95
2 changed files with 9 additions and 3 deletions

View File

@ -13,9 +13,12 @@ import java.util.Map;
* @version $Revision$ $Date$
* @since 3.1
*/
public class AttributePrincipalImpl implements AttributePrincipal{
public class AttributePrincipalImpl implements AttributePrincipal {
/** The unique identifier for this principal. */
/** Unique Id for Serialization */
private static final long serialVersionUID = -8810123156070148535L;
/** The unique identifier for this principal. */
private final String name;
/** Map of key/value pairs about this principal. */

View File

@ -18,7 +18,10 @@ import java.util.Map;
*/
public final class AssertionImpl implements Assertion {
/** The date from which the assertion is valid. */
/** Unique Id for serialization. */
private static final long serialVersionUID = -7767943925833639221L;
/** The date from which the assertion is valid. */
private final Date validFromDate;
/** The date the assertion is valid until. */