Author: jonananas
Date: 2011-05-13 05:59:13 -0400 (Fri, 13 May 2011)
New Revision: 939
Modified:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/ActionType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/AdviceType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/AttributeType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/AuthnContextDeclRefType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/AuthnContextDeclType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/ConditionAbstractType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/EvidenceType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/SubjectLocalityType.java
Log:
Made classes serializable
Modified:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/ActionType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/ActionType.java 2011-05-12
14:13:40 UTC (rev 938)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/ActionType.java 2011-05-13
09:59:13 UTC (rev 939)
@@ -21,7 +21,9 @@
*/
package org.picketlink.identity.federation.newmodel.saml.v2.assertion;
+import java.io.Serializable;
+
/**
* <p>Java class for ActionType complex type.
*
@@ -39,8 +41,10 @@
*
*
*/
-public class ActionType {
+public class ActionType implements Serializable {
+ private static final long serialVersionUID = 1L;
+
protected String value;
protected String namespace;
Modified:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/AdviceType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/AdviceType.java 2011-05-12
14:13:40 UTC (rev 938)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/AdviceType.java 2011-05-13
09:59:13 UTC (rev 939)
@@ -22,6 +22,7 @@
package org.picketlink.identity.federation.newmodel.saml.v2.assertion;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
@@ -50,8 +51,9 @@
*
*
*/
-public class AdviceType
+public class AdviceType implements Serializable
{
+ private static final long serialVersionUID = 1L;
protected List<Object> advices = new ArrayList<Object>();
/**
Modified:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/AttributeType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/AttributeType.java 2011-05-12
14:13:40 UTC (rev 938)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/AttributeType.java 2011-05-13
09:59:13 UTC (rev 939)
@@ -21,6 +21,7 @@
*/
package org.picketlink.identity.federation.newmodel.saml.v2.assertion;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
@@ -50,8 +51,10 @@
* </pre>
*
*/
-public class AttributeType
+public class AttributeType implements Serializable
{
+ private static final long serialVersionUID = 1L;
+
protected List<Object> attributeValue = new ArrayList<Object>();
protected String name;
protected String nameFormat;
Modified:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/AuthnContextDeclRefType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/AuthnContextDeclRefType.java 2011-05-12
14:13:40 UTC (rev 938)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/AuthnContextDeclRefType.java 2011-05-13
09:59:13 UTC (rev 939)
@@ -21,6 +21,7 @@
*/
package org.picketlink.identity.federation.newmodel.saml.v2.assertion;
+import java.io.Serializable;
import java.net.URI;
/**
@@ -28,8 +29,9 @@
* @author Anil.Saldhana(a)redhat.com
* @since Nov 24, 2010
*/
-public class AuthnContextDeclRefType implements URIType
+public class AuthnContextDeclRefType implements URIType, Serializable
{
+ private static final long serialVersionUID = 1L;
private URI value;
public AuthnContextDeclRefType(URI value)
Modified:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/AuthnContextDeclType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/AuthnContextDeclType.java 2011-05-12
14:13:40 UTC (rev 938)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/AuthnContextDeclType.java 2011-05-13
09:59:13 UTC (rev 939)
@@ -21,6 +21,7 @@
*/
package org.picketlink.identity.federation.newmodel.saml.v2.assertion;
+import java.io.Serializable;
import java.net.URI;
/**
@@ -28,8 +29,10 @@
* @author Anil.Saldhana(a)redhat.com
* @since Nov 24, 2010
*/
-public class AuthnContextDeclType implements URIType
+public class AuthnContextDeclType implements URIType, Serializable
{
+ private static final long serialVersionUID = 1L;
+
private URI value;
public AuthnContextDeclType( URI value )
Modified:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/ConditionAbstractType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/ConditionAbstractType.java 2011-05-12
14:13:40 UTC (rev 938)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/ConditionAbstractType.java 2011-05-13
09:59:13 UTC (rev 939)
@@ -21,7 +21,9 @@
*/
package org.picketlink.identity.federation.newmodel.saml.v2.assertion;
+import java.io.Serializable;
+
/**
* <p>Java class for ConditionAbstractType complex type.
*
@@ -38,6 +40,7 @@
*
*
*/
-public abstract class ConditionAbstractType
+public abstract class ConditionAbstractType implements Serializable
{
+ private static final long serialVersionUID = 1L;
}
\ No newline at end of file
Modified:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/EvidenceType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/EvidenceType.java 2011-05-12
14:13:40 UTC (rev 938)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/EvidenceType.java 2011-05-13
09:59:13 UTC (rev 939)
@@ -22,6 +22,7 @@
package org.picketlink.identity.federation.newmodel.saml.v2.assertion;
+import java.io.Serializable;
import java.net.URI;
import java.util.ArrayList;
import java.util.Collections;
@@ -50,8 +51,9 @@
*
*
*/
-public class EvidenceType
+public class EvidenceType implements Serializable
{
+ private static final long serialVersionUID = 1L;
protected List<ChoiceType> evidences = new ArrayList<ChoiceType>();
/**
@@ -81,8 +83,9 @@
return Collections.unmodifiableList( evidences );
}
- public static class ChoiceType
+ public static class ChoiceType implements Serializable
{
+ private static final long serialVersionUID = 1L;
private String AssertionIDRef;
private URI AssertionURIRef;
private AssertionType assertion;
Modified:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/SubjectLocalityType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/SubjectLocalityType.java 2011-05-12
14:13:40 UTC (rev 938)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/assertion/SubjectLocalityType.java 2011-05-13
09:59:13 UTC (rev 939)
@@ -21,6 +21,7 @@
*/
package org.picketlink.identity.federation.newmodel.saml.v2.assertion;
+import java.io.Serializable;
/**
* <p>Java class for SubjectLocalityType complex type.
@@ -39,57 +40,64 @@
* </pre>
*
*
- */
-public class SubjectLocalityType
-{
- protected String address;
- protected String dnsName;
+ */
+public class SubjectLocalityType implements Serializable
+{
+ private static final long serialVersionUID = 1L;
- /**
- * Gets the value of the address property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getAddress() {
- return address;
- }
+ protected String address;
- /**
- * Sets the value of the address property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setAddress(String value) {
- this.address = value;
- }
+ protected String dnsName;
- /**
- * Gets the value of the dnsName property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getDNSName() {
- return dnsName;
- }
+ /**
+ * Gets the value of the address property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAddress()
+ {
+ return address;
+ }
- /**
- * Sets the value of the dnsName property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setDNSName(String value) {
- this.dnsName = value;
- }
+ /**
+ * Sets the value of the address property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAddress(String value)
+ {
+ this.address = value;
+ }
+
+ /**
+ * Gets the value of the dnsName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDNSName()
+ {
+ return dnsName;
+ }
+
+ /**
+ * Sets the value of the dnsName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDNSName(String value)
+ {
+ this.dnsName = value;
+ }
}
\ No newline at end of file
Show replies by date