From defceef8afef538555c13d33e344a89a828a3d97 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Fri, 20 Dec 2013 12:35:28 +0100 Subject: inital --- .../util/xsd/saml/protocol/AttributeQueryType.java | 103 +++++++++ .../xsd/saml/protocol/AuthenticationQueryType.java | 62 ++++++ .../protocol/AuthorizationDecisionQueryType.java | 132 +++++++++++ .../gv/util/xsd/saml/protocol/ObjectFactory.java | 229 +++++++++++++++++++ .../util/xsd/saml/protocol/QueryAbstractType.java | 34 +++ .../xsd/saml/protocol/RequestAbstractType.java | 217 ++++++++++++++++++ .../at/gv/util/xsd/saml/protocol/RequestType.java | 244 +++++++++++++++++++++ .../xsd/saml/protocol/ResponseAbstractType.java | 236 ++++++++++++++++++++ .../at/gv/util/xsd/saml/protocol/ResponseType.java | 101 +++++++++ .../gv/util/xsd/saml/protocol/StatusCodeType.java | 91 ++++++++ .../util/xsd/saml/protocol/StatusDetailType.java | 71 ++++++ .../at/gv/util/xsd/saml/protocol/StatusType.java | 118 ++++++++++ .../saml/protocol/SubjectQueryAbstractType.java | 72 ++++++ .../at/gv/util/xsd/saml/protocol/package-info.java | 2 + 14 files changed, 1712 insertions(+) create mode 100644 src/main/java/at/gv/util/xsd/saml/protocol/AttributeQueryType.java create mode 100644 src/main/java/at/gv/util/xsd/saml/protocol/AuthenticationQueryType.java create mode 100644 src/main/java/at/gv/util/xsd/saml/protocol/AuthorizationDecisionQueryType.java create mode 100644 src/main/java/at/gv/util/xsd/saml/protocol/ObjectFactory.java create mode 100644 src/main/java/at/gv/util/xsd/saml/protocol/QueryAbstractType.java create mode 100644 src/main/java/at/gv/util/xsd/saml/protocol/RequestAbstractType.java create mode 100644 src/main/java/at/gv/util/xsd/saml/protocol/RequestType.java create mode 100644 src/main/java/at/gv/util/xsd/saml/protocol/ResponseAbstractType.java create mode 100644 src/main/java/at/gv/util/xsd/saml/protocol/ResponseType.java create mode 100644 src/main/java/at/gv/util/xsd/saml/protocol/StatusCodeType.java create mode 100644 src/main/java/at/gv/util/xsd/saml/protocol/StatusDetailType.java create mode 100644 src/main/java/at/gv/util/xsd/saml/protocol/StatusType.java create mode 100644 src/main/java/at/gv/util/xsd/saml/protocol/SubjectQueryAbstractType.java create mode 100644 src/main/java/at/gv/util/xsd/saml/protocol/package-info.java (limited to 'src/main/java/at/gv/util/xsd/saml/protocol') diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/AttributeQueryType.java b/src/main/java/at/gv/util/xsd/saml/protocol/AttributeQueryType.java new file mode 100644 index 0000000..e1beeb4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/AttributeQueryType.java @@ -0,0 +1,103 @@ + +package at.gv.util.xsd.saml.protocol; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + +import at.gv.util.xsd.saml.assertion.AttributeDesignatorType; + + +/** + *

Java class for AttributeQueryType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="AttributeQueryType">
+ *   <complexContent>
+ *     <extension base="{urn:oasis:names:tc:SAML:1.0:protocol}SubjectQueryAbstractType">
+ *       <sequence>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AttributeDesignator" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="Resource" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *     </extension>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AttributeQueryType", propOrder = { + "attributeDesignator" +}) +public class AttributeQueryType + extends SubjectQueryAbstractType +{ + + @XmlElement(name = "AttributeDesignator", namespace = "urn:oasis:names:tc:SAML:1.0:assertion") + protected List attributeDesignator; + @XmlAttribute(name = "Resource") + @XmlSchemaType(name = "anyURI") + protected String resource; + + /** + * Gets the value of the attributeDesignator property. + * + *

+ * 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 set method for the attributeDesignator property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getAttributeDesignator().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link AttributeDesignatorType } + * + * + */ + public List getAttributeDesignator() { + if (attributeDesignator == null) { + attributeDesignator = new ArrayList(); + } + return this.attributeDesignator; + } + + /** + * Gets the value of the resource property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getResource() { + return resource; + } + + /** + * Sets the value of the resource property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setResource(String value) { + this.resource = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/AuthenticationQueryType.java b/src/main/java/at/gv/util/xsd/saml/protocol/AuthenticationQueryType.java new file mode 100644 index 0000000..d5e0be0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/AuthenticationQueryType.java @@ -0,0 +1,62 @@ + +package at.gv.util.xsd.saml.protocol; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for AuthenticationQueryType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="AuthenticationQueryType">
+ *   <complexContent>
+ *     <extension base="{urn:oasis:names:tc:SAML:1.0:protocol}SubjectQueryAbstractType">
+ *       <attribute name="AuthenticationMethod" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *     </extension>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AuthenticationQueryType") +public class AuthenticationQueryType + extends SubjectQueryAbstractType +{ + + @XmlAttribute(name = "AuthenticationMethod") + @XmlSchemaType(name = "anyURI") + protected String authenticationMethod; + + /** + * Gets the value of the authenticationMethod property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAuthenticationMethod() { + return authenticationMethod; + } + + /** + * Sets the value of the authenticationMethod property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAuthenticationMethod(String value) { + this.authenticationMethod = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/AuthorizationDecisionQueryType.java b/src/main/java/at/gv/util/xsd/saml/protocol/AuthorizationDecisionQueryType.java new file mode 100644 index 0000000..78b7c31 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/AuthorizationDecisionQueryType.java @@ -0,0 +1,132 @@ + +package at.gv.util.xsd.saml.protocol; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + +import at.gv.util.xsd.saml.assertion.ActionType; +import at.gv.util.xsd.saml.assertion.EvidenceType; + + +/** + *

Java class for AuthorizationDecisionQueryType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="AuthorizationDecisionQueryType">
+ *   <complexContent>
+ *     <extension base="{urn:oasis:names:tc:SAML:1.0:protocol}SubjectQueryAbstractType">
+ *       <sequence>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Action" maxOccurs="unbounded"/>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Evidence" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="Resource" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *     </extension>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AuthorizationDecisionQueryType", propOrder = { + "action", + "evidence" +}) +public class AuthorizationDecisionQueryType + extends SubjectQueryAbstractType +{ + + @XmlElement(name = "Action", namespace = "urn:oasis:names:tc:SAML:1.0:assertion", required = true) + protected List action; + @XmlElement(name = "Evidence", namespace = "urn:oasis:names:tc:SAML:1.0:assertion") + protected EvidenceType evidence; + @XmlAttribute(name = "Resource", required = true) + @XmlSchemaType(name = "anyURI") + protected String resource; + + /** + * Gets the value of the action property. + * + *

+ * 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 set method for the action property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getAction().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ActionType } + * + * + */ + public List getAction() { + if (action == null) { + action = new ArrayList(); + } + return 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 String getResource() { + return resource; + } + + /** + * Sets the value of the resource property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setResource(String value) { + this.resource = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/ObjectFactory.java b/src/main/java/at/gv/util/xsd/saml/protocol/ObjectFactory.java new file mode 100644 index 0000000..fc3010d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/ObjectFactory.java @@ -0,0 +1,229 @@ + +package at.gv.util.xsd.saml.protocol; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.zustellung.util.xsd.saml.protocol package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Query_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "Query"); + private final static QName _Request_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "Request"); + private final static QName _Status_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "Status"); + private final static QName _SubjectQuery_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "SubjectQuery"); + private final static QName _AttributeQuery_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "AttributeQuery"); + private final static QName _AuthorizationDecisionQuery_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "AuthorizationDecisionQuery"); + private final static QName _Response_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "Response"); + private final static QName _AuthenticationQuery_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "AuthenticationQuery"); + private final static QName _AssertionArtifact_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "AssertionArtifact"); + private final static QName _StatusCode_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "StatusCode"); + private final static QName _RespondWith_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "RespondWith"); + private final static QName _StatusMessage_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "StatusMessage"); + private final static QName _StatusDetail_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "StatusDetail"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.zustellung.util.xsd.saml.protocol + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link StatusCodeType } + * + */ + public StatusCodeType createStatusCodeType() { + return new StatusCodeType(); + } + + /** + * Create an instance of {@link RequestType } + * + */ + public RequestType createRequestType() { + return new RequestType(); + } + + /** + * Create an instance of {@link AuthenticationQueryType } + * + */ + public AuthenticationQueryType createAuthenticationQueryType() { + return new AuthenticationQueryType(); + } + + /** + * Create an instance of {@link ResponseType } + * + */ + public ResponseType createResponseType() { + return new ResponseType(); + } + + /** + * Create an instance of {@link AttributeQueryType } + * + */ + public AttributeQueryType createAttributeQueryType() { + return new AttributeQueryType(); + } + + /** + * Create an instance of {@link StatusType } + * + */ + public StatusType createStatusType() { + return new StatusType(); + } + + /** + * Create an instance of {@link AuthorizationDecisionQueryType } + * + */ + public AuthorizationDecisionQueryType createAuthorizationDecisionQueryType() { + return new AuthorizationDecisionQueryType(); + } + + /** + * Create an instance of {@link StatusDetailType } + * + */ + public StatusDetailType createStatusDetailType() { + return new StatusDetailType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link QueryAbstractType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "Query") + public JAXBElement createQuery(QueryAbstractType value) { + return new JAXBElement(_Query_QNAME, QueryAbstractType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "Request") + public JAXBElement createRequest(RequestType value) { + return new JAXBElement(_Request_QNAME, RequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link StatusType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "Status") + public JAXBElement createStatus(StatusType value) { + return new JAXBElement(_Status_QNAME, StatusType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SubjectQueryAbstractType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "SubjectQuery") + public JAXBElement createSubjectQuery(SubjectQueryAbstractType value) { + return new JAXBElement(_SubjectQuery_QNAME, SubjectQueryAbstractType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AttributeQueryType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "AttributeQuery") + public JAXBElement createAttributeQuery(AttributeQueryType value) { + return new JAXBElement(_AttributeQuery_QNAME, AttributeQueryType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AuthorizationDecisionQueryType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "AuthorizationDecisionQuery") + public JAXBElement createAuthorizationDecisionQuery(AuthorizationDecisionQueryType value) { + return new JAXBElement(_AuthorizationDecisionQuery_QNAME, AuthorizationDecisionQueryType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "Response") + public JAXBElement createResponse(ResponseType value) { + return new JAXBElement(_Response_QNAME, ResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AuthenticationQueryType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "AuthenticationQuery") + public JAXBElement createAuthenticationQuery(AuthenticationQueryType value) { + return new JAXBElement(_AuthenticationQuery_QNAME, AuthenticationQueryType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "AssertionArtifact") + public JAXBElement createAssertionArtifact(String value) { + return new JAXBElement(_AssertionArtifact_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link StatusCodeType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "StatusCode") + public JAXBElement createStatusCode(StatusCodeType value) { + return new JAXBElement(_StatusCode_QNAME, StatusCodeType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link QName }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "RespondWith") + public JAXBElement createRespondWith(QName value) { + return new JAXBElement(_RespondWith_QNAME, QName.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "StatusMessage") + public JAXBElement createStatusMessage(String value) { + return new JAXBElement(_StatusMessage_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link StatusDetailType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "StatusDetail") + public JAXBElement createStatusDetail(StatusDetailType value) { + return new JAXBElement(_StatusDetail_QNAME, StatusDetailType.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/QueryAbstractType.java b/src/main/java/at/gv/util/xsd/saml/protocol/QueryAbstractType.java new file mode 100644 index 0000000..a6b82ae --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/QueryAbstractType.java @@ -0,0 +1,34 @@ + +package at.gv.util.xsd.saml.protocol; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for QueryAbstractType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="QueryAbstractType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "QueryAbstractType") +@XmlSeeAlso({ + SubjectQueryAbstractType.class +}) +public abstract class QueryAbstractType { + + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/RequestAbstractType.java b/src/main/java/at/gv/util/xsd/saml/protocol/RequestAbstractType.java new file mode 100644 index 0000000..337ebd5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/RequestAbstractType.java @@ -0,0 +1,217 @@ + +package at.gv.util.xsd.saml.protocol; + +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.namespace.QName; + +import at.gv.util.xsd.xmldsig.SignatureType; + + +/** + *

Java class for RequestAbstractType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="RequestAbstractType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}RespondWith" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="RequestID" use="required" type="{urn:oasis:names:tc:SAML:1.0:assertion}IDType" />
+ *       <attribute name="MajorVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
+ *       <attribute name="MinorVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
+ *       <attribute name="IssueInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RequestAbstractType", propOrder = { + "respondWith", + "signature" +}) +@XmlSeeAlso({ + RequestType.class +}) +public abstract class RequestAbstractType { + + @XmlElement(name = "RespondWith") + protected List respondWith; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected SignatureType signature; + @XmlAttribute(name = "RequestID", required = true) + protected String requestID; + @XmlAttribute(name = "MajorVersion", required = true) + protected BigInteger majorVersion; + @XmlAttribute(name = "MinorVersion", required = true) + protected BigInteger minorVersion; + @XmlAttribute(name = "IssueInstant", required = true) + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar issueInstant; + + /** + * Gets the value of the respondWith property. + * + *

+ * 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 set method for the respondWith property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getRespondWith().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link QName } + * + * + */ + public List getRespondWith() { + if (respondWith == null) { + respondWith = new ArrayList(); + } + return this.respondWith; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Gets the value of the requestID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRequestID() { + return requestID; + } + + /** + * Sets the value of the requestID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRequestID(String value) { + this.requestID = value; + } + + /** + * Gets the value of the majorVersion property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getMajorVersion() { + return majorVersion; + } + + /** + * Sets the value of the majorVersion property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setMajorVersion(BigInteger value) { + this.majorVersion = value; + } + + /** + * Gets the value of the minorVersion property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getMinorVersion() { + return minorVersion; + } + + /** + * Sets the value of the minorVersion property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setMinorVersion(BigInteger value) { + this.minorVersion = 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/RequestType.java b/src/main/java/at/gv/util/xsd/saml/protocol/RequestType.java new file mode 100644 index 0000000..1d08847 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/RequestType.java @@ -0,0 +1,244 @@ + +package at.gv.util.xsd.saml.protocol; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for RequestType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="RequestType">
+ *   <complexContent>
+ *     <extension base="{urn:oasis:names:tc:SAML:1.0:protocol}RequestAbstractType">
+ *       <choice>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}Query"/>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}SubjectQuery"/>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}AuthenticationQuery"/>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}AttributeQuery"/>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}AuthorizationDecisionQuery"/>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AssertionIDReference" maxOccurs="unbounded"/>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}AssertionArtifact" maxOccurs="unbounded"/>
+ *       </choice>
+ *     </extension>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RequestType", propOrder = { + "query", + "subjectQuery", + "authenticationQuery", + "attributeQuery", + "authorizationDecisionQuery", + "assertionIDReference", + "assertionArtifact" +}) +public class RequestType + extends RequestAbstractType +{ + + @XmlElement(name = "Query") + protected QueryAbstractType query; + @XmlElement(name = "SubjectQuery") + protected SubjectQueryAbstractType subjectQuery; + @XmlElement(name = "AuthenticationQuery") + protected AuthenticationQueryType authenticationQuery; + @XmlElement(name = "AttributeQuery") + protected AttributeQueryType attributeQuery; + @XmlElement(name = "AuthorizationDecisionQuery") + protected AuthorizationDecisionQueryType authorizationDecisionQuery; + @XmlElement(name = "AssertionIDReference", namespace = "urn:oasis:names:tc:SAML:1.0:assertion") + protected List assertionIDReference; + @XmlElement(name = "AssertionArtifact") + protected List assertionArtifact; + + /** + * Gets the value of the query property. + * + * @return + * possible object is + * {@link QueryAbstractType } + * + */ + public QueryAbstractType getQuery() { + return query; + } + + /** + * Sets the value of the query property. + * + * @param value + * allowed object is + * {@link QueryAbstractType } + * + */ + public void setQuery(QueryAbstractType value) { + this.query = value; + } + + /** + * Gets the value of the subjectQuery property. + * + * @return + * possible object is + * {@link SubjectQueryAbstractType } + * + */ + public SubjectQueryAbstractType getSubjectQuery() { + return subjectQuery; + } + + /** + * Sets the value of the subjectQuery property. + * + * @param value + * allowed object is + * {@link SubjectQueryAbstractType } + * + */ + public void setSubjectQuery(SubjectQueryAbstractType value) { + this.subjectQuery = value; + } + + /** + * Gets the value of the authenticationQuery property. + * + * @return + * possible object is + * {@link AuthenticationQueryType } + * + */ + public AuthenticationQueryType getAuthenticationQuery() { + return authenticationQuery; + } + + /** + * Sets the value of the authenticationQuery property. + * + * @param value + * allowed object is + * {@link AuthenticationQueryType } + * + */ + public void setAuthenticationQuery(AuthenticationQueryType value) { + this.authenticationQuery = value; + } + + /** + * Gets the value of the attributeQuery property. + * + * @return + * possible object is + * {@link AttributeQueryType } + * + */ + public AttributeQueryType getAttributeQuery() { + return attributeQuery; + } + + /** + * Sets the value of the attributeQuery property. + * + * @param value + * allowed object is + * {@link AttributeQueryType } + * + */ + public void setAttributeQuery(AttributeQueryType value) { + this.attributeQuery = value; + } + + /** + * Gets the value of the authorizationDecisionQuery property. + * + * @return + * possible object is + * {@link AuthorizationDecisionQueryType } + * + */ + public AuthorizationDecisionQueryType getAuthorizationDecisionQuery() { + return authorizationDecisionQuery; + } + + /** + * Sets the value of the authorizationDecisionQuery property. + * + * @param value + * allowed object is + * {@link AuthorizationDecisionQueryType } + * + */ + public void setAuthorizationDecisionQuery(AuthorizationDecisionQueryType value) { + this.authorizationDecisionQuery = value; + } + + /** + * Gets the value of the assertionIDReference property. + * + *

+ * 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 set method for the assertionIDReference property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getAssertionIDReference().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getAssertionIDReference() { + if (assertionIDReference == null) { + assertionIDReference = new ArrayList(); + } + return this.assertionIDReference; + } + + /** + * Gets the value of the assertionArtifact property. + * + *

+ * 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 set method for the assertionArtifact property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getAssertionArtifact().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getAssertionArtifact() { + if (assertionArtifact == null) { + assertionArtifact = new ArrayList(); + } + return this.assertionArtifact; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/ResponseAbstractType.java b/src/main/java/at/gv/util/xsd/saml/protocol/ResponseAbstractType.java new file mode 100644 index 0000000..6e35e87 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/ResponseAbstractType.java @@ -0,0 +1,236 @@ + +package at.gv.util.xsd.saml.protocol; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + +import at.gv.util.xsd.xmldsig.SignatureType; + + +/** + *

Java class for ResponseAbstractType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="ResponseAbstractType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="ResponseID" use="required" type="{urn:oasis:names:tc:SAML:1.0:assertion}IDType" />
+ *       <attribute name="InResponseTo" type="{urn:oasis:names:tc:SAML:1.0:assertion}IDReferenceType" />
+ *       <attribute name="MajorVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
+ *       <attribute name="MinorVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
+ *       <attribute name="IssueInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
+ *       <attribute name="Recipient" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ResponseAbstractType", propOrder = { + "signature" +}) +@XmlSeeAlso({ + ResponseType.class +}) +public abstract class ResponseAbstractType { + + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected SignatureType signature; + @XmlAttribute(name = "ResponseID", required = true) + protected String responseID; + @XmlAttribute(name = "InResponseTo") + protected String inResponseTo; + @XmlAttribute(name = "MajorVersion", required = true) + protected BigInteger majorVersion; + @XmlAttribute(name = "MinorVersion", required = true) + protected BigInteger minorVersion; + @XmlAttribute(name = "IssueInstant", required = true) + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar issueInstant; + @XmlAttribute(name = "Recipient") + @XmlSchemaType(name = "anyURI") + protected String recipient; + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Gets the value of the responseID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getResponseID() { + return responseID; + } + + /** + * Sets the value of the responseID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setResponseID(String value) { + this.responseID = 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 majorVersion property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getMajorVersion() { + return majorVersion; + } + + /** + * Sets the value of the majorVersion property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setMajorVersion(BigInteger value) { + this.majorVersion = value; + } + + /** + * Gets the value of the minorVersion property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getMinorVersion() { + return minorVersion; + } + + /** + * Sets the value of the minorVersion property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setMinorVersion(BigInteger value) { + this.minorVersion = 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 recipient property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRecipient() { + return recipient; + } + + /** + * Sets the value of the recipient property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRecipient(String value) { + this.recipient = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/ResponseType.java b/src/main/java/at/gv/util/xsd/saml/protocol/ResponseType.java new file mode 100644 index 0000000..f69b0d5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/ResponseType.java @@ -0,0 +1,101 @@ + +package at.gv.util.xsd.saml.protocol; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + +import at.gv.util.xsd.saml.assertion.AssertionType; + + +/** + *

Java class for ResponseType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="ResponseType">
+ *   <complexContent>
+ *     <extension base="{urn:oasis:names:tc:SAML:1.0:protocol}ResponseAbstractType">
+ *       <sequence>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}Status"/>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Assertion" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </extension>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ResponseType", propOrder = { + "status", + "assertion" +}) +public class ResponseType + extends ResponseAbstractType +{ + + @XmlElement(name = "Status", required = true) + protected StatusType status; + @XmlElement(name = "Assertion", namespace = "urn:oasis:names:tc:SAML:1.0:assertion") + protected List assertion; + + /** + * 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 assertion property. + * + *

+ * 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 set method for the assertion property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getAssertion().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link AssertionType } + * + * + */ + public List getAssertion() { + if (assertion == null) { + assertion = new ArrayList(); + } + return this.assertion; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/StatusCodeType.java b/src/main/java/at/gv/util/xsd/saml/protocol/StatusCodeType.java new file mode 100644 index 0000000..7ec76d6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/StatusCodeType.java @@ -0,0 +1,91 @@ + +package at.gv.util.xsd.saml.protocol; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.namespace.QName; + + +/** + *

Java class for StatusCodeType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="StatusCodeType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}StatusCode" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="Value" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "StatusCodeType", propOrder = { + "statusCode" +}) +public class StatusCodeType { + + @XmlElement(name = "StatusCode") + protected StatusCodeType statusCode; + @XmlAttribute(name = "Value", required = true) + protected QName 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 QName } + * + */ + public QName getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link QName } + * + */ + public void setValue(QName value) { + this.value = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/StatusDetailType.java b/src/main/java/at/gv/util/xsd/saml/protocol/StatusDetailType.java new file mode 100644 index 0000000..635afd8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/StatusDetailType.java @@ -0,0 +1,71 @@ + +package at.gv.util.xsd.saml.protocol; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + *

Java class for StatusDetailType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="StatusDetailType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "StatusDetailType", propOrder = { + "any" +}) +public class StatusDetailType { + + @XmlAnyElement(lax = true) + protected List any; + + /** + * Gets the value of the any property. + * + *

+ * 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 set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getAny().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link Object } + * + * + */ + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/StatusType.java b/src/main/java/at/gv/util/xsd/saml/protocol/StatusType.java new file mode 100644 index 0000000..efad7bb --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/StatusType.java @@ -0,0 +1,118 @@ + +package at.gv.util.xsd.saml.protocol; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for StatusType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="StatusType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}StatusCode"/>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}StatusMessage" minOccurs="0"/>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}StatusDetail" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "StatusType", propOrder = { + "statusCode", + "statusMessage", + "statusDetail" +}) +public class StatusType { + + @XmlElement(name = "StatusCode", required = true) + protected StatusCodeType statusCode; + @XmlElement(name = "StatusMessage") + protected String statusMessage; + @XmlElement(name = "StatusDetail") + 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/SubjectQueryAbstractType.java b/src/main/java/at/gv/util/xsd/saml/protocol/SubjectQueryAbstractType.java new file mode 100644 index 0000000..9cb28cb --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/SubjectQueryAbstractType.java @@ -0,0 +1,72 @@ + +package at.gv.util.xsd.saml.protocol; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + +import at.gv.util.xsd.saml.assertion.SubjectType; + + +/** + *

Java class for SubjectQueryAbstractType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="SubjectQueryAbstractType">
+ *   <complexContent>
+ *     <extension base="{urn:oasis:names:tc:SAML:1.0:protocol}QueryAbstractType">
+ *       <sequence>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Subject"/>
+ *       </sequence>
+ *     </extension>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SubjectQueryAbstractType", propOrder = { + "subject" +}) +@XmlSeeAlso({ + AuthorizationDecisionQueryType.class, + AuthenticationQueryType.class, + AttributeQueryType.class +}) +public abstract class SubjectQueryAbstractType + extends QueryAbstractType +{ + + @XmlElement(name = "Subject", namespace = "urn:oasis:names:tc:SAML:1.0:assertion", required = true) + protected SubjectType subject; + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/package-info.java b/src/main/java/at/gv/util/xsd/saml/protocol/package-info.java new file mode 100644 index 0000000..195a8cf --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.saml.protocol; -- cgit v1.2.3