diff options
author | Bojan Suzic <bojan.suzic@iaik.tugraz.at> | 2014-11-03 13:05:12 +0100 |
---|---|---|
committer | Bojan Suzic <bojan.suzic@iaik.tugraz.at> | 2014-11-03 13:05:12 +0100 |
commit | c2819264cface1a6f11cfe692429a0e93804794f (patch) | |
tree | 710858de5e3d9883d36213b041e5baff25d1da29 /id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion | |
parent | 22a66cdf1b5f7916422034f3338e680202ddc31b (diff) | |
parent | 2886006ba2ca141377e66a330df5fc52797c2755 (diff) | |
download | moa-id-spss-c2819264cface1a6f11cfe692429a0e93804794f.tar.gz moa-id-spss-c2819264cface1a6f11cfe692429a0e93804794f.tar.bz2 moa-id-spss-c2819264cface1a6f11cfe692429a0e93804794f.zip |
merging
Diffstat (limited to 'id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion')
22 files changed, 0 insertions, 2442 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/ActionType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/ActionType.java deleted file mode 100644 index 36a5ef407..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/ActionType.java +++ /dev/null @@ -1,89 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -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; -import javax.xml.bind.annotation.XmlValue; - - -/** - * <p>Java class for ActionType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="ActionType"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="Namespace" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * </extension> - * </simpleContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ActionType", propOrder = { - "value" -}) -public class ActionType { - - @XmlValue - protected String value; - @XmlAttribute(name = "Namespace") - @XmlSchemaType(name = "anyURI") - protected String namespace; - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the namespace property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getNamespace() { - return namespace; - } - - /** - * Sets the value of the namespace property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setNamespace(String value) { - this.namespace = value; - } - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AdviceType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AdviceType.java deleted file mode 100644 index fb556ea95..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AdviceType.java +++ /dev/null @@ -1,82 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlElementRefs; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * <p>Java class for AdviceType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="AdviceType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AssertionIDReference"/> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Assertion"/> - * <any processContents='lax' namespace='##other'/> - * </choice> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AdviceType", propOrder = { - "assertionIDReferenceOrAssertionOrAny" -}) -public class AdviceType { - - @XmlElementRefs({ - @XmlElementRef(name = "Assertion", namespace = "urn:oasis:names:tc:SAML:1.0:assertion", type = JAXBElement.class), - @XmlElementRef(name = "AssertionIDReference", namespace = "urn:oasis:names:tc:SAML:1.0:assertion", type = JAXBElement.class) - }) - @XmlAnyElement(lax = true) - protected List<Object> assertionIDReferenceOrAssertionOrAny; - - /** - * Gets the value of the assertionIDReferenceOrAssertionOrAny 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 assertionIDReferenceOrAssertionOrAny property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAssertionIDReferenceOrAssertionOrAny().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link JAXBElement }{@code <}{@link String }{@code >} - * {@link Element } - * {@link JAXBElement }{@code <}{@link AssertionType }{@code >} - * {@link Object } - * - * - */ - public List<Object> getAssertionIDReferenceOrAssertionOrAny() { - if (assertionIDReferenceOrAssertionOrAny == null) { - assertionIDReferenceOrAssertionOrAny = new ArrayList<Object>(); - } - return this.assertionIDReferenceOrAssertionOrAny; - } - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AssertionType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AssertionType.java deleted file mode 100644 index 027a40fb2..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AssertionType.java +++ /dev/null @@ -1,311 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -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.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.datatype.XMLGregorianCalendar; -import at.gv.util.xsd.xmldsig.SignatureType; - - -/** - * <p>Java class for AssertionType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="AssertionType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Conditions" minOccurs="0"/> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Advice" minOccurs="0"/> - * <choice maxOccurs="unbounded"> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Statement"/> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectStatement"/> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AuthenticationStatement"/> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AuthorizationDecisionStatement"/> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AttributeStatement"/> - * </choice> - * <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/> - * </sequence> - * <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="AssertionID" use="required" type="{urn:oasis:names:tc:SAML:1.0:assertion}IDType" /> - * <attribute name="Issuer" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="IssueInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AssertionType", propOrder = { - "conditions", - "advice", - "statementOrSubjectStatementOrAuthenticationStatement", - "signature" -}) -public class AssertionType { - - @XmlElement(name = "Conditions") - protected ConditionsType conditions; - @XmlElement(name = "Advice") - protected AdviceType advice; - @XmlElements({ - @XmlElement(name = "Statement"), - @XmlElement(name = "SubjectStatement", type = SubjectStatementAbstractType.class), - @XmlElement(name = "AuthenticationStatement", type = AuthenticationStatementType.class), - @XmlElement(name = "AuthorizationDecisionStatement", type = AuthorizationDecisionStatementType.class), - @XmlElement(name = "AttributeStatement", type = AttributeStatementType.class) - }) - protected List<StatementAbstractType> statementOrSubjectStatementOrAuthenticationStatement; - @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") - protected SignatureType signature; - @XmlAttribute(name = "MajorVersion", required = true) - protected BigInteger majorVersion; - @XmlAttribute(name = "MinorVersion", required = true) - protected BigInteger minorVersion; - @XmlAttribute(name = "AssertionID", required = true) - protected String assertionID; - @XmlAttribute(name = "Issuer", required = true) - protected String issuer; - @XmlAttribute(name = "IssueInstant", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar issueInstant; - - /** - * 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 advice property. - * - * @return - * possible object is - * {@link AdviceType } - * - */ - public AdviceType getAdvice() { - return advice; - } - - /** - * Sets the value of the advice property. - * - * @param value - * allowed object is - * {@link AdviceType } - * - */ - public void setAdvice(AdviceType value) { - this.advice = value; - } - - /** - * Gets the value of the statementOrSubjectStatementOrAuthenticationStatement 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 statementOrSubjectStatementOrAuthenticationStatement property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getStatementOrSubjectStatementOrAuthenticationStatement().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link StatementAbstractType } - * {@link SubjectStatementAbstractType } - * {@link AuthenticationStatementType } - * {@link AuthorizationDecisionStatementType } - * {@link AttributeStatementType } - * - * - */ - public List<StatementAbstractType> getStatementOrSubjectStatementOrAuthenticationStatement() { - if (statementOrSubjectStatementOrAuthenticationStatement == null) { - statementOrSubjectStatementOrAuthenticationStatement = new ArrayList<StatementAbstractType>(); - } - return this.statementOrSubjectStatementOrAuthenticationStatement; - } - - /** - * 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 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 assertionID property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getAssertionID() { - return assertionID; - } - - /** - * Sets the value of the assertionID property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setAssertionID(String value) { - this.assertionID = value; - } - - /** - * Gets the value of the issuer property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getIssuer() { - return issuer; - } - - /** - * Sets the value of the issuer property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setIssuer(String value) { - this.issuer = 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/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AttributeDesignatorType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AttributeDesignatorType.java deleted file mode 100644 index 4f03b1951..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AttributeDesignatorType.java +++ /dev/null @@ -1,91 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -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.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for AttributeDesignatorType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="AttributeDesignatorType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="AttributeName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="AttributeNamespace" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AttributeDesignatorType") -@XmlSeeAlso({ - AttributeType.class -}) -public class AttributeDesignatorType { - - @XmlAttribute(name = "AttributeName", required = true) - protected String attributeName; - @XmlAttribute(name = "AttributeNamespace", required = true) - @XmlSchemaType(name = "anyURI") - protected String attributeNamespace; - - /** - * Gets the value of the attributeName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getAttributeName() { - return attributeName; - } - - /** - * Sets the value of the attributeName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setAttributeName(String value) { - this.attributeName = value; - } - - /** - * Gets the value of the attributeNamespace property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getAttributeNamespace() { - return attributeNamespace; - } - - /** - * Sets the value of the attributeNamespace property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setAttributeNamespace(String value) { - this.attributeNamespace = value; - } - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AttributeStatementType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AttributeStatementType.java deleted file mode 100644 index 8e499c4ae..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AttributeStatementType.java +++ /dev/null @@ -1,71 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -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; - - -/** - * <p>Java class for AttributeStatementType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="AttributeStatementType"> - * <complexContent> - * <extension base="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectStatementAbstractType"> - * <sequence> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Attribute" maxOccurs="unbounded"/> - * </sequence> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AttributeStatementType", propOrder = { - "attribute" -}) -public class AttributeStatementType - extends SubjectStatementAbstractType -{ - - @XmlElement(name = "Attribute", required = true) - protected List<AttributeType> attribute; - - /** - * Gets the value of the attribute 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 attribute property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAttribute().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link AttributeType } - * - * - */ - public List<AttributeType> getAttribute() { - if (attribute == null) { - attribute = new ArrayList<AttributeType>(); - } - return this.attribute; - } - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AttributeType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AttributeType.java deleted file mode 100644 index 0f25e4802..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AttributeType.java +++ /dev/null @@ -1,71 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -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; - - -/** - * <p>Java class for AttributeType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="AttributeType"> - * <complexContent> - * <extension base="{urn:oasis:names:tc:SAML:1.0:assertion}AttributeDesignatorType"> - * <sequence> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AttributeValue" maxOccurs="unbounded"/> - * </sequence> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AttributeType", propOrder = { - "attributeValue" -}) -public class AttributeType - extends AttributeDesignatorType -{ - - @XmlElement(name = "AttributeValue", required = true) - protected List<Object> attributeValue; - - /** - * Gets the value of the attributeValue 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 attributeValue property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAttributeValue().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * - * - */ - public List<Object> getAttributeValue() { - if (attributeValue == null) { - attributeValue = new ArrayList<Object>(); - } - return this.attributeValue; - } - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AudienceRestrictionConditionType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AudienceRestrictionConditionType.java deleted file mode 100644 index 7088eaaf3..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AudienceRestrictionConditionType.java +++ /dev/null @@ -1,73 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -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.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for AudienceRestrictionConditionType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="AudienceRestrictionConditionType"> - * <complexContent> - * <extension base="{urn:oasis:names:tc:SAML:1.0:assertion}ConditionAbstractType"> - * <sequence> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Audience" maxOccurs="unbounded"/> - * </sequence> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AudienceRestrictionConditionType", propOrder = { - "audience" -}) -public class AudienceRestrictionConditionType - extends ConditionAbstractType -{ - - @XmlElement(name = "Audience", required = true) - @XmlSchemaType(name = "anyURI") - protected List<String> audience; - - /** - * Gets the value of the audience 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 audience property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAudience().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<String> getAudience() { - if (audience == null) { - audience = new ArrayList<String>(); - } - return this.audience; - } - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AuthenticationStatementType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AuthenticationStatementType.java deleted file mode 100644 index 48ae6e4b8..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AuthenticationStatementType.java +++ /dev/null @@ -1,158 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -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 javax.xml.datatype.XMLGregorianCalendar; - - -/** - * <p>Java class for AuthenticationStatementType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="AuthenticationStatementType"> - * <complexContent> - * <extension base="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectStatementAbstractType"> - * <sequence> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectLocality" minOccurs="0"/> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AuthorityBinding" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="AuthenticationMethod" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * <attribute name="AuthenticationInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AuthenticationStatementType", propOrder = { - "subjectLocality", - "authorityBinding" -}) -public class AuthenticationStatementType - extends SubjectStatementAbstractType -{ - - @XmlElement(name = "SubjectLocality") - protected SubjectLocalityType subjectLocality; - @XmlElement(name = "AuthorityBinding") - protected List<AuthorityBindingType> authorityBinding; - @XmlAttribute(name = "AuthenticationMethod", required = true) - @XmlSchemaType(name = "anyURI") - protected String authenticationMethod; - @XmlAttribute(name = "AuthenticationInstant", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar authenticationInstant; - - /** - * Gets the value of the subjectLocality property. - * - * @return - * possible object is - * {@link SubjectLocalityType } - * - */ - public SubjectLocalityType getSubjectLocality() { - return subjectLocality; - } - - /** - * Sets the value of the subjectLocality property. - * - * @param value - * allowed object is - * {@link SubjectLocalityType } - * - */ - public void setSubjectLocality(SubjectLocalityType value) { - this.subjectLocality = value; - } - - /** - * Gets the value of the authorityBinding 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 authorityBinding property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAuthorityBinding().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link AuthorityBindingType } - * - * - */ - public List<AuthorityBindingType> getAuthorityBinding() { - if (authorityBinding == null) { - authorityBinding = new ArrayList<AuthorityBindingType>(); - } - return this.authorityBinding; - } - - /** - * 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; - } - - /** - * Gets the value of the authenticationInstant property. - * - * @return - * possible object is - * {@link XMLGregorianCalendar } - * - */ - public XMLGregorianCalendar getAuthenticationInstant() { - return authenticationInstant; - } - - /** - * Sets the value of the authenticationInstant property. - * - * @param value - * allowed object is - * {@link XMLGregorianCalendar } - * - */ - public void setAuthenticationInstant(XMLGregorianCalendar value) { - this.authenticationInstant = value; - } - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AuthorityBindingType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AuthorityBindingType.java deleted file mode 100644 index 809411c70..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AuthorityBindingType.java +++ /dev/null @@ -1,116 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -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; -import javax.xml.namespace.QName; - - -/** - * <p>Java class for AuthorityBindingType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="AuthorityBindingType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="AuthorityKind" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" /> - * <attribute name="Location" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * <attribute name="Binding" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AuthorityBindingType") -public class AuthorityBindingType { - - @XmlAttribute(name = "AuthorityKind", required = true) - protected QName authorityKind; - @XmlAttribute(name = "Location", required = true) - @XmlSchemaType(name = "anyURI") - protected String location; - @XmlAttribute(name = "Binding", required = true) - @XmlSchemaType(name = "anyURI") - protected String binding; - - /** - * Gets the value of the authorityKind property. - * - * @return - * possible object is - * {@link QName } - * - */ - public QName getAuthorityKind() { - return authorityKind; - } - - /** - * Sets the value of the authorityKind property. - * - * @param value - * allowed object is - * {@link QName } - * - */ - public void setAuthorityKind(QName value) { - this.authorityKind = value; - } - - /** - * Gets the value of the location property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLocation() { - return location; - } - - /** - * Sets the value of the location property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLocation(String value) { - this.location = value; - } - - /** - * Gets the value of the binding property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBinding() { - return binding; - } - - /** - * Sets the value of the binding property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBinding(String value) { - this.binding = value; - } - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AuthorizationDecisionStatementType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AuthorizationDecisionStatementType.java deleted file mode 100644 index 035e3a079..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/AuthorizationDecisionStatementType.java +++ /dev/null @@ -1,156 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -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; - - -/** - * <p>Java class for AuthorizationDecisionStatementType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="AuthorizationDecisionStatementType"> - * <complexContent> - * <extension base="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectStatementAbstractType"> - * <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" /> - * <attribute name="Decision" use="required" type="{urn:oasis:names:tc:SAML:1.0:assertion}DecisionType" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AuthorizationDecisionStatementType", propOrder = { - "action", - "evidence" -}) -public class AuthorizationDecisionStatementType - extends SubjectStatementAbstractType -{ - - @XmlElement(name = "Action", required = true) - protected List<ActionType> action; - @XmlElement(name = "Evidence") - protected EvidenceType evidence; - @XmlAttribute(name = "Resource", required = true) - @XmlSchemaType(name = "anyURI") - protected String resource; - @XmlAttribute(name = "Decision", required = true) - protected DecisionType decision; - - /** - * Gets the value of the action 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 action property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAction().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link ActionType } - * - * - */ - public List<ActionType> getAction() { - if (action == null) { - action = new ArrayList<ActionType>(); - } - 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; - } - - /** - * Gets the value of the decision property. - * - * @return - * possible object is - * {@link DecisionType } - * - */ - public DecisionType getDecision() { - return decision; - } - - /** - * Sets the value of the decision property. - * - * @param value - * allowed object is - * {@link DecisionType } - * - */ - public void setDecision(DecisionType value) { - this.decision = value; - } - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/ConditionAbstractType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/ConditionAbstractType.java deleted file mode 100644 index 31033e0b6..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/ConditionAbstractType.java +++ /dev/null @@ -1,34 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for ConditionAbstractType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="ConditionAbstractType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ConditionAbstractType") -@XmlSeeAlso({ - AudienceRestrictionConditionType.class -}) -public abstract class ConditionAbstractType { - - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/ConditionsType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/ConditionsType.java deleted file mode 100644 index 93689f559..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/ConditionsType.java +++ /dev/null @@ -1,134 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -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.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.datatype.XMLGregorianCalendar; - - -/** - * <p>Java class for ConditionsType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="ConditionsType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AudienceRestrictionCondition"/> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Condition"/> - * </choice> - * <attribute name="NotBefore" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> - * <attribute name="NotOnOrAfter" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ConditionsType", propOrder = { - "audienceRestrictionConditionOrCondition" -}) -public class ConditionsType { - - @XmlElements({ - @XmlElement(name = "AudienceRestrictionCondition", type = AudienceRestrictionConditionType.class), - @XmlElement(name = "Condition") - }) - protected List<ConditionAbstractType> audienceRestrictionConditionOrCondition; - @XmlAttribute(name = "NotBefore") - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar notBefore; - @XmlAttribute(name = "NotOnOrAfter") - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar notOnOrAfter; - - /** - * Gets the value of the audienceRestrictionConditionOrCondition 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 audienceRestrictionConditionOrCondition property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAudienceRestrictionConditionOrCondition().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link AudienceRestrictionConditionType } - * {@link ConditionAbstractType } - * - * - */ - public List<ConditionAbstractType> getAudienceRestrictionConditionOrCondition() { - if (audienceRestrictionConditionOrCondition == null) { - audienceRestrictionConditionOrCondition = new ArrayList<ConditionAbstractType>(); - } - return this.audienceRestrictionConditionOrCondition; - } - - /** - * Gets the value of the notBefore property. - * - * @return - * possible object is - * {@link XMLGregorianCalendar } - * - */ - public XMLGregorianCalendar getNotBefore() { - return notBefore; - } - - /** - * Sets the value of the notBefore property. - * - * @param value - * allowed object is - * {@link XMLGregorianCalendar } - * - */ - public void setNotBefore(XMLGregorianCalendar value) { - this.notBefore = value; - } - - /** - * Gets the value of the notOnOrAfter property. - * - * @return - * possible object is - * {@link XMLGregorianCalendar } - * - */ - public XMLGregorianCalendar getNotOnOrAfter() { - return notOnOrAfter; - } - - /** - * Sets the value of the notOnOrAfter property. - * - * @param value - * allowed object is - * {@link XMLGregorianCalendar } - * - */ - public void setNotOnOrAfter(XMLGregorianCalendar value) { - this.notOnOrAfter = value; - } - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/DecisionType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/DecisionType.java deleted file mode 100644 index 01befe477..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/DecisionType.java +++ /dev/null @@ -1,54 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for DecisionType. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * <p> - * <pre> - * <simpleType name="DecisionType"> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="Permit"/> - * <enumeration value="Deny"/> - * <enumeration value="Indeterminate"/> - * </restriction> - * </simpleType> - * </pre> - * - */ -@XmlType(name = "DecisionType") -@XmlEnum -public enum DecisionType { - - @XmlEnumValue("Permit") - PERMIT("Permit"), - @XmlEnumValue("Deny") - DENY("Deny"), - @XmlEnumValue("Indeterminate") - INDETERMINATE("Indeterminate"); - private final String value; - - DecisionType(String v) { - value = v; - } - - public String value() { - return value; - } - - public static DecisionType fromValue(String v) { - for (DecisionType c: DecisionType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/EvidenceType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/EvidenceType.java deleted file mode 100644 index 9a25910fa..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/EvidenceType.java +++ /dev/null @@ -1,75 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -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.XmlElements; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for EvidenceType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="EvidenceType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice maxOccurs="unbounded"> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AssertionIDReference"/> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Assertion"/> - * </choice> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EvidenceType", propOrder = { - "assertionIDReferenceOrAssertion" -}) -public class EvidenceType { - - @XmlElements({ - @XmlElement(name = "AssertionIDReference", type = String.class), - @XmlElement(name = "Assertion", type = AssertionType.class) - }) - protected List<Object> assertionIDReferenceOrAssertion; - - /** - * Gets the value of the assertionIDReferenceOrAssertion 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 assertionIDReferenceOrAssertion property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAssertionIDReferenceOrAssertion().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * {@link AssertionType } - * - * - */ - public List<Object> getAssertionIDReferenceOrAssertion() { - if (assertionIDReferenceOrAssertion == null) { - assertionIDReferenceOrAssertion = new ArrayList<Object>(); - } - return this.assertionIDReferenceOrAssertion; - } - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/NameIdentifierType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/NameIdentifierType.java deleted file mode 100644 index fd14e84f2..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/NameIdentifierType.java +++ /dev/null @@ -1,116 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -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; -import javax.xml.bind.annotation.XmlValue; - - -/** - * <p>Java class for NameIdentifierType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="NameIdentifierType"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="NameQualifier" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="Format" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * </extension> - * </simpleContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NameIdentifierType", propOrder = { - "value" -}) -public class NameIdentifierType { - - @XmlValue - protected String value; - @XmlAttribute(name = "NameQualifier") - protected String nameQualifier; - @XmlAttribute(name = "Format") - @XmlSchemaType(name = "anyURI") - protected String format; - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the nameQualifier property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getNameQualifier() { - return nameQualifier; - } - - /** - * Sets the value of the nameQualifier property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setNameQualifier(String value) { - this.nameQualifier = value; - } - - /** - * Gets the value of the format property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFormat() { - return format; - } - - /** - * Sets the value of the format property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFormat(String value) { - this.format = value; - } - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/ObjectFactory.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/ObjectFactory.java deleted file mode 100644 index e3e54db31..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/ObjectFactory.java +++ /dev/null @@ -1,403 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -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.util.xsd.saml.assertion package. - * <p>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 _Attribute_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Attribute"); - private final static QName _AttributeStatement_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "AttributeStatement"); - private final static QName _Condition_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Condition"); - private final static QName _SubjectConfirmation_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "SubjectConfirmation"); - private final static QName _AudienceRestrictionCondition_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "AudienceRestrictionCondition"); - private final static QName _AssertionIDReference_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "AssertionIDReference"); - private final static QName _Subject_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Subject"); - private final static QName _Advice_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Advice"); - private final static QName _Action_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Action"); - private final static QName _Audience_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Audience"); - private final static QName _ConfirmationMethod_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "ConfirmationMethod"); - private final static QName _SubjectConfirmationData_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "SubjectConfirmationData"); - private final static QName _SubjectStatement_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "SubjectStatement"); - private final static QName _Assertion_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Assertion"); - private final static QName _NameIdentifier_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "NameIdentifier"); - private final static QName _AuthorizationDecisionStatement_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "AuthorizationDecisionStatement"); - private final static QName _AttributeDesignator_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "AttributeDesignator"); - private final static QName _AuthorityBinding_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "AuthorityBinding"); - private final static QName _Evidence_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Evidence"); - private final static QName _SubjectLocality_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "SubjectLocality"); - private final static QName _AuthenticationStatement_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "AuthenticationStatement"); - private final static QName _Conditions_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Conditions"); - private final static QName _Statement_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Statement"); - private final static QName _AttributeValue_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "AttributeValue"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.saml.assertion - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link AuthorizationDecisionStatementType } - * - */ - public AuthorizationDecisionStatementType createAuthorizationDecisionStatementType() { - return new AuthorizationDecisionStatementType(); - } - - /** - * Create an instance of {@link ConditionsType } - * - */ - public ConditionsType createConditionsType() { - return new ConditionsType(); - } - - /** - * Create an instance of {@link AudienceRestrictionConditionType } - * - */ - public AudienceRestrictionConditionType createAudienceRestrictionConditionType() { - return new AudienceRestrictionConditionType(); - } - - /** - * Create an instance of {@link AttributeDesignatorType } - * - */ - public AttributeDesignatorType createAttributeDesignatorType() { - return new AttributeDesignatorType(); - } - - /** - * Create an instance of {@link SubjectType } - * - */ - public SubjectType createSubjectType() { - return new SubjectType(); - } - - /** - * Create an instance of {@link SubjectLocalityType } - * - */ - public SubjectLocalityType createSubjectLocalityType() { - return new SubjectLocalityType(); - } - - /** - * Create an instance of {@link SubjectConfirmationType } - * - */ - public SubjectConfirmationType createSubjectConfirmationType() { - return new SubjectConfirmationType(); - } - - /** - * Create an instance of {@link AdviceType } - * - */ - public AdviceType createAdviceType() { - return new AdviceType(); - } - - /** - * Create an instance of {@link AssertionType } - * - */ - public AssertionType createAssertionType() { - return new AssertionType(); - } - - /** - * Create an instance of {@link AuthorityBindingType } - * - */ - public AuthorityBindingType createAuthorityBindingType() { - return new AuthorityBindingType(); - } - - /** - * Create an instance of {@link ActionType } - * - */ - public ActionType createActionType() { - return new ActionType(); - } - - /** - * Create an instance of {@link AttributeType } - * - */ - public AttributeType createAttributeType() { - return new AttributeType(); - } - - /** - * Create an instance of {@link AuthenticationStatementType } - * - */ - public AuthenticationStatementType createAuthenticationStatementType() { - return new AuthenticationStatementType(); - } - - /** - * Create an instance of {@link AttributeStatementType } - * - */ - public AttributeStatementType createAttributeStatementType() { - return new AttributeStatementType(); - } - - /** - * Create an instance of {@link EvidenceType } - * - */ - public EvidenceType createEvidenceType() { - return new EvidenceType(); - } - - /** - * Create an instance of {@link NameIdentifierType } - * - */ - public NameIdentifierType createNameIdentifierType() { - return new NameIdentifierType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AttributeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Attribute") - public JAXBElement<AttributeType> createAttribute(AttributeType value) { - return new JAXBElement<AttributeType>(_Attribute_QNAME, AttributeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AttributeStatementType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "AttributeStatement") - public JAXBElement<AttributeStatementType> createAttributeStatement(AttributeStatementType value) { - return new JAXBElement<AttributeStatementType>(_AttributeStatement_QNAME, AttributeStatementType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ConditionAbstractType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Condition") - public JAXBElement<ConditionAbstractType> createCondition(ConditionAbstractType value) { - return new JAXBElement<ConditionAbstractType>(_Condition_QNAME, ConditionAbstractType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SubjectConfirmationType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "SubjectConfirmation") - public JAXBElement<SubjectConfirmationType> createSubjectConfirmation(SubjectConfirmationType value) { - return new JAXBElement<SubjectConfirmationType>(_SubjectConfirmation_QNAME, SubjectConfirmationType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AudienceRestrictionConditionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "AudienceRestrictionCondition") - public JAXBElement<AudienceRestrictionConditionType> createAudienceRestrictionCondition(AudienceRestrictionConditionType value) { - return new JAXBElement<AudienceRestrictionConditionType>(_AudienceRestrictionCondition_QNAME, AudienceRestrictionConditionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "AssertionIDReference") - public JAXBElement<String> createAssertionIDReference(String value) { - return new JAXBElement<String>(_AssertionIDReference_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SubjectType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Subject") - public JAXBElement<SubjectType> createSubject(SubjectType value) { - return new JAXBElement<SubjectType>(_Subject_QNAME, SubjectType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AdviceType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Advice") - public JAXBElement<AdviceType> createAdvice(AdviceType value) { - return new JAXBElement<AdviceType>(_Advice_QNAME, AdviceType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ActionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Action") - public JAXBElement<ActionType> createAction(ActionType value) { - return new JAXBElement<ActionType>(_Action_QNAME, ActionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Audience") - public JAXBElement<String> createAudience(String value) { - return new JAXBElement<String>(_Audience_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "ConfirmationMethod") - public JAXBElement<String> createConfirmationMethod(String value) { - return new JAXBElement<String>(_ConfirmationMethod_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "SubjectConfirmationData") - public JAXBElement<Object> createSubjectConfirmationData(Object value) { - return new JAXBElement<Object>(_SubjectConfirmationData_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SubjectStatementAbstractType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "SubjectStatement") - public JAXBElement<SubjectStatementAbstractType> createSubjectStatement(SubjectStatementAbstractType value) { - return new JAXBElement<SubjectStatementAbstractType>(_SubjectStatement_QNAME, SubjectStatementAbstractType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AssertionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Assertion") - public JAXBElement<AssertionType> createAssertion(AssertionType value) { - return new JAXBElement<AssertionType>(_Assertion_QNAME, AssertionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NameIdentifierType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "NameIdentifier") - public JAXBElement<NameIdentifierType> createNameIdentifier(NameIdentifierType value) { - return new JAXBElement<NameIdentifierType>(_NameIdentifier_QNAME, NameIdentifierType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AuthorizationDecisionStatementType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "AuthorizationDecisionStatement") - public JAXBElement<AuthorizationDecisionStatementType> createAuthorizationDecisionStatement(AuthorizationDecisionStatementType value) { - return new JAXBElement<AuthorizationDecisionStatementType>(_AuthorizationDecisionStatement_QNAME, AuthorizationDecisionStatementType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "AttributeDesignator") - public JAXBElement<AttributeDesignatorType> createAttributeDesignator(AttributeDesignatorType value) { - return new JAXBElement<AttributeDesignatorType>(_AttributeDesignator_QNAME, AttributeDesignatorType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AuthorityBindingType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "AuthorityBinding") - public JAXBElement<AuthorityBindingType> createAuthorityBinding(AuthorityBindingType value) { - return new JAXBElement<AuthorityBindingType>(_AuthorityBinding_QNAME, AuthorityBindingType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EvidenceType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Evidence") - public JAXBElement<EvidenceType> createEvidence(EvidenceType value) { - return new JAXBElement<EvidenceType>(_Evidence_QNAME, EvidenceType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SubjectLocalityType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "SubjectLocality") - public JAXBElement<SubjectLocalityType> createSubjectLocality(SubjectLocalityType value) { - return new JAXBElement<SubjectLocalityType>(_SubjectLocality_QNAME, SubjectLocalityType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AuthenticationStatementType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "AuthenticationStatement") - public JAXBElement<AuthenticationStatementType> createAuthenticationStatement(AuthenticationStatementType value) { - return new JAXBElement<AuthenticationStatementType>(_AuthenticationStatement_QNAME, AuthenticationStatementType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ConditionsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Conditions") - public JAXBElement<ConditionsType> createConditions(ConditionsType value) { - return new JAXBElement<ConditionsType>(_Conditions_QNAME, ConditionsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StatementAbstractType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Statement") - public JAXBElement<StatementAbstractType> createStatement(StatementAbstractType value) { - return new JAXBElement<StatementAbstractType>(_Statement_QNAME, StatementAbstractType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "AttributeValue") - public JAXBElement<Object> createAttributeValue(Object value) { - return new JAXBElement<Object>(_AttributeValue_QNAME, Object.class, null, value); - } - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/StatementAbstractType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/StatementAbstractType.java deleted file mode 100644 index b9dfff501..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/StatementAbstractType.java +++ /dev/null @@ -1,34 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for StatementAbstractType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="StatementAbstractType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StatementAbstractType") -@XmlSeeAlso({ - SubjectStatementAbstractType.class -}) -public abstract class StatementAbstractType { - - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/SubjectConfirmationType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/SubjectConfirmationType.java deleted file mode 100644 index 76e8a9b9a..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/SubjectConfirmationType.java +++ /dev/null @@ -1,128 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -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.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import at.gv.util.xsd.xmldsig.KeyInfoType; - - -/** - * <p>Java class for SubjectConfirmationType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="SubjectConfirmationType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}ConfirmationMethod" maxOccurs="unbounded"/> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectConfirmationData" minOccurs="0"/> - * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SubjectConfirmationType", propOrder = { - "confirmationMethod", - "subjectConfirmationData", - "keyInfo" -}) -public class SubjectConfirmationType { - - @XmlElement(name = "ConfirmationMethod", required = true) - @XmlSchemaType(name = "anyURI") - protected List<String> confirmationMethod; - @XmlElement(name = "SubjectConfirmationData") - protected Object subjectConfirmationData; - @XmlElement(name = "KeyInfo", namespace = "http://www.w3.org/2000/09/xmldsig#") - protected KeyInfoType keyInfo; - - /** - * Gets the value of the confirmationMethod 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 confirmationMethod property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getConfirmationMethod().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<String> getConfirmationMethod() { - if (confirmationMethod == null) { - confirmationMethod = new ArrayList<String>(); - } - return this.confirmationMethod; - } - - /** - * Gets the value of the subjectConfirmationData property. - * - * @return - * possible object is - * {@link Object } - * - */ - public Object getSubjectConfirmationData() { - return subjectConfirmationData; - } - - /** - * Sets the value of the subjectConfirmationData property. - * - * @param value - * allowed object is - * {@link Object } - * - */ - public void setSubjectConfirmationData(Object value) { - this.subjectConfirmationData = value; - } - - /** - * Gets the value of the keyInfo property. - * - * @return - * possible object is - * {@link KeyInfoType } - * - */ - public KeyInfoType getKeyInfo() { - return keyInfo; - } - - /** - * Sets the value of the keyInfo property. - * - * @param value - * allowed object is - * {@link KeyInfoType } - * - */ - public void setKeyInfo(KeyInfoType value) { - this.keyInfo = value; - } - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/SubjectLocalityType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/SubjectLocalityType.java deleted file mode 100644 index 1bd0eb783..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/SubjectLocalityType.java +++ /dev/null @@ -1,85 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for SubjectLocalityType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="SubjectLocalityType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="IPAddress" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="DNSAddress" type="{http://www.w3.org/2001/XMLSchema}string" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SubjectLocalityType") -public class SubjectLocalityType { - - @XmlAttribute(name = "IPAddress") - protected String ipAddress; - @XmlAttribute(name = "DNSAddress") - protected String dnsAddress; - - /** - * Gets the value of the ipAddress property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getIPAddress() { - return ipAddress; - } - - /** - * Sets the value of the ipAddress property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setIPAddress(String value) { - this.ipAddress = value; - } - - /** - * Gets the value of the dnsAddress property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDNSAddress() { - return dnsAddress; - } - - /** - * Sets the value of the dnsAddress property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDNSAddress(String value) { - this.dnsAddress = value; - } - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/SubjectStatementAbstractType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/SubjectStatementAbstractType.java deleted file mode 100644 index 601815a36..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/SubjectStatementAbstractType.java +++ /dev/null @@ -1,70 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -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; - - -/** - * <p>Java class for SubjectStatementAbstractType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="SubjectStatementAbstractType"> - * <complexContent> - * <extension base="{urn:oasis:names:tc:SAML:1.0:assertion}StatementAbstractType"> - * <sequence> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Subject"/> - * </sequence> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SubjectStatementAbstractType", propOrder = { - "subject" -}) -@XmlSeeAlso({ - AuthorizationDecisionStatementType.class, - AuthenticationStatementType.class, - AttributeStatementType.class -}) -public abstract class SubjectStatementAbstractType - extends StatementAbstractType -{ - - @XmlElement(name = "Subject", 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/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/SubjectType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/SubjectType.java deleted file mode 100644 index 89b61c35c..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/SubjectType.java +++ /dev/null @@ -1,89 +0,0 @@ - -package at.gv.util.xsd.saml.assertion; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlElementRefs; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for SubjectType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="SubjectType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice> - * <sequence> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}NameIdentifier"/> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectConfirmation" minOccurs="0"/> - * </sequence> - * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectConfirmation"/> - * </choice> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SubjectType", propOrder = { - "content" -}) -public class SubjectType { - - @XmlElementRefs({ - @XmlElementRef(name = "NameIdentifier", namespace = "urn:oasis:names:tc:SAML:1.0:assertion", type = JAXBElement.class), - @XmlElementRef(name = "SubjectConfirmation", namespace = "urn:oasis:names:tc:SAML:1.0:assertion", type = JAXBElement.class) - }) - protected List<JAXBElement<?>> content; - - /** - * Gets the rest of the content model. - * - * <p> - * You are getting this "catch-all" property because of the following reason: - * The field name "SubjectConfirmation" is used by two different parts of a schema. See: - * line 94 of file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/cs-sstc-schema-assertion-01.xsd - * line 92 of file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/cs-sstc-schema-assertion-01.xsd - * <p> - * To get rid of this property, apply a property customization to one - * of both of the following declarations to change their names: - * Gets the value of the content 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 content property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getContent().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link JAXBElement }{@code <}{@link NameIdentifierType }{@code >} - * {@link JAXBElement }{@code <}{@link SubjectConfirmationType }{@code >} - * - * - */ - public List<JAXBElement<?>> getContent() { - if (content == null) { - content = new ArrayList<JAXBElement<?>>(); - } - return this.content; - } - -} diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/package-info.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/package-info.java deleted file mode 100644 index 2e2348830..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/saml/assertion/package-info.java +++ /dev/null @@ -1,2 +0,0 @@ -@javax.xml.bind.annotation.XmlSchema(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) -package at.gv.util.xsd.saml.assertion; |