diff options
Diffstat (limited to 'id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/AuthComponentType.java')
-rw-r--r-- | id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/AuthComponentType.java | 650 |
1 files changed, 0 insertions, 650 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/AuthComponentType.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/AuthComponentType.java deleted file mode 100644 index e5bcd572d..000000000 --- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/AuthComponentType.java +++ /dev/null @@ -1,650 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 -// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2015.01.09 at 09:01:43 AM CET -// - - -package at.gv.egovernment.moa.id.commons.db.dao.config; - -import java.io.Serializable; -import javax.persistence.CascadeType; -import javax.persistence.Column; -import javax.persistence.Entity; -import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; -import javax.persistence.Id; -import javax.persistence.Inheritance; -import javax.persistence.InheritanceType; -import javax.persistence.JoinColumn; -import javax.persistence.ManyToOne; -import javax.persistence.Table; -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.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import org.jvnet.jaxb2_commons.lang.Equals; -import org.jvnet.jaxb2_commons.lang.EqualsStrategy; -import org.jvnet.jaxb2_commons.lang.HashCode; -import org.jvnet.jaxb2_commons.lang.HashCodeStrategy; -import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy; -import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy; -import org.jvnet.jaxb2_commons.locator.ObjectLocator; -import org.jvnet.jaxb2_commons.locator.util.LocatorUtils; - - -/** - * <p>Java class for AuthComponentType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="AuthComponentType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}GeneralConfiguration"/> - * <element name="Protocols"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="SAML1" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="SourceID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * </sequence> - * <attribute name="isActive" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element name="PVP2" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="PublicURLPrefix" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> - * <element name="IssuerName" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> - * <element name="Organization"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="DisplayName" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}Contact" maxOccurs="unbounded"/> - * </sequence> - * <attribute name="isActive" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element name="OAuth" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="isActive" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element name="LegacyAllowed"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="ProtocolName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element name="SSO"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice> - * <element name="target" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}IdentificationNumber"/> - * </choice> - * <attribute name="PublicURL" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="FriendlyName" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="SpecialText" type="{http://www.w3.org/2001/XMLSchema}string" /> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element name="SecurityLayer"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="TransformsInfo" type="{http://www.buergerkarte.at/namespaces/moaconfig#}TransformsInfoType" maxOccurs="unbounded"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element name="MOA-SP"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="ConnectionParameter" type="{http://www.buergerkarte.at/namespaces/moaconfig#}ConnectionParameterClientAuthType" minOccurs="0"/> - * <element name="VerifyIdentityLink"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}TrustProfileID"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element name="VerifyAuthBlock"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}TrustProfileID"/> - * <element name="VerifyTransformsInfoProfileID" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element name="IdentityLinkSigners" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="X509SubjectName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element name="ForeignIdentities" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="ConnectionParameter" type="{http://www.buergerkarte.at/namespaces/moaconfig#}ConnectionParameterClientAuthType"/> - * <element ref="{http://www.buergerkarte.at/namespaces/moaconfig#}STORK" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element name="OnlineMandates" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="ConnectionParameter" type="{http://www.buergerkarte.at/namespaces/moaconfig#}ConnectionParameterClientAuthType"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AuthComponentType", propOrder = { - "generalConfiguration", - "protocols", - "sso", - "securityLayer", - "moasp", - "identityLinkSigners", - "foreignIdentities", - "onlineMandates" -}) -@XmlSeeAlso({ - AuthComponentGeneral.class -}) -@Entity(name = "AuthComponentType") -@Table(name = "AUTHCOMPONENTTYPE") -@Inheritance(strategy = InheritanceType.JOINED) -public class AuthComponentType - implements Serializable, Equals, HashCode -{ - - @XmlElement(name = "GeneralConfiguration", required = true) - protected GeneralConfiguration generalConfiguration; - @XmlElement(name = "Protocols", required = true) - protected Protocols protocols; - @XmlElement(name = "SSO", required = true) - protected SSO sso; - @XmlElement(name = "SecurityLayer", required = true) - protected SecurityLayer securityLayer; - @XmlElement(name = "MOA-SP", required = true) - protected MOASP moasp; - @XmlElement(name = "IdentityLinkSigners") - protected IdentityLinkSigners identityLinkSigners; - @XmlElement(name = "ForeignIdentities") - protected ForeignIdentities foreignIdentities; - @XmlElement(name = "OnlineMandates") - protected OnlineMandates onlineMandates; - @XmlAttribute(name = "Hjid") - protected Long hjid; - - /** - * Gets the value of the generalConfiguration property. - * - * @return - * possible object is - * {@link GeneralConfiguration } - * - */ - @ManyToOne(targetEntity = GeneralConfiguration.class, cascade = { - CascadeType.ALL - }) - @JoinColumn(name = "GENERALCONFIGURATION_AUTHCOM_0") - public GeneralConfiguration getGeneralConfiguration() { - return generalConfiguration; - } - - /** - * Sets the value of the generalConfiguration property. - * - * @param value - * allowed object is - * {@link GeneralConfiguration } - * - */ - public void setGeneralConfiguration(GeneralConfiguration value) { - this.generalConfiguration = value; - } - - /** - * Gets the value of the protocols property. - * - * @return - * possible object is - * {@link Protocols } - * - */ - @ManyToOne(targetEntity = Protocols.class, cascade = { - CascadeType.ALL - }) - @JoinColumn(name = "PROTOCOLS_AUTHCOMPONENTTYPE__0") - public Protocols getProtocols() { - return protocols; - } - - /** - * Sets the value of the protocols property. - * - * @param value - * allowed object is - * {@link Protocols } - * - */ - public void setProtocols(Protocols value) { - this.protocols = value; - } - - /** - * Gets the value of the sso property. - * - * @return - * possible object is - * {@link SSO } - * - */ - @ManyToOne(targetEntity = SSO.class, cascade = { - CascadeType.ALL - }) - @JoinColumn(name = "SSO_AUTHCOMPONENTTYPE_HJID") - public SSO getSSO() { - return sso; - } - - /** - * Sets the value of the sso property. - * - * @param value - * allowed object is - * {@link SSO } - * - */ - public void setSSO(SSO value) { - this.sso = value; - } - - /** - * Gets the value of the securityLayer property. - * - * @return - * possible object is - * {@link SecurityLayer } - * - */ - @ManyToOne(targetEntity = SecurityLayer.class, cascade = { - CascadeType.ALL - }) - @JoinColumn(name = "SECURITYLAYER_AUTHCOMPONENTT_0") - public SecurityLayer getSecurityLayer() { - return securityLayer; - } - - /** - * Sets the value of the securityLayer property. - * - * @param value - * allowed object is - * {@link SecurityLayer } - * - */ - public void setSecurityLayer(SecurityLayer value) { - this.securityLayer = value; - } - - /** - * Gets the value of the moasp property. - * - * @return - * possible object is - * {@link MOASP } - * - */ - @ManyToOne(targetEntity = MOASP.class, cascade = { - CascadeType.ALL - }) - @JoinColumn(name = "MOASP_AUTHCOMPONENTTYPE_HJID") - public MOASP getMOASP() { - return moasp; - } - - /** - * Sets the value of the moasp property. - * - * @param value - * allowed object is - * {@link MOASP } - * - */ - public void setMOASP(MOASP value) { - this.moasp = value; - } - - /** - * Gets the value of the identityLinkSigners property. - * - * @return - * possible object is - * {@link IdentityLinkSigners } - * - */ - @ManyToOne(targetEntity = IdentityLinkSigners.class, cascade = { - CascadeType.ALL - }) - @JoinColumn(name = "IDENTITYLINKSIGNERS_AUTHCOMP_0") - public IdentityLinkSigners getIdentityLinkSigners() { - return identityLinkSigners; - } - - /** - * Sets the value of the identityLinkSigners property. - * - * @param value - * allowed object is - * {@link IdentityLinkSigners } - * - */ - public void setIdentityLinkSigners(IdentityLinkSigners value) { - this.identityLinkSigners = value; - } - - /** - * Gets the value of the foreignIdentities property. - * - * @return - * possible object is - * {@link ForeignIdentities } - * - */ - @ManyToOne(targetEntity = ForeignIdentities.class, cascade = { - CascadeType.ALL - }) - @JoinColumn(name = "FOREIGNIDENTITIES_AUTHCOMPON_0") - public ForeignIdentities getForeignIdentities() { - return foreignIdentities; - } - - /** - * Sets the value of the foreignIdentities property. - * - * @param value - * allowed object is - * {@link ForeignIdentities } - * - */ - public void setForeignIdentities(ForeignIdentities value) { - this.foreignIdentities = value; - } - - /** - * Gets the value of the onlineMandates property. - * - * @return - * possible object is - * {@link OnlineMandates } - * - */ - @ManyToOne(targetEntity = OnlineMandates.class, cascade = { - CascadeType.ALL - }) - @JoinColumn(name = "ONLINEMANDATES_AUTHCOMPONENT_0") - public OnlineMandates getOnlineMandates() { - return onlineMandates; - } - - /** - * Sets the value of the onlineMandates property. - * - * @param value - * allowed object is - * {@link OnlineMandates } - * - */ - public void setOnlineMandates(OnlineMandates value) { - this.onlineMandates = value; - } - - /** - * Gets the value of the hjid property. - * - * @return - * possible object is - * {@link Long } - * - */ - @Id - @Column(name = "HJID") - @GeneratedValue(strategy = GenerationType.AUTO) - public Long getHjid() { - return hjid; - } - - /** - * Sets the value of the hjid property. - * - * @param value - * allowed object is - * {@link Long } - * - */ - public void setHjid(Long value) { - this.hjid = value; - } - - public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { - if (!(object instanceof AuthComponentType)) { - return false; - } - if (this == object) { - return true; - } - final AuthComponentType that = ((AuthComponentType) object); - { - GeneralConfiguration lhsGeneralConfiguration; - lhsGeneralConfiguration = this.getGeneralConfiguration(); - GeneralConfiguration rhsGeneralConfiguration; - rhsGeneralConfiguration = that.getGeneralConfiguration(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "generalConfiguration", lhsGeneralConfiguration), LocatorUtils.property(thatLocator, "generalConfiguration", rhsGeneralConfiguration), lhsGeneralConfiguration, rhsGeneralConfiguration)) { - return false; - } - } - { - Protocols lhsProtocols; - lhsProtocols = this.getProtocols(); - Protocols rhsProtocols; - rhsProtocols = that.getProtocols(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "protocols", lhsProtocols), LocatorUtils.property(thatLocator, "protocols", rhsProtocols), lhsProtocols, rhsProtocols)) { - return false; - } - } - { - SSO lhsSSO; - lhsSSO = this.getSSO(); - SSO rhsSSO; - rhsSSO = that.getSSO(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "sso", lhsSSO), LocatorUtils.property(thatLocator, "sso", rhsSSO), lhsSSO, rhsSSO)) { - return false; - } - } - { - SecurityLayer lhsSecurityLayer; - lhsSecurityLayer = this.getSecurityLayer(); - SecurityLayer rhsSecurityLayer; - rhsSecurityLayer = that.getSecurityLayer(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "securityLayer", lhsSecurityLayer), LocatorUtils.property(thatLocator, "securityLayer", rhsSecurityLayer), lhsSecurityLayer, rhsSecurityLayer)) { - return false; - } - } - { - MOASP lhsMOASP; - lhsMOASP = this.getMOASP(); - MOASP rhsMOASP; - rhsMOASP = that.getMOASP(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "moasp", lhsMOASP), LocatorUtils.property(thatLocator, "moasp", rhsMOASP), lhsMOASP, rhsMOASP)) { - return false; - } - } - { - IdentityLinkSigners lhsIdentityLinkSigners; - lhsIdentityLinkSigners = this.getIdentityLinkSigners(); - IdentityLinkSigners rhsIdentityLinkSigners; - rhsIdentityLinkSigners = that.getIdentityLinkSigners(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "identityLinkSigners", lhsIdentityLinkSigners), LocatorUtils.property(thatLocator, "identityLinkSigners", rhsIdentityLinkSigners), lhsIdentityLinkSigners, rhsIdentityLinkSigners)) { - return false; - } - } - { - ForeignIdentities lhsForeignIdentities; - lhsForeignIdentities = this.getForeignIdentities(); - ForeignIdentities rhsForeignIdentities; - rhsForeignIdentities = that.getForeignIdentities(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "foreignIdentities", lhsForeignIdentities), LocatorUtils.property(thatLocator, "foreignIdentities", rhsForeignIdentities), lhsForeignIdentities, rhsForeignIdentities)) { - return false; - } - } - { - OnlineMandates lhsOnlineMandates; - lhsOnlineMandates = this.getOnlineMandates(); - OnlineMandates rhsOnlineMandates; - rhsOnlineMandates = that.getOnlineMandates(); - if (!strategy.equals(LocatorUtils.property(thisLocator, "onlineMandates", lhsOnlineMandates), LocatorUtils.property(thatLocator, "onlineMandates", rhsOnlineMandates), lhsOnlineMandates, rhsOnlineMandates)) { - return false; - } - } - return true; - } - - public boolean equals(Object object) { - final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE; - return equals(null, null, object, strategy); - } - - public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { - int currentHashCode = 1; - { - GeneralConfiguration theGeneralConfiguration; - theGeneralConfiguration = this.getGeneralConfiguration(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "generalConfiguration", theGeneralConfiguration), currentHashCode, theGeneralConfiguration); - } - { - Protocols theProtocols; - theProtocols = this.getProtocols(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "protocols", theProtocols), currentHashCode, theProtocols); - } - { - SSO theSSO; - theSSO = this.getSSO(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sso", theSSO), currentHashCode, theSSO); - } - { - SecurityLayer theSecurityLayer; - theSecurityLayer = this.getSecurityLayer(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "securityLayer", theSecurityLayer), currentHashCode, theSecurityLayer); - } - { - MOASP theMOASP; - theMOASP = this.getMOASP(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "moasp", theMOASP), currentHashCode, theMOASP); - } - { - IdentityLinkSigners theIdentityLinkSigners; - theIdentityLinkSigners = this.getIdentityLinkSigners(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "identityLinkSigners", theIdentityLinkSigners), currentHashCode, theIdentityLinkSigners); - } - { - ForeignIdentities theForeignIdentities; - theForeignIdentities = this.getForeignIdentities(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "foreignIdentities", theForeignIdentities), currentHashCode, theForeignIdentities); - } - { - OnlineMandates theOnlineMandates; - theOnlineMandates = this.getOnlineMandates(); - currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onlineMandates", theOnlineMandates), currentHashCode, theOnlineMandates); - } - return currentHashCode; - } - - public int hashCode() { - final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; - return this.hashCode(null, strategy); - } - -} |