Author: anil.saldhana(a)jboss.com
Date: 2010-11-24 18:56:13 -0500 (Wed, 24 Nov 2010)
New Revision: 562
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ArtifactResolveType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ArtifactResponseType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AssertionIDRequestType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AttributeQueryType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AuthnContextComparisonType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AuthnQueryType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AuthnRequestType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AuthzDecisionQueryType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ExtensionsType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/IDPEntryType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/IDPListType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/LogoutRequestType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ManageNameIDRequestType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/NameIDMappingRequestType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/NameIDMappingResponseType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/NameIDPolicyType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/RequestAbstractType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/RequestedAuthnContextType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ResponseType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ScopingType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/StatusCodeType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/StatusDetailType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/StatusResponseType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/StatusType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/SubjectQueryAbstractType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/TerminateType.java
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/package-info.java
Log:
the saml protocol classes
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ArtifactResolveType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ArtifactResolveType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ArtifactResolveType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,74 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+
+
+/**
+ * <p>Java class for ArtifactResolveType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="ArtifactResolveType">
+ * <complexContent>
+ * <extension
base="{urn:oasis:names:tc:SAML:2.0:protocol}RequestAbstractType">
+ * <sequence>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:protocol}Artifact"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class ArtifactResolveType
+extends RequestAbstractType
+{
+ protected String artifact;
+
+ /**
+ * Gets the value of the artifact property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getArtifact() {
+ return artifact;
+ }
+
+ /**
+ * Sets the value of the artifact property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setArtifact(String value) {
+ this.artifact = value;
+ }
+
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ArtifactResponseType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ArtifactResponseType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ArtifactResponseType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,79 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for ArtifactResponseType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="ArtifactResponseType">
+ * <complexContent>
+ * <extension
base="{urn:oasis:names:tc:SAML:2.0:protocol}StatusResponseType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class ArtifactResponseType
+ extends StatusResponseType
+{
+
+ protected Object any;
+
+ /**
+ * Gets the value of the any property.
+ *
+ * @return
+ * possible object is
+ * {@link Element }
+ * {@link Object }
+ *
+ */
+ public Object getAny() {
+ return any;
+ }
+
+ /**
+ * Sets the value of the any property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Element }
+ * {@link Object }
+ *
+ */
+ public void setAny(Object value) {
+ this.any = value;
+ }
+
+}
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AssertionIDRequestType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AssertionIDRequestType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AssertionIDRequestType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -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.newmodel.saml.v2.protocol;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+
+/**
+ * <p>Java class for AssertionIDRequestType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="AssertionIDRequestType">
+ * <complexContent>
+ * <extension
base="{urn:oasis:names:tc:SAML:2.0:protocol}RequestAbstractType">
+ * <sequence>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}AssertionIDRef"
maxOccurs="unbounded"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class AssertionIDRequestType
+extends RequestAbstractType
+{
+ protected List<String> assertionIDRef = new ArrayList<String>();
+
+ public void addAssertionIDRef( String id )
+ {
+ assertionIDRef.add( id );
+ }
+
+ /**
+ * Gets the value of the assertionIDRef property.
+ *
+ */
+ public List<String> getAssertionIDRef()
+ {
+ return Collections.unmodifiableList( this.assertionIDRef );
+ }
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AttributeQueryType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AttributeQueryType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AttributeQueryType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,68 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+import org.picketlink.identity.federation.newmodel.saml.v2.assertion.AttributeType;
+
+
+
+/**
+ * <p>Java class for AttributeQueryType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="AttributeQueryType">
+ * <complexContent>
+ * <extension
base="{urn:oasis:names:tc:SAML:2.0:protocol}SubjectQueryAbstractType">
+ * <sequence>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}Attribute"
maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class AttributeQueryType
+extends SubjectQueryAbstractType
+{
+ protected List<AttributeType> attribute = new ArrayList<AttributeType>();
+
+ public void add( AttributeType att )
+ {
+ this.attribute.add(att);
+ }
+
+ /**
+ * Gets the value of the attribute property.
+ */
+ public List<AttributeType> getAttribute()
+ {
+ return Collections.unmodifiableList( this.attribute );
+ }
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AuthnContextComparisonType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AuthnContextComparisonType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AuthnContextComparisonType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,72 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+
+/**
+ * <p>Java class for AuthnContextComparisonType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ * <p>
+ * <pre>
+ * <simpleType name="AuthnContextComparisonType">
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="exact"/>
+ * <enumeration value="minimum"/>
+ * <enumeration value="maximum"/>
+ * <enumeration value="better"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+public enum AuthnContextComparisonType
+{
+ EXACT("exact"),
+ MINIMUM("minimum"),
+ MAXIMUM("maximum"),
+ BETTER("better");
+
+ private final String value;
+
+ AuthnContextComparisonType(String v)
+ {
+ value = v;
+ }
+
+ public String value()
+ {
+ return value;
+ }
+
+ public static AuthnContextComparisonType fromValue(String v)
+ {
+ for (AuthnContextComparisonType c: AuthnContextComparisonType.values())
+ {
+ if (c.value.equals(v))
+ {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AuthnQueryType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AuthnQueryType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AuthnQueryType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,99 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+
+/**
+ * <p>Java class for AuthnQueryType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="AuthnQueryType">
+ * <complexContent>
+ * <extension
base="{urn:oasis:names:tc:SAML:2.0:protocol}SubjectQueryAbstractType">
+ * <sequence>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:protocol}RequestedAuthnContext"
minOccurs="0"/>
+ * </sequence>
+ * <attribute name="SessionIndex"
type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class AuthnQueryType
+extends SubjectQueryAbstractType
+{
+
+ protected RequestedAuthnContextType requestedAuthnContext;
+ protected String sessionIndex;
+
+ /**
+ * Gets the value of the requestedAuthnContext property.
+ *
+ * @return
+ * possible object is
+ * {@link RequestedAuthnContextType }
+ *
+ */
+ public RequestedAuthnContextType getRequestedAuthnContext() {
+ return requestedAuthnContext;
+ }
+
+ /**
+ * Sets the value of the requestedAuthnContext property.
+ *
+ * @param value
+ * allowed object is
+ * {@link RequestedAuthnContextType }
+ *
+ */
+ public void setRequestedAuthnContext(RequestedAuthnContextType value) {
+ this.requestedAuthnContext = value;
+ }
+
+ /**
+ * 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;
+ }
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AuthnRequestType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AuthnRequestType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AuthnRequestType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,365 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+import java.net.URI;
+
+import org.picketlink.identity.federation.newmodel.saml.v2.assertion.ConditionsType;
+import org.picketlink.identity.federation.newmodel.saml.v2.assertion.SubjectType;
+
+
+
+/**
+ * <p>Java class for AuthnRequestType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="AuthnRequestType">
+ * <complexContent>
+ * <extension
base="{urn:oasis:names:tc:SAML:2.0:protocol}RequestAbstractType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Subject"
minOccurs="0"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:protocol}NameIDPolicy"
minOccurs="0"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}Conditions"
minOccurs="0"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:protocol}RequestedAuthnContext"
minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:protocol}Scoping"
minOccurs="0"/>
+ * </sequence>
+ * <attribute name="ForceAuthn"
type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="IsPassive"
type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="ProtocolBinding"
type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="AssertionConsumerServiceIndex"
type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
+ * <attribute name="AssertionConsumerServiceURL"
type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="AttributeConsumingServiceIndex"
type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
+ * <attribute name="ProviderName"
type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class AuthnRequestType
+extends RequestAbstractType
+{
+
+ protected SubjectType subject;
+ protected NameIDPolicyType nameIDPolicy;
+ protected ConditionsType conditions;
+ protected RequestedAuthnContextType requestedAuthnContext;
+ protected ScopingType scoping;
+ protected Boolean forceAuthn;
+ protected Boolean isPassive;
+ protected URI protocolBinding;
+ protected Integer assertionConsumerServiceIndex;
+ protected URI assertionConsumerServiceURL;
+ protected Integer attributeConsumingServiceIndex;
+ protected String providerName;
+
+ /**
+ * Gets the value of the subject property.
+ *
+ * @return
+ * possible object is
+ * {@link SubjectType }
+ *
+ */
+ public SubjectType getSubject() {
+ return subject;
+ }
+
+ /**
+ * Sets the value of the subject property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SubjectType }
+ *
+ */
+ public void setSubject(SubjectType value) {
+ this.subject = value;
+ }
+
+ /**
+ * Gets the value of the nameIDPolicy property.
+ *
+ * @return
+ * possible object is
+ * {@link NameIDPolicyType }
+ *
+ */
+ public NameIDPolicyType getNameIDPolicy() {
+ return nameIDPolicy;
+ }
+
+ /**
+ * Sets the value of the nameIDPolicy property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NameIDPolicyType }
+ *
+ */
+ public void setNameIDPolicy(NameIDPolicyType value) {
+ this.nameIDPolicy = value;
+ }
+
+ /**
+ * Gets the value of the conditions property.
+ *
+ * @return
+ * possible object is
+ * {@link ConditionsType }
+ *
+ */
+ public ConditionsType getConditions() {
+ return conditions;
+ }
+
+ /**
+ * Sets the value of the conditions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ConditionsType }
+ *
+ */
+ public void setConditions(ConditionsType value) {
+ this.conditions = value;
+ }
+
+ /**
+ * Gets the value of the requestedAuthnContext property.
+ *
+ * @return
+ * possible object is
+ * {@link RequestedAuthnContextType }
+ *
+ */
+ public RequestedAuthnContextType getRequestedAuthnContext() {
+ return requestedAuthnContext;
+ }
+
+ /**
+ * Sets the value of the requestedAuthnContext property.
+ *
+ * @param value
+ * allowed object is
+ * {@link RequestedAuthnContextType }
+ *
+ */
+ public void setRequestedAuthnContext(RequestedAuthnContextType value) {
+ this.requestedAuthnContext = value;
+ }
+
+ /**
+ * Gets the value of the scoping property.
+ *
+ * @return
+ * possible object is
+ * {@link ScopingType }
+ *
+ */
+ public ScopingType getScoping() {
+ return scoping;
+ }
+
+ /**
+ * Sets the value of the scoping property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ScopingType }
+ *
+ */
+ public void setScoping(ScopingType value) {
+ this.scoping = value;
+ }
+
+ /**
+ * Gets the value of the forceAuthn property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isForceAuthn() {
+ return forceAuthn;
+ }
+
+ /**
+ * Sets the value of the forceAuthn property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setForceAuthn(Boolean value) {
+ this.forceAuthn = value;
+ }
+
+ /**
+ * Gets the value of the isPassive property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isIsPassive() {
+ return isPassive;
+ }
+
+ /**
+ * Sets the value of the isPassive property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIsPassive(Boolean value) {
+ this.isPassive = value;
+ }
+
+ /**
+ * Gets the value of the protocolBinding property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public URI getProtocolBinding() {
+ return protocolBinding;
+ }
+
+ /**
+ * Sets the value of the protocolBinding property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setProtocolBinding( URI value) {
+ this.protocolBinding = value;
+ }
+
+ /**
+ * Gets the value of the assertionConsumerServiceIndex property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getAssertionConsumerServiceIndex() {
+ return assertionConsumerServiceIndex;
+ }
+
+ /**
+ * Sets the value of the assertionConsumerServiceIndex property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setAssertionConsumerServiceIndex(Integer value) {
+ this.assertionConsumerServiceIndex = value;
+ }
+
+ /**
+ * Gets the value of the assertionConsumerServiceURL property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public URI getAssertionConsumerServiceURL() {
+ return assertionConsumerServiceURL;
+ }
+
+ /**
+ * Sets the value of the assertionConsumerServiceURL property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAssertionConsumerServiceURL( URI value) {
+ this.assertionConsumerServiceURL = value;
+ }
+
+ /**
+ * Gets the value of the attributeConsumingServiceIndex property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getAttributeConsumingServiceIndex() {
+ return attributeConsumingServiceIndex;
+ }
+
+ /**
+ * Sets the value of the attributeConsumingServiceIndex property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setAttributeConsumingServiceIndex(Integer value) {
+ this.attributeConsumingServiceIndex = value;
+ }
+
+ /**
+ * Gets the value of the providerName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getProviderName() {
+ return providerName;
+ }
+
+ /**
+ * Sets the value of the providerName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setProviderName(String value) {
+ this.providerName = value;
+ }
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AuthzDecisionQueryType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AuthzDecisionQueryType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/AuthzDecisionQueryType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,123 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+import java.net.URI;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+import org.picketlink.identity.federation.newmodel.saml.v2.assertion.ActionType;
+import org.picketlink.identity.federation.newmodel.saml.v2.assertion.EvidenceType;
+
+
+/**
+ * <p>Java class for AuthzDecisionQueryType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="AuthzDecisionQueryType">
+ * <complexContent>
+ * <extension
base="{urn:oasis:names:tc:SAML:2.0:protocol}SubjectQueryAbstractType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Action"
maxOccurs="unbounded"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}Evidence"
minOccurs="0"/>
+ * </sequence>
+ * <attribute name="Resource" use="required"
type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+public class AuthzDecisionQueryType
+extends SubjectQueryAbstractType
+{
+ protected List<ActionType> action = new ArrayList<ActionType> ();
+ protected EvidenceType evidence;
+ protected URI resource;
+
+ public void addAction( ActionType act )
+ {
+ this.action.add(act);
+ }
+
+ /**
+ * Gets the value of the action property.
+ */
+ public List<ActionType> getAction()
+ {
+ return Collections.unmodifiableList( this.action );
+ }
+
+ /**
+ * 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 URI getResource()
+ {
+ return resource;
+ }
+
+ /**
+ * Sets the value of the resource property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setResource( URI value)
+ {
+ this.resource = value;
+ }
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ExtensionsType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ExtensionsType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ExtensionsType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,64 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+
+/**
+ * <p>Java class for ExtensionsType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="ExtensionsType">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ */
+public class ExtensionsType
+{
+ protected List<Object> any = new ArrayList<Object>();
+
+ public void addExtension( Object extension )
+ {
+ any.add( extension );
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ */
+ public List<Object> getAny()
+ {
+ return Collections.unmodifiableList( this.any );
+ }
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/IDPEntryType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/IDPEntryType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/IDPEntryType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,126 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+import java.net.URI;
+
+
+/**
+ * <p>Java class for IDPEntryType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="IDPEntryType">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="ProviderID" use="required"
type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="Name"
type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="Loc"
type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class IDPEntryType
+{
+ protected URI providerID;
+ protected String name;
+ protected String loc;
+
+ /**
+ * Gets the value of the providerID property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public URI getProviderID()
+ {
+ return providerID;
+ }
+
+ /**
+ * Sets the value of the providerID property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setProviderID( URI value)
+ {
+ this.providerID = value;
+ }
+
+ /**
+ * 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 loc property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLoc() {
+ return loc;
+ }
+
+ /**
+ * Sets the value of the loc property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLoc(String value) {
+ this.loc = value;
+ }
+
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/IDPListType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/IDPListType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/IDPListType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -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.newmodel.saml.v2.protocol;
+
+import java.net.URI;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+
+/**
+ * <p>Java class for IDPListType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="IDPListType">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:protocol}IDPEntry"
maxOccurs="unbounded"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:protocol}GetComplete"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class IDPListType
+{
+ protected List<IDPEntryType> idpEntry = new ArrayList<IDPEntryType>();
+ protected URI getComplete;
+
+ public void addIDPEntry( IDPEntryType entry )
+ {
+ this.idpEntry.add(entry);
+ }
+
+ /**
+ * Gets the value of the idpEntry property.
+ *
+ */
+ public List<IDPEntryType> getIDPEntry()
+ {
+ return Collections.unmodifiableList( this.idpEntry );
+ }
+
+ /**
+ * Gets the value of the getComplete property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public URI getGetComplete() {
+ return getComplete;
+ }
+
+ /**
+ * Sets the value of the getComplete property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGetComplete( URI value) {
+ this.getComplete = value;
+ }
+
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/LogoutRequestType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/LogoutRequestType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/LogoutRequestType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,205 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+import org.picketlink.identity.federation.newmodel.saml.v2.assertion.BaseIDAbstractType;
+import
org.picketlink.identity.federation.newmodel.saml.v2.assertion.EncryptedElementType;
+import org.picketlink.identity.federation.newmodel.saml.v2.assertion.NameIDType;
+
+
+
+/**
+ * <p>Java class for LogoutRequestType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="LogoutRequestType">
+ * <complexContent>
+ * <extension
base="{urn:oasis:names:tc:SAML:2.0:protocol}RequestAbstractType">
+ * <sequence>
+ * <choice>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}BaseID"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}NameID"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedID"/>
+ * </choice>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:protocol}SessionIndex"
maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="Reason"
type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="NotOnOrAfter"
type="{http://www.w3.org/2001/XMLSchema}dateTime" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class LogoutRequestType
+ extends RequestAbstractType
+{
+ protected BaseIDAbstractType baseID;
+ protected NameIDType nameID;
+ protected EncryptedElementType encryptedID;
+ protected List<String> sessionIndex = new ArrayList<String>();
+ protected String reason;
+ protected XMLGregorianCalendar notOnOrAfter;
+
+ /**
+ * 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;
+ }
+
+ public void addSessionIndex( String index )
+ {
+ this.sessionIndex.add( index );
+ }
+
+ /**
+ * Gets the value of the sessionIndex property.
+ *
+ */
+ public List<String> getSessionIndex()
+ {
+ return Collections.unmodifiableList( this.sessionIndex );
+ }
+
+ /**
+ * Gets the value of the reason property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getReason() {
+ return reason;
+ }
+
+ /**
+ * Sets the value of the reason property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setReason(String value) {
+ this.reason = 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;
+ }
+
+}
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ManageNameIDRequestType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ManageNameIDRequestType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ManageNameIDRequestType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,186 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+import
org.picketlink.identity.federation.newmodel.saml.v2.assertion.EncryptedElementType;
+import org.picketlink.identity.federation.newmodel.saml.v2.assertion.NameIDType;
+
+
+
+/**
+ * <p>Java class for ManageNameIDRequestType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="ManageNameIDRequestType">
+ * <complexContent>
+ * <extension
base="{urn:oasis:names:tc:SAML:2.0:protocol}RequestAbstractType">
+ * <sequence>
+ * <choice>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}NameID"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedID"/>
+ * </choice>
+ * <choice>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:protocol}NewID"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:protocol}NewEncryptedID"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:protocol}Terminate"/>
+ * </choice>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class ManageNameIDRequestType
+extends RequestAbstractType
+{
+
+ protected NameIDType nameID;
+ protected EncryptedElementType encryptedID;
+ protected String newID;
+ protected EncryptedElementType newEncryptedID;
+ protected TerminateType terminate;
+
+ /**
+ * 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 newID property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getNewID() {
+ return newID;
+ }
+
+ /**
+ * Sets the value of the newID property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setNewID(String value) {
+ this.newID = value;
+ }
+
+ /**
+ * Gets the value of the newEncryptedID property.
+ *
+ * @return
+ * possible object is
+ * {@link EncryptedElementType }
+ *
+ */
+ public EncryptedElementType getNewEncryptedID() {
+ return newEncryptedID;
+ }
+
+ /**
+ * Sets the value of the newEncryptedID property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EncryptedElementType }
+ *
+ */
+ public void setNewEncryptedID(EncryptedElementType value) {
+ this.newEncryptedID = value;
+ }
+
+ /**
+ * Gets the value of the terminate property.
+ *
+ * @return
+ * possible object is
+ * {@link TerminateType }
+ *
+ */
+ public TerminateType getTerminate() {
+ return terminate;
+ }
+
+ /**
+ * Sets the value of the terminate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TerminateType }
+ *
+ */
+ public void setTerminate(TerminateType value) {
+ this.terminate = value;
+ }
+
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/NameIDMappingRequestType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/NameIDMappingRequestType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/NameIDMappingRequestType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,157 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+import org.picketlink.identity.federation.newmodel.saml.v2.assertion.BaseIDAbstractType;
+import
org.picketlink.identity.federation.newmodel.saml.v2.assertion.EncryptedElementType;
+import org.picketlink.identity.federation.newmodel.saml.v2.assertion.NameIDType;
+
+
+
+/**
+ * <p>Java class for NameIDMappingRequestType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="NameIDMappingRequestType">
+ * <complexContent>
+ * <extension
base="{urn:oasis:names:tc:SAML:2.0:protocol}RequestAbstractType">
+ * <sequence>
+ * <choice>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}BaseID"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}NameID"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedID"/>
+ * </choice>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:protocol}NameIDPolicy"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class NameIDMappingRequestType
+extends RequestAbstractType
+{
+ protected BaseIDAbstractType baseID;
+ protected NameIDType nameID;
+ protected EncryptedElementType encryptedID;
+ protected NameIDPolicyType nameIDPolicy;
+
+ /**
+ * 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 nameIDPolicy property.
+ *
+ * @return
+ * possible object is
+ * {@link NameIDPolicyType }
+ *
+ */
+ public NameIDPolicyType getNameIDPolicy() {
+ return nameIDPolicy;
+ }
+
+ /**
+ * Sets the value of the nameIDPolicy property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NameIDPolicyType }
+ *
+ */
+ public void setNameIDPolicy(NameIDPolicyType value) {
+ this.nameIDPolicy = value;
+ }
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/NameIDMappingResponseType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/NameIDMappingResponseType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/NameIDMappingResponseType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,100 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+import
org.picketlink.identity.federation.newmodel.saml.v2.assertion.EncryptedElementType;
+import org.picketlink.identity.federation.newmodel.saml.v2.assertion.NameIDType;
+
+/**
+ * <p>Java class for NameIDMappingResponseType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="NameIDMappingResponseType">
+ * <complexContent>
+ * <extension
base="{urn:oasis:names:tc:SAML:2.0:protocol}StatusResponseType">
+ * <choice>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}NameID"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedID"/>
+ * </choice>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class NameIDMappingResponseType
+extends StatusResponseType
+{
+ protected NameIDType nameID;
+ protected EncryptedElementType encryptedID;
+
+ /**
+ * 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;
+ }
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/NameIDPolicyType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/NameIDPolicyType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/NameIDPolicyType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,123 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+import java.net.URI;
+
+
+/**
+ * <p>Java class for NameIDPolicyType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="NameIDPolicyType">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="Format"
type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="SPNameQualifier"
type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="AllowCreate"
type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class NameIDPolicyType
+{
+ protected URI format;
+ protected String spNameQualifier;
+ protected Boolean allowCreate;
+
+ /**
+ * Gets the value of the format property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public URI getFormat() {
+ return format;
+ }
+
+ /**
+ * Sets the value of the format property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFormat( URI value) {
+ this.format = value;
+ }
+
+ /**
+ * Gets the value of the spNameQualifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSPNameQualifier() {
+ return spNameQualifier;
+ }
+
+ /**
+ * Sets the value of the spNameQualifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSPNameQualifier(String value) {
+ this.spNameQualifier = value;
+ }
+
+ /**
+ * Gets the value of the allowCreate property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isAllowCreate() {
+ return allowCreate;
+ }
+
+ /**
+ * Sets the value of the allowCreate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setAllowCreate(Boolean value) {
+ this.allowCreate = value;
+ }
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/RequestAbstractType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/RequestAbstractType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/RequestAbstractType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,265 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+import java.net.URI;
+
+import javax.xml.datatype.XMLGregorianCalendar;
+
+import org.picketlink.identity.federation.newmodel.saml.v2.assertion.NameIDType;
+import org.picketlink.identity.federation.saml.v2.SAML2Object;
+import org.picketlink.identity.xmlsec.w3.xmldsig.SignatureType;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for RequestAbstractType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="RequestAbstractType">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Issuer"
minOccurs="0"/>
+ * <element
ref="{http://www.w3.org/2000/09/xmldsig#}Signature"
minOccurs="0"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:protocol}Extensions"
minOccurs="0"/>
+ * </sequence>
+ * <attribute name="ID" use="required"
type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * <attribute name="Version" use="required"
type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="IssueInstant" use="required"
type="{http://www.w3.org/2001/XMLSchema}dateTime" />
+ * <attribute name="Destination"
type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="Consent"
type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public abstract class RequestAbstractType implements SAML2Object
+{
+ protected String id;
+
+ protected NameIDType issuer;
+ protected Element signature;
+ protected ExtensionsType extensions;
+ protected String version;
+ protected XMLGregorianCalendar issueInstant;
+ protected URI destination;
+ protected String consent;
+
+ /**
+ * Gets the value of the issuer property.
+ *
+ * @return
+ * possible object is
+ * {@link NameIDType }
+ *
+ */
+ public NameIDType getIssuer() {
+ return issuer;
+ }
+
+ /**
+ * Sets the value of the issuer property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NameIDType }
+ *
+ */
+ public void setIssuer(NameIDType value) {
+ this.issuer = value;
+ }
+
+ /**
+ * Gets the value of the signature property.
+ *
+ * @return
+ * possible object is
+ * {@link SignatureType }
+ *
+ */
+ public Element getSignature() {
+ return signature;
+ }
+
+ /**
+ * Sets the value of the signature property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SignatureType }
+ *
+ */
+ public void setSignature(Element value) {
+ this.signature = value;
+ }
+
+ /**
+ * Gets the value of the extensions property.
+ *
+ * @return
+ * possible object is
+ * {@link ExtensionsType }
+ *
+ */
+ public ExtensionsType getExtensions() {
+ return extensions;
+ }
+
+ /**
+ * Sets the value of the extensions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExtensionsType }
+ *
+ */
+ public void setExtensions(ExtensionsType value) {
+ this.extensions = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getID() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setID(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ return version;
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the issueInstant property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public XMLGregorianCalendar getIssueInstant() {
+ return issueInstant;
+ }
+
+ /**
+ * Sets the value of the issueInstant property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setIssueInstant(XMLGregorianCalendar value) {
+ this.issueInstant = value;
+ }
+
+ /**
+ * Gets the value of the destination property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public URI getDestination()
+ {
+ return destination;
+ }
+
+ /**
+ * Sets the value of the destination property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDestination( URI value) {
+ this.destination = value;
+ }
+
+ /**
+ * Gets the value of the consent property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getConsent() {
+ return consent;
+ }
+
+ /**
+ * Sets the value of the consent property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setConsent(String value) {
+ this.consent = value;
+ }
+
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/RequestedAuthnContextType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/RequestedAuthnContextType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/RequestedAuthnContextType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,126 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+/**
+ * <p>Java class for RequestedAuthnContextType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="RequestedAuthnContextType">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextClassRef"
maxOccurs="unbounded"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextDeclRef"
maxOccurs="unbounded"/>
+ * </choice>
+ * <attribute name="Comparison"
type="{urn:oasis:names:tc:SAML:2.0:protocol}AuthnContextComparisonType" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class RequestedAuthnContextType
+{
+ protected List<String> authnContextClassRef = new ArrayList<String>();
+ protected List<String> authnContextDeclRef = new ArrayList<String>();
+ protected AuthnContextComparisonType comparison;
+
+ public void addAuthnContextClassRef( String str )
+ {
+ this.authnContextClassRef.add(str);
+ }
+
+ public void addAuthnContextDeclRef( String str )
+ {
+ this.authnContextDeclRef.add(str);
+ }
+
+ /**
+ * Gets the value of the authnContextClassRef property.
+ *
+ */
+ public List<String> getAuthnContextClassRef()
+ {
+ return Collections.unmodifiableList( this.authnContextClassRef );
+ }
+
+ /**
+ * Gets the value of the authnContextDeclRef property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
authnContextDeclRef property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAuthnContextDeclRef().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getAuthnContextDeclRef()
+ {
+ return Collections.unmodifiableList( this.authnContextDeclRef );
+ }
+
+ /**
+ * Gets the value of the comparison property.
+ *
+ * @return
+ * possible object is
+ * {@link AuthnContextComparisonType }
+ *
+ */
+ public AuthnContextComparisonType getComparison()
+ {
+ return comparison;
+ }
+
+ /**
+ * Sets the value of the comparison property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AuthnContextComparisonType }
+ *
+ */
+ public void setComparison(AuthnContextComparisonType value)
+ {
+ this.comparison = value;
+ }
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ResponseType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ResponseType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ResponseType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,90 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+import
org.picketlink.identity.federation.newmodel.saml.v2.assertion.EncryptedAssertionType;
+import org.picketlink.identity.federation.saml.v2.assertion.AssertionType;
+
+/**
+ * <p>Java class for ResponseType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="ResponseType">
+ * <complexContent>
+ * <extension
base="{urn:oasis:names:tc:SAML:2.0:protocol}StatusResponseType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}Assertion"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedAssertion"/>
+ * </choice>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class ResponseType
+extends StatusResponseType
+{
+ protected List<ChoiceType> assertions = new
ArrayList<ResponseType.ChoiceType>();
+
+ public void addAssertion( ChoiceType choice )
+ {
+ assertions.add(choice);
+ }
+
+ /**
+ * Gets a read only list of assertions
+ */
+ public List<ChoiceType> getAssertions()
+ {
+ return Collections.unmodifiableList( assertions );
+ }
+
+ public static class ChoiceType
+ {
+ private AssertionType assertion;
+ private EncryptedAssertionType encryptedAssertion;
+ public ChoiceType(AssertionType assertion)
+ {
+ this.assertion = assertion;
+ }
+ public ChoiceType(EncryptedAssertionType encryptedAssertion)
+ {
+ this.encryptedAssertion = encryptedAssertion;
+ }
+ 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/newmodel/saml/v2/protocol/ScopingType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ScopingType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/ScopingType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,139 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+import java.math.BigInteger;
+import java.net.URI;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+
+/**
+ * <p>Java class for ScopingType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="ScopingType">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:protocol}IDPList"
minOccurs="0"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:protocol}RequesterID"
maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="ProxyCount"
type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class ScopingType
+{
+ protected IDPListType idpList;
+ protected List<URI> requesterID = new ArrayList<URI>();
+
+ protected BigInteger proxyCount;
+
+ /**
+ * Gets the value of the idpList property.
+ *
+ * @return
+ * possible object is
+ * {@link IDPListType }
+ *
+ */
+ public IDPListType getIDPList() {
+ return idpList;
+ }
+
+ /**
+ * Sets the value of the idpList property.
+ *
+ * @param value
+ * allowed object is
+ * {@link IDPListType }
+ *
+ */
+ public void setIDPList(IDPListType value) {
+ this.idpList = value;
+ }
+
+ /**
+ * Gets the value of the requesterID property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the requesterID
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getRequesterID().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<URI> getRequesterID()
+ {
+ return Collections.unmodifiableList( this.requesterID );
+ }
+
+ public void addRequesterID( URI uri )
+ {
+ this.requesterID.add( uri );
+ }
+
+ /**
+ * Gets the value of the proxyCount property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getProxyCount() {
+ return proxyCount;
+ }
+
+ /**
+ * Sets the value of the proxyCount property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setProxyCount(BigInteger value) {
+ this.proxyCount = value;
+ }
+
+}
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/StatusCodeType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/StatusCodeType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/StatusCodeType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,101 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+import java.net.URI;
+
+
+
+/**
+ * <p>Java class for StatusCodeType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="StatusCodeType">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:protocol}StatusCode"
minOccurs="0"/>
+ * </sequence>
+ * <attribute name="Value" use="required"
type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class StatusCodeType
+{
+ protected StatusCodeType statusCode;
+ protected URI value;
+
+ /**
+ * Gets the value of the statusCode property.
+ *
+ * @return
+ * possible object is
+ * {@link StatusCodeType }
+ *
+ */
+ public StatusCodeType getStatusCode() {
+ return statusCode;
+ }
+
+ /**
+ * Sets the value of the statusCode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link StatusCodeType }
+ *
+ */
+ public void setStatusCode(StatusCodeType value) {
+ this.statusCode = value;
+ }
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public URI getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue( URI value )
+ {
+ this.value = value;
+ }
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/StatusDetailType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/StatusDetailType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/StatusDetailType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,64 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+
+/**
+ * <p>Java class for StatusDetailType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="StatusDetailType">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class StatusDetailType
+{
+ protected List<Object> any = new ArrayList<Object>();
+
+ public void addStatusDetail( Object obj )
+ {
+ this.any.add( obj );
+ }
+
+ /**
+ * Gets the value of the any property.
+ */
+ public List<Object> getAny()
+ {
+ return Collections.unmodifiableList( this.any );
+ }
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/StatusResponseType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/StatusResponseType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/StatusResponseType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,312 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+import javax.xml.datatype.XMLGregorianCalendar;
+
+import org.picketlink.identity.federation.newmodel.saml.v2.assertion.NameIDType;
+import org.picketlink.identity.federation.saml.v2.SAML2Object;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for StatusResponseType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="StatusResponseType">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Issuer"
minOccurs="0"/>
+ * <element
ref="{http://www.w3.org/2000/09/xmldsig#}Signature"
minOccurs="0"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:protocol}Extensions"
minOccurs="0"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:protocol}Status"/>
+ * </sequence>
+ * <attribute name="ID" use="required"
type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * <attribute name="InResponseTo"
type="{http://www.w3.org/2001/XMLSchema}NCName" />
+ * <attribute name="Version" use="required"
type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="IssueInstant" use="required"
type="{http://www.w3.org/2001/XMLSchema}dateTime" />
+ * <attribute name="Destination"
type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="Consent"
type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class StatusResponseType implements SAML2Object
+{
+ protected NameIDType issuer;
+ protected Element signature;
+ protected ExtensionsType extensions;
+ protected StatusType status;
+ protected String id;
+ protected String inResponseTo;
+ protected String version;
+ protected XMLGregorianCalendar issueInstant;
+ protected String destination;
+ protected String consent;
+
+ /**
+ * Gets the value of the issuer property.
+ *
+ * @return
+ * possible object is
+ * {@link NameIDType }
+ *
+ */
+ public NameIDType getIssuer() {
+ return issuer;
+ }
+
+ /**
+ * Sets the value of the issuer property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NameIDType }
+ *
+ */
+ public void setIssuer(NameIDType value) {
+ this.issuer = value;
+ }
+
+ /**
+ * Gets the value of the signature property.
+ *
+ * @return
+ * possible object is
+ * {@link SignatureType }
+ *
+ */
+ public Element getSignature() {
+ return signature;
+ }
+
+ /**
+ * Sets the value of the signature property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SignatureType }
+ *
+ */
+ public void setSignature( Element value) {
+ this.signature = value;
+ }
+
+ /**
+ * Gets the value of the extensions property.
+ *
+ * @return
+ * possible object is
+ * {@link ExtensionsType }
+ *
+ */
+ public ExtensionsType getExtensions() {
+ return extensions;
+ }
+
+ /**
+ * Sets the value of the extensions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExtensionsType }
+ *
+ */
+ public void setExtensions(ExtensionsType value) {
+ this.extensions = value;
+ }
+
+ /**
+ * Gets the value of the status property.
+ *
+ * @return
+ * possible object is
+ * {@link StatusType }
+ *
+ */
+ public StatusType getStatus() {
+ return status;
+ }
+
+ /**
+ * Sets the value of the status property.
+ *
+ * @param value
+ * allowed object is
+ * {@link StatusType }
+ *
+ */
+ public void setStatus(StatusType value) {
+ this.status = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getID() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setID(String value) {
+ this.id = 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 version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ return version;
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the issueInstant property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public XMLGregorianCalendar getIssueInstant() {
+ return issueInstant;
+ }
+
+ /**
+ * Sets the value of the issueInstant property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setIssueInstant(XMLGregorianCalendar value) {
+ this.issueInstant = value;
+ }
+
+ /**
+ * Gets the value of the destination property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDestination() {
+ return destination;
+ }
+
+ /**
+ * Sets the value of the destination property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDestination(String value) {
+ this.destination = value;
+ }
+
+ /**
+ * Gets the value of the consent property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getConsent() {
+ return consent;
+ }
+
+ /**
+ * Sets the value of the consent property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setConsent(String value) {
+ this.consent = value;
+ }
+
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/StatusType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/StatusType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/StatusType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,125 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+
+
+/**
+ * <p>Java class for StatusType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="StatusType">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:protocol}StatusCode"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:protocol}StatusMessage"
minOccurs="0"/>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:protocol}StatusDetail"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class StatusType
+{
+ protected String statusMessage;
+ protected StatusCodeType statusCode;
+ protected StatusDetailType statusDetail;
+
+ /**
+ * Gets the value of the statusCode property.
+ *
+ * @return
+ * possible object is
+ * {@link StatusCodeType }
+ *
+ */
+ public StatusCodeType getStatusCode() {
+ return statusCode;
+ }
+
+ /**
+ * Sets the value of the statusCode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link StatusCodeType }
+ *
+ */
+ public void setStatusCode(StatusCodeType value) {
+ this.statusCode = value;
+ }
+
+ /**
+ * Gets the value of the statusMessage property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getStatusMessage() {
+ return statusMessage;
+ }
+
+ /**
+ * Sets the value of the statusMessage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setStatusMessage(String value) {
+ this.statusMessage = value;
+ }
+
+ /**
+ * Gets the value of the statusDetail property.
+ *
+ * @return
+ * possible object is
+ * {@link StatusDetailType }
+ *
+ */
+ public StatusDetailType getStatusDetail() {
+ return statusDetail;
+ }
+
+ /**
+ * Sets the value of the statusDetail property.
+ *
+ * @param value
+ * allowed object is
+ * {@link StatusDetailType }
+ *
+ */
+ public void setStatusDetail(StatusDetailType value) {
+ this.statusDetail = value;
+ }
+
+}
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/SubjectQueryAbstractType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/SubjectQueryAbstractType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/SubjectQueryAbstractType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,70 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+import org.picketlink.identity.federation.newmodel.saml.v2.assertion.SubjectType;
+
+
+/**
+ * <p>Java class for SubjectQueryAbstractType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="SubjectQueryAbstractType">
+ * <complexContent>
+ * <extension
base="{urn:oasis:names:tc:SAML:2.0:protocol}RequestAbstractType">
+ * <sequence>
+ * <element
ref="{urn:oasis:names:tc:SAML:2.0:assertion}Subject"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public abstract class SubjectQueryAbstractType
+extends RequestAbstractType
+{
+ protected SubjectType subject;
+
+ public void setSubject(SubjectType subject)
+ {
+ this.subject = subject;
+ }
+
+
+
+ /**
+ * Gets the value of the subject property.
+ *
+ * @return
+ * possible object is
+ * {@link SubjectType }
+ *
+ */
+ public SubjectType getSubject()
+ {
+ return subject;
+ }
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/TerminateType.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/TerminateType.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/TerminateType.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,42 @@
+/*
+ * 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.newmodel.saml.v2.protocol;
+
+/**
+ * <p>Java class for TerminateType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="TerminateType">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+public class TerminateType
+{
+}
\ No newline at end of file
Added:
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/package-info.java
===================================================================
---
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/package-info.java
(rev 0)
+++
federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/newmodel/saml/v2/protocol/package-info.java 2010-11-24
23:56:13 UTC (rev 562)
@@ -0,0 +1,4 @@
+/**
+ * Package containing the classes for the protocol of SAMLv2
+ */
+package org.picketlink.identity.federation.newmodel.saml.v2.protocol;