Skip to content

Commit

Permalink
make XACML policy sets serializable
Browse files Browse the repository at this point in the history
  • Loading branch information
unixoid committed Apr 21, 2024
1 parent 6b7eb92 commit 4186a68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import java.io.Serializable;


/**
Expand Down Expand Up @@ -49,7 +50,8 @@
@XmlType(name = "CV", propOrder = {
"originalText"
})
public class CV {
public class CV implements Serializable {
private static final long serialVersionUID = 4293231794649378796L;

protected String originalText;
@XmlAttribute(name = "code", required = true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import java.io.Serializable;


/**
Expand All @@ -41,7 +42,8 @@
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "II")
public class II {
public class II implements Serializable {
private static final long serialVersionUID = -976919222195628069L;

@XmlAttribute(name = "root", required = true)
protected String root;
Expand Down

0 comments on commit 4186a68

Please sign in to comment.