[jboss-cvs] Picketlink SVN: r1013 - in federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2: profiles/sso/ecp and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jun 21 16:31:56 EDT 2011


Author: anil.saldhana at jboss.com
Date: 2011-06-21 16:31:55 -0400 (Tue, 21 Jun 2011)
New Revision: 1013

Added:
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/ActionType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AdviceType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AssertionType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AttributeStatementType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AttributeType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AudienceRestrictionType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnContextClassRefType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnContextDeclRefType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnContextDeclType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnContextType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnStatementType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthzDecisionStatementType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/BaseIDAbstractType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/ConditionAbstractType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/ConditionsType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/DecisionType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/EncryptedAssertionType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/EncryptedElementType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/EvidenceType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/KeyInfoConfirmationDataType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/NameIDType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/OneTimeUseType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/ProxyRestrictionType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/StatementAbstractType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectConfirmationDataType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectConfirmationType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectLocalityType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/URIType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/package-info.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/profiles/xacml/assertion/XACMLAuthzDecisionStatementType.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/profiles/xacml/assertion/XACMLPolicyStatementType.java
Modified:
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/profiles/sso/ecp/RequestType.java
Log:
move the classes from newmodel to saml pkg

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/ActionType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/ActionType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/ActionType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,98 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+
+
+/**
+ * <p>Java class for ActionType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="ActionType">
+ *   &lt;simpleContent>
+ *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
+ *       &lt;attribute name="Namespace" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *     &lt;/extension>
+ *   &lt;/simpleContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */ 
+public class ActionType implements Serializable {
+
+   private static final long serialVersionUID = 1L;
+
+   protected String value; 
+   protected String namespace;
+
+   /**
+    * Gets the value of the value property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link String }
+    *     
+    */
+   public String getValue() {
+      return value;
+   }
+
+   /**
+    * Sets the value of the value property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link String }
+    *     
+    */
+   public void setValue(String value) {
+      this.value = value;
+   }
+
+   /**
+    * Gets the value of the namespace property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link String }
+    *     
+    */
+   public String getNamespace() {
+      return namespace;
+   }
+
+   /**
+    * Sets the value of the namespace property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link String }
+    *     
+    */
+   public void setNamespace(String value) {
+      this.namespace = value;
+   }
+}
\ No newline at end of file

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AdviceType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AdviceType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AdviceType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,76 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+
+/**
+ * <p>Java class for AdviceType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="AdviceType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AssertionIDRef"/>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AssertionURIRef"/>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Assertion"/>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedAssertion"/>
+ *         &lt;any/>
+ *       &lt;/choice>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */ 
+public class AdviceType implements Serializable
+{  
+   private static final long serialVersionUID = 1L;
+   protected List<Object> advices = new ArrayList<Object>();
+
+   /**
+    * Add an advice
+    * @param obj
+    */
+   public void addAdvice( Object obj )
+   {
+      advices.add( obj );
+   }
+
+   /**
+    * Gets the advices. (Read only list)
+    * @return {@link List} read only 
+    */
+   public List<Object> getAdvices() 
+   { 
+      return Collections.unmodifiableList( advices );
+   } 
+}
\ No newline at end of file

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AssertionType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AssertionType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AssertionType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,286 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.LinkedHashSet;
+import java.util.Set;
+
+import javax.xml.datatype.XMLGregorianCalendar;
+ 
+import org.w3c.dom.Element;
+
+/**
+ <complexType name="AssertionType">
+        <sequence>
+            <element ref="saml:Issuer"/>
+            <element ref="ds:Signature" minOccurs="0"/>
+            <element ref="saml:Subject" minOccurs="0"/>
+            <element ref="saml:Conditions" minOccurs="0"/>
+            <element ref="saml:Advice" minOccurs="0"/>
+            <choice minOccurs="0" maxOccurs="unbounded">
+                <element ref="saml:Statement"/>
+                <element ref="saml:AuthnStatement"/>
+                <element ref="saml:AuthzDecisionStatement"/>
+                <element ref="saml:AttributeStatement"/>
+            </choice>
+        </sequence>
+        <attribute name="Version" type="string" use="required"/>
+        <attribute name="ID" type="ID" use="required"/>
+        <attribute name="IssueInstant" type="dateTime" use="required"/>
+    </complexType>
+ * @author Anil.Saldhana at redhat.com
+ * @since Nov 24, 2010
+ */
+public class AssertionType implements Serializable
+{ 
+   private static final long serialVersionUID = 1L;
+
+   private String ID;
+
+   private Element signature;
+
+   private XMLGregorianCalendar issueInstant;
+
+   private String version;
+
+   private AdviceType advice;
+
+   private NameIDType issuer;
+   
+   private SubjectType subject;
+
+   private ConditionsType conditions;
+
+   private Set<StatementAbstractType> statements = new LinkedHashSet<StatementAbstractType>();
+
+   /**
+    * Create an assertion
+    * @param iD ID of the assertion (Required)
+    * @param issueInstant {@link XMLGregorianCalendar} issue instant (required)
+    * @param version
+    */
+   public AssertionType(String iD, XMLGregorianCalendar issueInstant, String version)
+   { 
+      if( iD == null )
+         throw new IllegalArgumentException( "iD is null" );
+      if( issueInstant == null )
+         throw new IllegalArgumentException( "issueInstant is null" );
+      if( version == null )
+         throw new IllegalArgumentException( "version is null" );
+      
+      this.ID = iD;
+      this.issueInstant = issueInstant;
+      this.version = version;
+   }
+
+   /**
+    * Get the assertion id
+    * @return {@link String}
+    */
+   public String getID()
+   {
+      return ID;
+   }
+
+   /**
+    * Get the subject
+    * @return {@link SubjectType}
+    */
+   public SubjectType getSubject()
+   {
+      checkSTSPermission();
+      return subject;
+   }
+
+   /**
+    * Set the subject
+    * @param subject
+    */
+   public void setSubject(SubjectType subject)
+   {
+      checkSTSPermission();
+      this.subject = subject;
+   }
+
+   /**
+    * Get the Issue Instant
+    * @return {@link XMLGregorianCalendar}
+    */
+   public XMLGregorianCalendar getIssueInstant()
+   {
+      return issueInstant;
+   }
+
+   /**
+    * Get the version of SAML
+    * @return {@link String}
+    */
+   public String getVersion()
+   {
+      return version;
+   }   
+
+   /**
+    * Get the advice
+    * @return {@link AdviceType}
+    */
+   public AdviceType getAdvice()
+   {
+      return advice;
+   }
+
+   /**
+    * Set the advice
+    * @param advice {@link advice}
+    */
+   public void setAdvice(AdviceType advice)
+   {
+      checkSTSPermission();
+      
+      this.advice = advice;
+   }
+
+   /**
+    * Get the conditions
+    * @return {@link ConditionsType}
+    */
+   public ConditionsType getConditions()
+   {
+      checkSTSPermission();
+      
+      return conditions;
+   }
+
+   /**
+    * Set the conditions 
+    * @param conditions {@link ConditionsType}
+    */
+   public void setConditions(ConditionsType conditions)
+   {
+      checkSTSPermission();
+      
+      this.conditions = conditions;
+   }
+
+   /**
+    * Get the issuer
+    * @return {@link NameIDType}
+    */
+   public NameIDType getIssuer()
+   {
+      return issuer;
+   }
+
+   /**
+    * Set the issuer
+    * @param issuer {@link NameIDType}
+    */
+   public void setIssuer(NameIDType issuer)
+   {
+      checkSTSPermission();
+      
+      this.issuer = issuer;
+   } 
+
+   /**
+    * Add a statement
+    * @param statement {@link StatementAbstractType}
+    */
+   public void addStatement( StatementAbstractType statement )
+   {
+      checkSTSPermission();
+      
+      this.statements.add( statement );
+   }
+   /**
+    * Add a collection of statements
+    * @param statement {@link Collection}
+    */
+   public void addStatements( Collection<StatementAbstractType> statement )
+   {
+      checkSTSPermission();
+      
+      this.statements.addAll( statement );
+   }
+
+   /**
+    * Add a set of statements
+    * @param statement {@link Collection}
+    */
+   public void addStatements( Set<StatementAbstractType> statement )
+   {
+      checkSTSPermission();
+      
+      this.statements.addAll( statement );
+   }
+   
+   /**
+    * Get a read only set of statements
+    * @return {@link Set}
+    */
+   public Set<StatementAbstractType> getStatements()
+   {
+      checkSTSPermission();
+      
+      return Collections.unmodifiableSet( statements );
+   }
+
+   /**
+    * Get the signature as a DOM element
+    * @return {@link Element}
+    */
+   public Element getSignature()
+   {
+      return signature;
+   }
+
+   /**
+    * Set the signature DOM element
+    * @param signature
+    */
+   public void setSignature(Element signature)
+   {
+      this.signature = signature;
+   } 
+   
+   /**
+    * Update the issue instant
+    * @param xg
+    */
+   public void updateIssueInstant( XMLGregorianCalendar xg )
+   {
+      checkSTSPermission();
+      
+      this.issueInstant = xg; 
+   }
+   
+
+   protected void checkSTSPermission()
+   {
+      SecurityManager sm = System.getSecurityManager();
+      if( sm != null )
+         sm.checkPermission( new RuntimePermission( "org.picketlink.sts") );
+   }
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AssertionType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AttributeStatementType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AttributeStatementType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AttributeStatementType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+
+
+/**
+ * <p>Java class for AttributeStatementType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="AttributeStatementType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{urn:oasis:names:tc:SAML:2.0:assertion}StatementAbstractType">
+ *       &lt;choice maxOccurs="unbounded">
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Attribute"/>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedAttribute"/>
+ *       &lt;/choice>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */ 
+public class AttributeStatementType
+extends StatementAbstractType
+{ 
+   private static final long serialVersionUID = 1L;
+   protected List<ASTChoiceType> attributes = new ArrayList<ASTChoiceType>();
+
+   /**
+    * Add an attribute
+    * @param attribute
+    */
+   public void addAttribute( ASTChoiceType attribute )
+   {
+      attributes.add( attribute );
+   }
+   
+   /**
+    * Remove an attribute
+    * @param attribute
+    */
+   public void removeAttribute( ASTChoiceType attribute )
+   {
+      attributes.remove( attribute );
+   }
+
+   /**
+    * Gets the attributes.
+    * @return a read only {@link List} 
+    */
+   public List<ASTChoiceType> getAttributes() 
+   {
+      return Collections.unmodifiableList( this.attributes );
+   }
+
+   public static class ASTChoiceType implements Serializable
+   {
+      private static final long serialVersionUID = 1L;
+      private AttributeType attribute;
+      private EncryptedElementType encryptedAssertion;
+
+      public ASTChoiceType(AttributeType attribute)
+      {
+         super();
+         this.attribute = attribute;
+      }
+      public ASTChoiceType(EncryptedElementType encryptedAssertion)
+      {
+         super();
+         this.encryptedAssertion = encryptedAssertion;
+      }
+      public AttributeType getAttribute()
+      {
+         return attribute;
+      }
+      public EncryptedElementType getEncryptedAssertion()
+      {
+         return encryptedAssertion;
+      } 
+   }
+}
\ No newline at end of file

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AttributeType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AttributeType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AttributeType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,204 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import javax.xml.namespace.QName; 
+
+/**
+ * <p>Java class for AttributeType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="AttributeType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AttributeValue" maxOccurs="unbounded" minOccurs="0"/>
+ *       &lt;/sequence>
+ *       &lt;attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="NameFormat" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *       &lt;attribute name="FriendlyName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ */ 
+public class AttributeType implements Serializable
+{
+   private static final long serialVersionUID = 1L;
+   
+   protected List<Object> attributeValue = new ArrayList<Object>(); 
+   protected String name;  
+   protected String nameFormat; 
+   protected String friendlyName; 
+   private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+   
+   public AttributeType( String name )
+   {
+      this.name = name;
+   }
+
+   /**
+    * Add an attribute value to the attribute
+    * @param value {@link Object}
+    */
+   public void addAttributeValue( Object value )
+   {
+      attributeValue.add(value);
+   }
+   
+   /**
+    * Remove an attribute value to the attribute
+    * @param value {@link Object}
+    */
+   public void removeAttributeValue( Object value )
+   {
+      attributeValue.remove(value);
+   }
+
+   /**
+    * Gets the value of the attributeValue property.
+    *  
+    * <p>
+    * For example, to add a new item, do as follows:
+    * <pre>
+    *    getAttributeValue().add(newItem);
+    * </pre>
+    * 
+    * 
+    * <p>
+    * Objects of the following type(s) are allowed in the list
+    * {@link Object }
+    * 
+    * 
+    */
+   public List<Object> getAttributeValue() 
+   { 
+      return Collections.unmodifiableList( this.attributeValue );
+   }
+
+   /**
+    * Gets the value of the name property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link String }
+    *     
+    */
+   public String getName() 
+   {
+      return name;
+   }
+
+   /**
+    * Sets the value of the name property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link String }
+    *     
+    */
+   public void setName(String value) 
+   {
+      this.name = value;
+   }
+
+   /**
+    * Gets the value of the nameFormat property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link String }
+    *     
+    */
+   public String getNameFormat() 
+   {
+      return nameFormat;
+   }
+
+   /**
+    * Sets the value of the nameFormat property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link String }
+    *     
+    */
+   public void setNameFormat(String value) 
+   {
+      this.nameFormat = value;
+   }
+
+   /**
+    * Gets the value of the friendlyName property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link String }
+    *     
+    */
+   public String getFriendlyName() 
+   {
+      return friendlyName;
+   }
+
+   /**
+    * Sets the value of the friendlyName property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link String }
+    *     
+    */
+   public void setFriendlyName(String value) 
+   {
+      this.friendlyName = value;
+   }
+
+   /**
+    * Gets a map that contains attributes that aren't bound to any typed property on this class.
+    * 
+    * <p>
+    * the map is keyed by the name of the attribute and 
+    * the value is the string value of the attribute.
+    * 
+    * the map returned by this method is live, and you can add new attribute
+    * by updating the map directly. Because of this design, there's no setter.
+    * 
+    * 
+    * @return
+    *     always non-null
+    */
+   public Map<QName, String> getOtherAttributes() 
+   {
+      return otherAttributes;
+   }
+}
\ No newline at end of file

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AudienceRestrictionType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AudienceRestrictionType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AudienceRestrictionType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,80 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+import java.net.URI;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+/**
+ * <p>Java class for AudienceRestrictionType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="AudienceRestrictionType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{urn:oasis:names:tc:SAML:2.0:assertion}ConditionAbstractType">
+ *       &lt;sequence>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Audience" maxOccurs="unbounded"/>
+ *       &lt;/sequence>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+public class AudienceRestrictionType extends ConditionAbstractType implements Serializable
+{
+   private static final long serialVersionUID = 1L;
+
+   protected List<URI> audience = new ArrayList<URI>();
+
+   /**
+    * Add an audience
+    * @param audienceval
+    */
+   public void addAudience(URI audienceval)
+   {
+      audience.add(audienceval);
+   }
+
+   /**
+    * Remove an audience
+    * @param audienceval
+    */
+   public void removeAudience(URI audienceval)
+   {
+      audience.remove(audienceval);
+   }
+
+   /**
+    * Gets the value of the audience property.  
+    */
+   public List<URI> getAudience()
+   {
+      return Collections.unmodifiableList(this.audience);
+   }
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AudienceRestrictionType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnContextClassRefType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnContextClassRefType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnContextClassRefType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,82 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+import java.net.URI;
+
+/**
+ * Type that represents an AuthnContextClassRef
+ * @author Anil.Saldhana at redhat.com
+ * @since Nov 24, 2010
+ */
+public class AuthnContextClassRefType implements URIType, Serializable
+{
+   private static final long serialVersionUID = 1L;
+
+   private final URI value;
+
+   public AuthnContextClassRefType(URI value)
+   {
+      this.value = value;
+   }
+
+   public URI getValue()
+   {
+      return value;
+   }
+
+   @Override
+   public String toString()
+   {
+      return "AuthnContextClassRefType [value=" + value + "]";
+   }
+
+   @Override
+   public int hashCode()
+   {
+      final int prime = 31;
+      int result = 1;
+      result = prime * result + ((value == null) ? 0 : value.hashCode());
+      return result;
+   }
+
+   @Override
+   public boolean equals(Object obj)
+   {
+      if (this == obj)
+         return true;
+      if (obj == null)
+         return false;
+      if (getClass() != obj.getClass())
+         return false;
+      AuthnContextClassRefType other = (AuthnContextClassRefType) obj;
+      if (value == null)
+      {
+         if (other.value != null)
+            return false;
+      }
+      else if (!value.equals(other.value))
+         return false;
+      return true;
+   }
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnContextClassRefType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnContextDeclRefType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnContextDeclRefType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnContextDeclRefType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+import java.net.URI;
+
+/**
+ * Type that represents an AuthnContextDeclRef
+ * @author Anil.Saldhana at redhat.com
+ * @since Nov 24, 2010
+ */
+public class AuthnContextDeclRefType implements URIType, Serializable
+{
+   private static final long serialVersionUID = 1L;
+   private URI value;
+
+   public AuthnContextDeclRefType(URI value)
+   { 
+      this.value = value;
+   }
+
+   public URI getValue()
+   {
+      return value;
+   }
+
+   @Override
+   public int hashCode()
+   {
+      final int prime = 31;
+      int result = 1;
+      result = prime * result + ((value == null) ? 0 : value.hashCode());
+      return result;
+   }
+
+   @Override
+   public boolean equals(Object obj)
+   {
+      if (this == obj)
+         return true;
+      if (obj == null)
+         return false;
+      if (getClass() != obj.getClass())
+         return false;
+      AuthnContextDeclRefType other = (AuthnContextDeclRefType) obj;
+      if (value == null)
+      {
+         if (other.value != null)
+            return false;
+      }
+      else if (!value.equals(other.value))
+         return false;
+      return true;
+   }  
+}

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnContextDeclType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnContextDeclType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnContextDeclType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,82 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+import java.net.URI;
+
+/**
+ * Type that represents an AuthnContextDecl
+ * @author Anil.Saldhana at redhat.com
+ * @since Nov 24, 2010
+ */
+public class AuthnContextDeclType implements URIType, Serializable
+{
+   private static final long serialVersionUID = 1L;
+
+   private URI value;
+
+   public AuthnContextDeclType( URI value )
+   { 
+      this.value = value;
+   }
+
+   public URI getValue()
+   {
+      return value;
+   }
+
+   @Override
+   public String toString()
+   {
+      return "AuthnContextDeclType [value=" + value + "]";
+   }
+
+   @Override
+   public int hashCode()
+   {
+      final int prime = 31;
+      int result = 1;
+      result = prime * result + ((value == null) ? 0 : value.hashCode());
+      return result;
+   }
+
+   @Override
+   public boolean equals(Object obj)
+   {
+      if (this == obj)
+         return true;
+      if (obj == null)
+         return false;
+      if (getClass() != obj.getClass())
+         return false;
+      AuthnContextDeclType other = (AuthnContextDeclType) obj;
+      if (value == null)
+      {
+         if (other.value != null)
+            return false;
+      }
+      else if (!value.equals(other.value))
+         return false;
+      return true;
+   }
+}
\ No newline at end of file

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnContextType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnContextType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnContextType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,209 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+import java.net.URI;
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.HashSet;
+import java.util.LinkedHashSet;
+import java.util.Set;
+
+/**
+ * <p>Java class for AuthnContextType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="AuthnContextType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;choice>
+ *           &lt;sequence>
+ *             &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextClassRef"/>
+ *             &lt;choice minOccurs="0">
+ *               &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextDecl"/>
+ *               &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextDeclRef"/>
+ *             &lt;/choice>
+ *           &lt;/sequence>
+ *           &lt;choice>
+ *             &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextDecl"/>
+ *             &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextDeclRef"/>
+ *           &lt;/choice>
+ *         &lt;/choice>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthenticatingAuthority" maxOccurs="unbounded" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+public class AuthnContextType implements Serializable
+{
+   private static final long serialVersionUID = 1L;
+
+   private final Set<URI> authenticatingAuthority = new LinkedHashSet<URI>();
+
+   private AuthnContextTypeSequence sequence;
+
+   private final Set<URIType> URITypes = new HashSet<URIType>();
+
+   /**
+    * Add an authenticating authority
+    * @param aa {@link URI}
+    */
+   public void addAuthenticatingAuthority(URI aa)
+   {
+      authenticatingAuthority.add(aa);
+   }
+
+   /**
+    * Add Authenticating Authority
+    * @param aas an array of {@link URI}
+    */
+   public void addAuthenticatingAuthority(URI[] aas)
+   {
+      authenticatingAuthority.addAll(Arrays.asList(aas));
+   }
+
+   /**
+    * Remove an authenticating authority
+    * @param aa
+    */
+   public void removeAuthenticatingAuthority(URI aa)
+   {
+      authenticatingAuthority.remove(aa);
+   }
+
+   /**
+    * Get a read only set of authenticating authority
+    * @return
+    */
+   public Set<URI> getAuthenticatingAuthority()
+   {
+      return Collections.unmodifiableSet(authenticatingAuthority);
+   }
+
+   /**
+    * Get the sequence
+    * @return
+    */
+   public AuthnContextTypeSequence getSequence()
+   {
+      return sequence;
+   }
+
+   /**
+    * Set the authn context sequence
+    * @param sequence
+    */
+   public void setSequence(AuthnContextTypeSequence sequence)
+   {
+      this.sequence = sequence;
+   }
+
+   /**
+    * Add an URI type
+    * @param aa
+    */
+   public void addURIType(URIType aa)
+   {
+      URITypes.add(aa);
+   }
+
+   /**
+    * Add an array of URI Type
+    * @param aas
+    */
+   public void addURIType(URIType[] aas)
+   {
+      URITypes.addAll(Arrays.asList(aas));
+   }
+
+   /**
+    * Get a read only set of URI type
+    * @return
+    */
+   public Set<URIType> getURIType()
+   {
+      return Collections.unmodifiableSet(URITypes);
+   }
+
+   /**
+    * Add an URI type
+    * @param aa
+    */
+   public void removeURIType(URIType aa)
+   {
+      URITypes.remove(aa);
+   }
+
+   /**
+    <sequence>
+       <element ref="saml:AuthnContextClassRef"/>
+       <choice minOccurs="0">
+          <element ref="saml:AuthnContextDecl"/>
+          <element ref="saml:AuthnContextDeclRef"/>
+       </choice>
+    </sequence>
+    */
+   public class AuthnContextTypeSequence
+   {
+      private AuthnContextClassRefType classRef;
+
+      private final Set<URIType> URITypes = new HashSet<URIType>();
+
+      public AuthnContextClassRefType getClassRef()
+      {
+         return classRef;
+      }
+
+      public void setClassRef(AuthnContextClassRefType classRef)
+      {
+         this.classRef = classRef;
+      }
+
+      public void addURIType(URIType aa)
+      {
+         URITypes.add(aa);
+      }
+
+      public void removeURIType(URIType aa)
+      {
+         URITypes.remove(aa);
+      }
+
+      public void addURIType(URIType[] aas)
+      {
+         URITypes.addAll(Arrays.asList(aas));
+      }
+
+      public Set<URIType> getURIType()
+      {
+         return Collections.unmodifiableSet(URITypes);
+      }
+   }
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnContextType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnStatementType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnStatementType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnStatementType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,174 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import javax.xml.datatype.XMLGregorianCalendar;
+
+
+/**
+ * <p>Java class for AuthnStatementType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="AuthnStatementType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{urn:oasis:names:tc:SAML:2.0:assertion}StatementAbstractType">
+ *       &lt;sequence>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}SubjectLocality" minOccurs="0"/>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContext"/>
+ *       &lt;/sequence>
+ *       &lt;attribute name="AuthnInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
+ *       &lt;attribute name="SessionIndex" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="SessionNotOnOrAfter" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */ 
+public class AuthnStatementType
+extends StatementAbstractType
+{ 
+   private static final long serialVersionUID = 1L;
+   
+   protected SubjectLocalityType subjectLocality; 
+   protected AuthnContextType authnContext; 
+   protected XMLGregorianCalendar authnInstant;  
+   protected XMLGregorianCalendar sessionNotOnOrAfter;
+
+   protected String sessionIndex;
+
+   public AuthnStatementType( XMLGregorianCalendar instant )
+   {
+      this.authnInstant = instant;
+   }
+
+   /**
+    * Gets the value of the subjectLocality property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link SubjectLocalityType }
+    *     
+    */
+   public SubjectLocalityType getSubjectLocality() {
+      return subjectLocality;
+   }
+
+   /**
+    * Sets the value of the subjectLocality property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link SubjectLocalityType }
+    *     
+    */
+   public void setSubjectLocality(SubjectLocalityType value) {
+      this.subjectLocality = value;
+   }
+
+   /**
+    * Gets the value of the authnContext property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link AuthnContextType }
+    *     
+    */
+   public AuthnContextType getAuthnContext() {
+      return authnContext;
+   }
+
+   /**
+    * Sets the value of the authnContext property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link AuthnContextType }
+    *     
+    */
+   public void setAuthnContext(AuthnContextType value) {
+      this.authnContext = value;
+   }
+
+   /**
+    * Gets the value of the authnInstant property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link XMLGregorianCalendar }
+    *     
+    */
+   public XMLGregorianCalendar getAuthnInstant() {
+      return authnInstant;
+   } 
+
+   /**
+    * Gets the value of the sessionIndex property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link String }
+    *     
+    */
+   public String getSessionIndex() {
+      return sessionIndex;
+   }
+
+   /**
+    * Sets the value of the sessionIndex property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link String }
+    *     
+    */
+   public void setSessionIndex(String value) {
+      this.sessionIndex = value;
+   }
+
+   /**
+    * Gets the value of the sessionNotOnOrAfter property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link XMLGregorianCalendar }
+    *     
+    */
+   public XMLGregorianCalendar getSessionNotOnOrAfter() {
+      return sessionNotOnOrAfter;
+   }
+
+   /**
+    * Sets the value of the sessionNotOnOrAfter property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link XMLGregorianCalendar }
+    *     
+    */
+   public void setSessionNotOnOrAfter(XMLGregorianCalendar value) {
+      this.sessionNotOnOrAfter = value;
+   } 
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthnStatementType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthzDecisionStatementType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthzDecisionStatementType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthzDecisionStatementType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,158 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+
+/**
+ * <p>Java class for AuthzDecisionStatementType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="AuthzDecisionStatementType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{urn:oasis:names:tc:SAML:2.0:assertion}StatementAbstractType">
+ *       &lt;sequence>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Action" maxOccurs="unbounded"/>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Evidence" minOccurs="0"/>
+ *       &lt;/sequence>
+ *       &lt;attribute name="Resource" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *       &lt;attribute name="Decision" use="required" type="{urn:oasis:names:tc:SAML:2.0:assertion}DecisionType" />
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */ 
+public class AuthzDecisionStatementType
+extends StatementAbstractType
+{ 
+   private static final long serialVersionUID = 1L;
+   protected List<ActionType> action = new ArrayList<ActionType>(); 
+   protected EvidenceType evidence; 
+   protected String resource; 
+   protected DecisionType decision;
+
+   /**
+    * Get the list of actions (read-only list)
+    * @return {@link List} read only 
+    */
+   public List<ActionType> getAction() 
+   { 
+      return Collections.unmodifiableList( this.action );
+   }
+
+   /**
+    * Add an action
+    * @param actionType
+    */
+   public void addAction( ActionType actionType )
+   {
+      action.add(actionType); 
+   }
+   
+   /**
+    * Remove an action
+    * @param actionType
+    */
+   public void removeAction( ActionType actionType )
+   {
+      action.remove(actionType); 
+   }
+
+   /**
+    * Gets the value of the evidence property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link EvidenceType }
+    *     
+    */
+   public EvidenceType getEvidence() {
+      return evidence;
+   }
+
+   /**
+    * Sets the value of the evidence property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link EvidenceType }
+    *     
+    */
+   public void setEvidence(EvidenceType value) {
+      this.evidence = value;
+   }
+
+   /**
+    * Gets the value of the resource property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link String }
+    *     
+    */
+   public String getResource() {
+      return resource;
+   }
+
+   /**
+    * Sets the value of the resource property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link String }
+    *     
+    */
+   public void setResource(String value) {
+      this.resource = value;
+   }
+
+   /**
+    * Gets the value of the decision property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link DecisionType }
+    *     
+    */
+   public DecisionType getDecision() {
+      return decision;
+   }
+
+   /**
+    * Sets the value of the decision property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link DecisionType }
+    *     
+    */
+   public void setDecision(DecisionType value) {
+      this.decision = value;
+   }
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/AuthzDecisionStatementType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/BaseIDAbstractType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/BaseIDAbstractType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/BaseIDAbstractType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,63 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+
+/**
+ * Abstract Type that represents an ID
+ <pre>
+ &lt;attributeGroup name="IDNameQualifiers">
+        &lt;attribute name="NameQualifier" type="string" use="optional"/>
+        &lt;attribute name="SPNameQualifier" type="string" use="optional"/>
+    &lt;/attributeGroup>
+
+    &lt;complexType name="BaseIDAbstractType" abstract="true">
+        &lt;attributeGroup ref="saml:IDNameQualifiers"/>
+    &lt;/complexType>
+ </pre>
+ * @author Anil.Saldhana at redhat.com
+ * @since Nov 24, 2010
+ */
+public abstract class BaseIDAbstractType implements Serializable
+{ 
+   private static final long serialVersionUID = 1L;
+   private String nameQualifier;
+   private String sPNameQualifier;
+
+   public String getNameQualifier()
+   {
+      return nameQualifier;
+   }
+   public void setNameQualifier(String nameQualifier)
+   {
+      this.nameQualifier = nameQualifier;
+   }
+   public String getSPNameQualifier()
+   {
+      return sPNameQualifier;
+   }
+   public void setSPNameQualifier(String sPNameQualifier)
+   {
+      this.sPNameQualifier = sPNameQualifier;
+   }
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/BaseIDAbstractType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/ConditionAbstractType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/ConditionAbstractType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/ConditionAbstractType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,46 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+
+
+/**
+ * <p>Java class for ConditionAbstractType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="ConditionAbstractType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */ 
+public abstract class ConditionAbstractType implements Serializable
+{
+   private static final long serialVersionUID = 1L;
+}
\ No newline at end of file

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/ConditionsType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/ConditionsType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/ConditionsType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,136 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+ 
+import javax.xml.datatype.XMLGregorianCalendar;
+
+
+/**
+ * <p>Java class for ConditionsType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="ConditionsType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Condition"/>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AudienceRestriction"/>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}OneTimeUse"/>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}ProxyRestriction"/>
+ *       &lt;/choice>
+ *       &lt;attribute name="NotBefore" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
+ *       &lt;attribute name="NotOnOrAfter" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */ 
+public class ConditionsType implements Serializable
+{  
+   private static final long serialVersionUID = 1L;
+   protected List<ConditionAbstractType> conditions = new ArrayList<ConditionAbstractType>(); 
+   protected XMLGregorianCalendar notBefore; 
+   protected XMLGregorianCalendar notOnOrAfter;
+
+   /**
+    * Add a condition
+    * @param condition
+    */
+   public void addCondition( ConditionAbstractType condition )
+   {
+      this.conditions.add( condition );
+   }
+   
+   /**
+    * Remove a condition
+    * @param condition
+    */
+   public void removeCondition( ConditionAbstractType condition )
+   {
+      this.conditions.remove( condition );
+   }
+
+   /**
+    * Gets an read only conditions list. 
+    */
+   public List<ConditionAbstractType> getConditions() 
+   { 
+      return Collections.unmodifiableList( this.conditions );
+   }
+
+   /**
+    * Gets the value of the notBefore property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link XMLGregorianCalendar }
+    *     
+    */
+   public XMLGregorianCalendar getNotBefore() {
+      return notBefore;
+   }
+
+   /**
+    * Sets the value of the notBefore property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link XMLGregorianCalendar }
+    *     
+    */
+   public void setNotBefore(XMLGregorianCalendar value) {
+      this.notBefore = value;
+   }
+
+   /**
+    * Gets the value of the notOnOrAfter property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link XMLGregorianCalendar }
+    *     
+    */
+   public XMLGregorianCalendar getNotOnOrAfter() {
+      return notOnOrAfter;
+   }
+
+   /**
+    * Sets the value of the notOnOrAfter property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link XMLGregorianCalendar }
+    *     
+    */
+   public void setNotOnOrAfter(XMLGregorianCalendar value) {
+      this.notOnOrAfter = value;
+   }
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/ConditionsType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/DecisionType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/DecisionType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/DecisionType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,66 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+/**
+ * <p>Java class for DecisionType.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * &lt;simpleType name="DecisionType">
+ *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     &lt;enumeration value="Permit"/>
+ *     &lt;enumeration value="Deny"/>
+ *     &lt;enumeration value="Indeterminate"/>
+ *   &lt;/restriction>
+ * &lt;/simpleType>
+ * </pre>
+ * 
+ */
+public enum DecisionType 
+{ 
+   PERMIT("Permit"),
+   DENY("Deny"),
+   INDETERMINATE("Indeterminate");
+   private final String value;
+
+   DecisionType(String v) {
+      value = v;
+   }
+
+   public String value() {
+      return value;
+   }
+
+   public static DecisionType fromValue(String v) 
+   {
+      for (DecisionType c: DecisionType.values()) 
+      {
+         if (c.value.equals(v)) 
+         {
+            return c;
+         }
+      }
+      throw new IllegalArgumentException(v);
+   }
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/DecisionType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/EncryptedAssertionType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/EncryptedAssertionType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/EncryptedAssertionType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,49 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import org.w3c.dom.Element;
+
+/**
+ * Assertion that is encrypted
+ * @author Anil.Saldhana at redhat.com
+ * @since Nov 24, 2010
+ */
+public class EncryptedAssertionType extends EncryptedElementType
+{
+   private static final long serialVersionUID = 1L;
+
+   public EncryptedAssertionType()
+   {
+      super();
+   }
+
+   public EncryptedAssertionType(Element el)
+   {
+      super(el);
+   }
+
+   public String getID()
+   {
+      return null;
+   }
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/EncryptedAssertionType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/EncryptedElementType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/EncryptedElementType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/EncryptedElementType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,66 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+
+import org.w3c.dom.Element;
+
+/**
+ * Represents an element that is encrypted
+ * @author Anil.Saldhana at redhat.com
+ * @since Nov 24, 2010
+ */
+public class EncryptedElementType implements Serializable
+{
+   private static final long serialVersionUID = 1L;
+
+   /**
+    <complexType name="EncryptedElementType">
+        <sequence>
+            <element ref="xenc:EncryptedData"/>
+            <element ref="xenc:EncryptedKey" minOccurs="0" maxOccurs="unbounded"/>
+        </sequence>
+    </complexType>
+    */
+
+   protected Element encryptedElement;
+
+   public EncryptedElementType()
+   {
+   }
+
+   public EncryptedElementType(Element el)
+   {
+      this.encryptedElement = el;
+   }
+
+   public Element getEncryptedElement()
+   {
+      return encryptedElement;
+   }
+
+   public void setEncryptedElement(Element encryptedElement)
+   {
+      this.encryptedElement = encryptedElement;
+   }
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/EncryptedElementType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/EvidenceType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/EvidenceType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/EvidenceType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,134 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+import java.net.URI;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+
+/**
+ * <p>Java class for EvidenceType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="EvidenceType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice maxOccurs="unbounded">
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AssertionIDRef"/>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AssertionURIRef"/>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Assertion"/>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedAssertion"/>
+ *       &lt;/choice>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */ 
+public class EvidenceType implements Serializable
+{
+   private static final long serialVersionUID = 1L;
+   protected List<ChoiceType> evidences = new ArrayList<ChoiceType>();
+
+   /**
+    * Add an evidence
+    * @param evidence
+    */
+   public void addEvidence( ChoiceType evidence )
+   {
+      evidences.add( evidence );
+   }
+   
+   /**
+    * Remove an evidence
+    * @param evidence
+    */
+   public void removeEvidence( ChoiceType evidence )
+   {
+      evidences.remove( evidence );
+   }
+
+   /**
+    * Get the list of evidences as a read only list
+    * @return
+    */
+   public List<ChoiceType> evidences()
+   {
+      return Collections.unmodifiableList( evidences );
+   }
+
+   public static class ChoiceType implements Serializable
+   {
+      private static final long serialVersionUID = 1L;
+      private String AssertionIDRef;
+      private URI AssertionURIRef;
+      private AssertionType assertion;
+      private EncryptedAssertionType encryptedAssertion;
+
+      public ChoiceType(String assertionIDRef)
+      { 
+         AssertionIDRef = assertionIDRef;
+      }
+
+      public ChoiceType(URI assertionURIRef)
+      { 
+         AssertionURIRef = assertionURIRef;
+      }
+
+      public ChoiceType(AssertionType assertion)
+      { 
+         this.assertion = assertion;
+      }
+
+      public ChoiceType(EncryptedAssertionType encryptedAssertion)
+      { 
+         this.encryptedAssertion = encryptedAssertion;
+      }
+
+      public String getAssertionIDRef()
+      {
+         return AssertionIDRef;
+      }
+
+      public URI getAssertionURIRef()
+      {
+         return AssertionURIRef;
+      }
+
+      public AssertionType getAssertion()
+      {
+         return assertion;
+      }
+
+      public EncryptedAssertionType getEncryptedAssertion()
+      {
+         return encryptedAssertion;
+      } 
+   }
+}
\ No newline at end of file

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/KeyInfoConfirmationDataType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/KeyInfoConfirmationDataType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/KeyInfoConfirmationDataType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,60 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import org.w3c.dom.Element;
+
+/**
+ * <p>Java class for KeyInfoConfirmationDataType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="KeyInfoConfirmationDataType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{urn:oasis:names:tc:SAML:2.0:assertion}SubjectConfirmationDataType">
+ *       &lt;sequence>
+ *         &lt;element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" maxOccurs="unbounded"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+public class KeyInfoConfirmationDataType extends SubjectConfirmationDataType
+{
+   private static final long serialVersionUID = 2510471236717847074L;
+
+   protected Element keyInfo;
+
+   public Element getKeyInfo()
+   {
+      return keyInfo;
+   }
+
+   public void setKeyInfo(Element keyInfo)
+   {
+      this.keyInfo = keyInfo;
+   }
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/KeyInfoConfirmationDataType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/NameIDType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/NameIDType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/NameIDType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,88 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.net.URI;
+
+/**
+ * Represents a NameIDType
+ * @author Anil.Saldhana at redhat.com
+ * @since Nov 24, 2010
+ */
+public class NameIDType extends BaseIDAbstractType
+{
+   /*
+    <complexType name="NameIDType">
+        <simpleContent>
+            <extension base="string">
+                <attributeGroup ref="saml:IDNameQualifiers"/>
+                <attribute name="Format" type="anyURI" use="optional"/>
+                <attribute name="SPProvidedID" type="string" use="optional"/>
+            </extension>
+        </simpleContent>
+    </complexType>
+
+    <attributeGroup name="IDNameQualifiers">
+        <attribute name="NameQualifier" type="string" use="optional"/>
+        <attribute name="SPNameQualifier" type="string" use="optional"/>
+    </attributeGroup>
+    */
+
+   private static final long serialVersionUID = 1L;
+   private String value;
+   private URI format;
+   private String sPProvidedID; 
+
+   public String getValue()
+   {
+      return value;
+   }
+   public void setValue(String value)
+   {
+      this.value = value;
+   }
+
+   public String getsPProvidedID()
+   {
+      return sPProvidedID;
+   }
+   public void setsPProvidedID(String sPProvidedID)
+   {
+      this.sPProvidedID = sPProvidedID;
+   }
+   public URI getFormat()
+   {
+      return format;
+   }
+   public void setFormat(URI format)
+   {
+      this.format = format;
+   }
+   public String getSPProvidedID()
+   {
+      return sPProvidedID;
+   }
+   public void setSPProvidedID(String sPProvidedID)
+   {
+      this.sPProvidedID = sPProvidedID;
+   } 
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/NameIDType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/OneTimeUseType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/OneTimeUseType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/OneTimeUseType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,44 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+ 
+
+/**
+ * <p>Java class for OneTimeUseType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="OneTimeUseType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{urn:oasis:names:tc:SAML:2.0:assertion}ConditionAbstractType">
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */ 
+public class OneTimeUseType
+    extends ConditionAbstractType
+{ 
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/OneTimeUseType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/ProxyRestrictionType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/ProxyRestrictionType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/ProxyRestrictionType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,108 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.math.BigInteger;
+import java.net.URI;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+
+/**
+ * <p>Java class for ProxyRestrictionType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="ProxyRestrictionType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{urn:oasis:names:tc:SAML:2.0:assertion}ConditionAbstractType">
+ *       &lt;sequence>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Audience" maxOccurs="unbounded" minOccurs="0"/>
+ *       &lt;/sequence>
+ *       &lt;attribute name="Count" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */ 
+public class ProxyRestrictionType
+extends ConditionAbstractType
+{ 
+   protected List<URI> audience = new ArrayList<URI>();
+
+   protected BigInteger count;
+
+   /**
+    * Add an audience
+    * @param a
+    */
+   public void addAudience( URI a )
+   {
+      this.audience.add( a );
+   }
+
+   /**
+    * Gets the value of the audience property.
+    *  
+    */
+   public List<URI> getAudience() 
+   { 
+      return Collections.unmodifiableList( audience );
+   }
+   
+   /**
+    * Remove an audience
+    * @param a
+    */
+   public void removeAudience( URI a )
+   {
+      this.audience.remove( a );
+   }
+
+   /**
+    * Gets the value of the count property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link BigInteger }
+    *     
+    */
+   public BigInteger getCount() {
+      return count;
+   }
+
+   /**
+    * Sets the value of the count property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link BigInteger }
+    *     
+    */
+   public void setCount(BigInteger value) {
+      this.count = value;
+   }
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/ProxyRestrictionType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/StatementAbstractType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/StatementAbstractType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/StatementAbstractType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,48 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+ 
+
+
+/**
+ * <p>Java class for StatementAbstractType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="StatementAbstractType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */ 
+public abstract class StatementAbstractType implements Serializable
+{ 
+   private static final long serialVersionUID = 1L;
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/StatementAbstractType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectConfirmationDataType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectConfirmationDataType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectConfirmationDataType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,247 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.xml.datatype.XMLGregorianCalendar;
+import javax.xml.namespace.QName;
+
+/**
+ * <p>Java class for SubjectConfirmationDataType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="SubjectConfirmationDataType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;any/>
+ *       &lt;/sequence>
+ *       &lt;attribute name="NotBefore" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
+ *       &lt;attribute name="NotOnOrAfter" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
+ *       &lt;attribute name="Recipient" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *       &lt;attribute name="InResponseTo" type="{http://www.w3.org/2001/XMLSchema}NCName" />
+ *       &lt;attribute name="Address" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+public class SubjectConfirmationDataType implements Serializable
+{
+   private static final long serialVersionUID = 7695748370849965158L;
+
+   protected XMLGregorianCalendar notBefore;
+
+   protected XMLGregorianCalendar notOnOrAfter;
+
+   protected String recipient;
+
+   protected String inResponseTo;
+
+   protected String address;
+
+   private final Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+   private Object anyType;
+
+   public Object getAnyType()
+   {
+      return anyType;
+   }
+
+   public void setAnyType(Object anyType)
+   {
+      this.anyType = anyType;
+   }
+
+   /**
+    * Gets the value of the notBefore property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link XMLGregorianCalendar }
+    *     
+    */
+   public XMLGregorianCalendar getNotBefore()
+   {
+      return notBefore;
+   }
+
+   /**
+    * Sets the value of the notBefore property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link XMLGregorianCalendar }
+    *     
+    */
+   public void setNotBefore(XMLGregorianCalendar value)
+   {
+      this.notBefore = value;
+   }
+
+   /**
+    * Gets the value of the notOnOrAfter property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link XMLGregorianCalendar }
+    *     
+    */
+   public XMLGregorianCalendar getNotOnOrAfter()
+   {
+      return notOnOrAfter;
+   }
+
+   /**
+    * Sets the value of the notOnOrAfter property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link XMLGregorianCalendar }
+    *     
+    */
+   public void setNotOnOrAfter(XMLGregorianCalendar value)
+   {
+      this.notOnOrAfter = value;
+   }
+
+   /**
+    * Gets the value of the recipient property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link String }
+    *     
+    */
+   public String getRecipient()
+   {
+      return recipient;
+   }
+
+   /**
+    * Sets the value of the recipient property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link String }
+    *     
+    */
+   public void setRecipient(String value)
+   {
+      this.recipient = value;
+   }
+
+   /**
+    * Gets the value of the inResponseTo property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link String }
+    *     
+    */
+   public String getInResponseTo()
+   {
+      return inResponseTo;
+   }
+
+   /**
+    * Sets the value of the inResponseTo property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link String }
+    *     
+    */
+   public void setInResponseTo(String value)
+   {
+      this.inResponseTo = value;
+   }
+
+   /**
+    * Gets the value of the address property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link String }
+    *     
+    */
+   public String getAddress()
+   {
+      return address;
+   }
+
+   /**
+    * Sets the value of the address property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link String }
+    *     
+    */
+   public void setAddress(String value)
+   {
+      this.address = value;
+   }
+
+   /**
+    * Gets a map that contains attributes that aren't bound to any typed property on this class.
+    * 
+    * <p>
+    * the map is keyed by the name of the attribute and 
+    * the value is the string value of the attribute.
+    * 
+    * @return
+    *     always non-null
+    */
+   public Map<QName, String> getOtherAttributes()
+   {
+      return Collections.unmodifiableMap(otherAttributes);
+   }
+
+   /**
+    * Add an other attribute
+    * @param qname
+    * @param str
+    */
+   public void addOtherAttribute(QName qname, String str)
+   {
+      otherAttributes.put(qname, str);
+   }
+
+   /**
+    * Remove an other attribute
+    * @param qname {@link QName} of the attribute to be removed
+    */
+   public void removeOtherAttribute(QName qname)
+   {
+      otherAttributes.remove(qname);
+   }
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectConfirmationDataType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectConfirmationType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectConfirmationType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectConfirmationType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,182 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+
+
+
+/**
+ * <p>Java class for SubjectConfirmationType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="SubjectConfirmationType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;choice minOccurs="0">
+ *           &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}BaseID"/>
+ *           &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}NameID"/>
+ *           &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedID"/>
+ *         &lt;/choice>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}SubjectConfirmationData" minOccurs="0"/>
+ *       &lt;/sequence>
+ *       &lt;attribute name="Method" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */ 
+public class SubjectConfirmationType implements Serializable
+{ 
+   private static final long serialVersionUID = 1L;
+   protected BaseIDAbstractType baseID; 
+   protected NameIDType nameID; 
+   protected EncryptedElementType encryptedID; 
+   protected SubjectConfirmationDataType subjectConfirmationData; 
+   protected String method;
+
+   /**
+    * Gets the value of the baseID property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link BaseIDAbstractType }
+    *     
+    */
+   public BaseIDAbstractType getBaseID() {
+      return baseID;
+   }
+
+   /**
+    * Sets the value of the baseID property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link BaseIDAbstractType }
+    *     
+    */
+   public void setBaseID(BaseIDAbstractType value) {
+      this.baseID = value;
+   }
+
+   /**
+    * Gets the value of the nameID property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link NameIDType }
+    *     
+    */
+   public NameIDType getNameID() {
+      return nameID;
+   }
+
+   /**
+    * Sets the value of the nameID property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link NameIDType }
+    *     
+    */
+   public void setNameID(NameIDType value) {
+      this.nameID = value;
+   }
+
+   /**
+    * Gets the value of the encryptedID property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link EncryptedElementType }
+    *     
+    */
+   public EncryptedElementType getEncryptedID() {
+      return encryptedID;
+   }
+
+   /**
+    * Sets the value of the encryptedID property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link EncryptedElementType }
+    *     
+    */
+   public void setEncryptedID(EncryptedElementType value) {
+      this.encryptedID = value;
+   }
+
+   /**
+    * Gets the value of the subjectConfirmationData property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link SubjectConfirmationDataType }
+    *     
+    */
+   public SubjectConfirmationDataType getSubjectConfirmationData() {
+      return subjectConfirmationData;
+   }
+
+   /**
+    * Sets the value of the subjectConfirmationData property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link SubjectConfirmationDataType }
+    *     
+    */
+   public void setSubjectConfirmationData(SubjectConfirmationDataType value) {
+      this.subjectConfirmationData = value;
+   }
+
+   /**
+    * Gets the value of the method property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link String }
+    *     
+    */
+   public String getMethod() {
+      return method;
+   }
+
+   /**
+    * Sets the value of the method property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link String }
+    *     
+    */
+   public void setMethod(String value) {
+      this.method = value;
+   }
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectConfirmationType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectLocalityType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectLocalityType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectLocalityType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,103 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+
+/**
+ * <p>Java class for SubjectLocalityType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="SubjectLocalityType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;attribute name="Address" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="DNSName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+public class SubjectLocalityType implements Serializable
+{
+   private static final long serialVersionUID = 1L;
+
+   protected String address;
+
+   protected String dnsName;
+
+   /**
+    * Gets the value of the address property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link String }
+    *     
+    */
+   public String getAddress()
+   {
+      return address;
+   }
+
+   /**
+    * 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

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+/**
+ * <p>Java class for SubjectType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="SubjectType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice>
+ *         &lt;sequence>
+ *           &lt;choice>
+ *             &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}BaseID"/>
+ *             &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}NameID"/>
+ *             &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedID"/>
+ *           &lt;/choice>
+ *           &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}SubjectConfirmation" maxOccurs="unbounded" minOccurs="0"/>
+ *         &lt;/sequence>
+ *         &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}SubjectConfirmation" maxOccurs="unbounded"/>
+ *       &lt;/choice>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+public class SubjectType implements Serializable
+{
+   private static final long serialVersionUID = 1L;
+
+   protected List<SubjectConfirmationType> subjectConfirmation = new ArrayList<SubjectConfirmationType>();
+
+   protected STSubType subType;
+
+   /**
+    * Get the {@link STSubType}
+    * @return
+    */
+   public STSubType getSubType()
+   {
+      return subType;
+   }
+
+   /**
+    * Set the {@link STSubType}
+    * @param subType
+    */
+   public void setSubType(STSubType subType)
+   {
+      this.subType = subType;
+   }
+
+   /**
+    * Get the size of subject confirmations
+    * @return
+    */
+   public int getCount()
+   {
+      return subjectConfirmation.size();
+   }
+
+   /**
+    * Get a list of subject confirmations
+    * @return {@link} read only list of subject confirmation
+    */
+   public List<SubjectConfirmationType> getConfirmation()
+   {
+      return Collections.unmodifiableList(subjectConfirmation);
+   }
+
+   /**
+    * Add a subject confirmation
+    * @param con
+    */
+   public void addConfirmation(SubjectConfirmationType con)
+   {
+      subjectConfirmation.add(con);
+   }
+
+   /**
+    * Remove a subject confirmation
+    * @param con
+    */
+   public void removeConfirmation(SubjectConfirmationType con)
+   {
+      subjectConfirmation.remove(con);
+   }
+
+   public static class STSubType implements Serializable
+   {
+      private static final long serialVersionUID = -4073731807610876524L;
+
+      private BaseIDAbstractType baseID;
+
+      private EncryptedElementType encryptedID;
+
+      protected List<SubjectConfirmationType> subjectConfirmation = new ArrayList<SubjectConfirmationType>();
+
+      public void addBaseID(BaseIDAbstractType base)
+      {
+         this.baseID = base;
+      }
+
+      public BaseIDAbstractType getBaseID()
+      {
+         return baseID;
+      }
+
+      public EncryptedElementType getEncryptedID()
+      {
+         return encryptedID;
+      }
+
+      public void setEncryptedID(EncryptedElementType encryptedID)
+      {
+         this.encryptedID = encryptedID;
+      }
+
+      public void addConfirmation(SubjectConfirmationType con)
+      {
+         subjectConfirmation.add(con);
+      }
+
+      public int getCount()
+      {
+         return subjectConfirmation.size();
+      }
+
+      public List<SubjectConfirmationType> getConfirmation()
+      {
+         return Collections.unmodifiableList(subjectConfirmation);
+      }
+   }
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/SubjectType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/URIType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/URIType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/URIType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,34 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
+
+import java.net.URI;
+
+/**
+ * A type that holds {@code URI}
+ * @author Anil.Saldhana at redhat.com
+ * @since Nov 24, 2010
+ */
+public interface URIType
+{ 
+   URI getValue();
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/URIType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/package-info.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/package-info.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/package-info.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,4 @@
+/**
+ * Package for the model classes for the SAML2 Assertion
+ */
+package org.picketlink.identity.federation.saml.v2.assertion;
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/assertion/package-info.java
___________________________________________________________________
Added: svn:executable
   + *

Modified: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/profiles/sso/ecp/RequestType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/profiles/sso/ecp/RequestType.java	2011-06-17 20:17:09 UTC (rev 1012)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/profiles/sso/ecp/RequestType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -1,7 +1,7 @@
 package org.picketlink.identity.federation.saml.v2.profiles.sso.ecp;
 
-import org.picketlink.identity.federation.newmodel.saml.v2.assertion.NameIDType;
-import org.picketlink.identity.federation.newmodel.saml.v2.protocol.IDPListType;
+import org.picketlink.identity.federation.saml.v2.assertion.NameIDType;
+import org.picketlink.identity.federation.saml.v2.protocol.IDPListType;
  
 
 

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/profiles/xacml/assertion/XACMLAuthzDecisionStatementType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/profiles/xacml/assertion/XACMLAuthzDecisionStatementType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/profiles/xacml/assertion/XACMLAuthzDecisionStatementType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,104 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.profiles.xacml.assertion;
+
+import org.jboss.security.xacml.core.model.context.RequestType;
+import org.jboss.security.xacml.core.model.context.ResponseType;
+import org.picketlink.identity.federation.saml.v2.assertion.StatementAbstractType;
+
+
+/**
+ * <p>Java class for XACMLAuthzDecisionStatementType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="XACMLAuthzDecisionStatementType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{urn:oasis:names:tc:SAML:2.0:assertion}StatementAbstractType">
+ *       &lt;sequence>
+ *         &lt;element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Response"/>
+ *         &lt;element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Request" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */ 
+public class XACMLAuthzDecisionStatementType
+extends StatementAbstractType
+{ 
+   private static final long serialVersionUID = 1L;
+   public static final String XSI_TYPE = "xacml-samlp:XACMLAuthzDecisionStatementType";
+   protected ResponseType response;
+   protected RequestType request;
+
+   /**
+    * Gets the value of the response property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link ResponseType }
+    *     
+    */
+   public ResponseType getResponse() {
+      return response;
+   }
+
+   /**
+    * Sets the value of the response property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link ResponseType }
+    *     
+    */
+   public void setResponse(ResponseType value) {
+      this.response = value;
+   }
+
+   /**
+    * Gets the value of the request property.
+    * 
+    * @return
+    *     possible object is
+    *     {@link RequestType }
+    *     
+    */
+   public RequestType getRequest() {
+      return request;
+   }
+
+   /**
+    * Sets the value of the request property.
+    * 
+    * @param value
+    *     allowed object is
+    *     {@link RequestType }
+    *     
+    */
+   public void setRequest(RequestType value) {
+      this.request = value;
+   }
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/profiles/xacml/assertion/XACMLAuthzDecisionStatementType.java
___________________________________________________________________
Added: svn:executable
   + *

Added: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/profiles/xacml/assertion/XACMLPolicyStatementType.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/profiles/xacml/assertion/XACMLPolicyStatementType.java	                        (rev 0)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/profiles/xacml/assertion/XACMLPolicyStatementType.java	2011-06-21 20:31:55 UTC (rev 1013)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.saml.v2.profiles.xacml.assertion;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.jboss.security.xacml.core.model.policy.PolicySetType;
+import org.jboss.security.xacml.core.model.policy.PolicyType;
+import org.picketlink.identity.federation.saml.v2.assertion.StatementAbstractType;
+
+/**
+ * <p>Java class for XACMLPolicyStatementType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="XACMLPolicyStatementType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{urn:oasis:names:tc:SAML:2.0:assertion}StatementAbstractType">
+ *       &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *         &lt;element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Policy"/>
+ *         &lt;element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}PolicySet"/>
+ *       &lt;/choice>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */ 
+public class XACMLPolicyStatementType
+extends StatementAbstractType
+{
+   private static final long serialVersionUID = 1L;
+
+   public static class ChoiceType
+   {
+      private PolicyType policy;
+      private PolicySetType policySet;
+      public PolicyType getPolicy()
+      {
+         return policy;
+      }
+      public void setPolicy(PolicyType policy)
+      {
+         this.policy = policy;
+      }
+      public PolicySetType getPolicySet()
+      {
+         return policySet;
+      }
+      public void setPolicySet(PolicySetType policySet)
+      {
+         this.policySet = policySet;
+      } 
+   }
+
+   protected List<ChoiceType> choiceTypeList = new ArrayList<ChoiceType>();
+
+   public void add(ChoiceType choice )
+   {
+      choiceTypeList.add(choice);
+   }
+
+   /**
+    * Gets the value of the choiceTypeList property. 
+    */
+   public List<ChoiceType> getChoiceType() 
+   {
+      return choiceTypeList;
+   }
+
+}
\ No newline at end of file


Property changes on: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/saml/v2/profiles/xacml/assertion/XACMLPolicyStatementType.java
___________________________________________________________________
Added: svn:executable
   + *



More information about the jboss-cvs-commits mailing list