+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
extension;
+
+ /**
+ * Gets the value of the length property.
+ *
+ * @return possible object is {@link LengthType }
+ */
+ public LengthType getLength() {
+ return length;
+ }
+
+ /**
+ * Sets the value of the length property.
+ *
+ * @param value allowed object is {@link LengthType }
+ */
+ public void setLength(LengthType value) {
+ this.length = value;
+ }
+
+ /**
+ * Gets the value of the alphabet property.
+ *
+ * @return possible object is {@link AlphabetType }
+ */
+ public AlphabetType getAlphabet() {
+ return alphabet;
+ }
+
+ /**
+ * Sets the value of the alphabet property.
+ *
+ * @param value allowed object is {@link AlphabetType }
+ */
+ public void setAlphabet(AlphabetType value) {
+ this.alphabet = value;
+ }
+
+ /**
+ * Gets the value of the generation property.
+ *
+ * @return possible object is {@link Generation }
+ */
+ public Generation getGeneration() {
+ return generation;
+ }
+
+ /**
+ * Sets the value of the generation property.
+ *
+ * @param value allowed object is {@link Generation }
+ */
+ public void setGeneration(Generation value) {
+ this.generation = value;
+ }
+
+ /**
+ * Gets the value of the activationLimit property.
+ *
+ * @return possible object is {@link ActivationLimitType }
+ */
+ public ActivationLimitType getActivationLimit() {
+ return activationLimit;
+ }
+
+ /**
+ * Sets the value of the activationLimit property.
+ *
+ * @param value allowed object is {@link ActivationLimitType }
+ */
+ public void setActivationLimit(ActivationLimitType value) {
+ this.activationLimit = value;
+ }
+
+ /**
+ * Gets the value of the extension property.
+ *
+ *
+ * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to
+ * the
+ * returned list will be present inside the JAXB object. This is why there is not a set
method for the
+ * extension property.
+ *
+ *
+ * For example, to add a new item, do as follows:
+ *
+ *
+ * getExtension().add(newItem);
+ *
+ *
+ *
+ *
+ * Objects of the following type(s) are allowed in the list {@link ExtensionType }
+ */
+ public List getExtension() {
+ if (extension == null) {
+ extension = new ArrayList();
+ }
+ return this.extension;
+ }
+
+}
diff --git a/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/AlphabetType.java b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/AlphabetType.java
new file mode 100755
index 0000000000..a4536a0046
--- /dev/null
+++ b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/AlphabetType.java
@@ -0,0 +1,117 @@
+/*
+ * JBoss, Home of Professional Open Source
+ *
+ * Copyright 2013 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661
+// See http://java.sun.com/xml/jaxb
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.12.08 at 05:45:20 PM CST
+//
+
+package org.keycloak.dom.saml.v2.ac;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ *
+ * Java class for AlphabetType complex type.
+ *
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType name="AlphabetType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="requiredChars" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="excludedChars" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="case" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "AlphabetType")
+public class AlphabetType {
+
+ @XmlAttribute(required = true)
+ protected String requiredChars;
+ @XmlAttribute
+ protected String excludedChars;
+ @XmlAttribute(name = "case")
+ protected String _case;
+
+ /**
+ * Gets the value of the requiredChars property.
+ *
+ * @return possible object is {@link String }
+ */
+ public String getRequiredChars() {
+ return requiredChars;
+ }
+
+ /**
+ * Sets the value of the requiredChars property.
+ *
+ * @param value allowed object is {@link String }
+ */
+ public void setRequiredChars(String value) {
+ this.requiredChars = value;
+ }
+
+ /**
+ * Gets the value of the excludedChars property.
+ *
+ * @return possible object is {@link String }
+ */
+ public String getExcludedChars() {
+ return excludedChars;
+ }
+
+ /**
+ * Sets the value of the excludedChars property.
+ *
+ * @param value allowed object is {@link String }
+ */
+ public void setExcludedChars(String value) {
+ this.excludedChars = value;
+ }
+
+ /**
+ * Gets the value of the case property.
+ *
+ * @return possible object is {@link String }
+ */
+ public String getCase() {
+ return _case;
+ }
+
+ /**
+ * Sets the value of the case property.
+ *
+ * @param value allowed object is {@link String }
+ */
+ public void setCase(String value) {
+ this._case = value;
+ }
+
+}
diff --git a/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/AuthenticatorBaseType.java b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/AuthenticatorBaseType.java
new file mode 100755
index 0000000000..cfb5974c8d
--- /dev/null
+++ b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/AuthenticatorBaseType.java
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ *
+ * Copyright 2013 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661
+// See http://java.sun.com/xml/jaxb
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.12.08 at 05:45:20 PM CST
+//
+
+package org.keycloak.dom.saml.v2.ac;
+
+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;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ *
+ * Java class for AuthenticatorBaseType complex type.
+ *
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType name="AuthenticatorBaseType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <group ref="{urn:oasis:names:tc:SAML:2.0:ac}AuthenticatorChoiceGroup"/>
+ * <group ref="{urn:oasis:names:tc:SAML:2.0:ac}AuthenticatorSequenceGroup"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "AuthenticatorBaseType", propOrder = {"content"})
+public class AuthenticatorBaseType {
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "ComplexAuthenticator", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "PreviousSession", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "ZeroKnowledge", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "RestrictedPassword", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "IPAddress", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "SharedSecretDynamicPlaintext", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "SharedSecretChallengeResponse", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "DigSig", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "SubscriberLineNumber", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "ResumeSession", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "UserSuffix", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "Password", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "AsymmetricDecryption", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "Extension", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "AsymmetricKeyAgreement", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class)})
+ protected List> content;
+
+ /**
+ * Gets the rest of the content model.
+ *
+ *
+ * You are getting this "catch-all" property because of the following reason: The field name "PreviousSession" is
+ * used by
+ * two different parts of a schema. See: line 575 of file:/home/anil/saml2/saml-schema-authn-context-types-2.0.xsd
+ * line 556
+ * of file:/home/anil/saml2/saml-schema-authn-context-types-2.0.xsd
+ *
+ * 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.
+ *
+ *
+ * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to
+ * the
+ * returned list will be present inside the JAXB object. This is why there is not a set
method for the
+ * content
+ * property.
+ *
+ *
+ * For example, to add a new item, do as follows:
+ *
+ *
+ * getContent().add(newItem);
+ *
+ *
+ *
+ *
+ * Objects of the following type(s) are allowed in the list {@link JAXBElement }{@code <}{@link
+ * ComplexAuthenticatorType }
+ * {@code >} {@link JAXBElement }{@code <}{@link ExtensionOnlyType }{@code >} {@link JAXBElement }{@code <}
+ * {@link ExtensionOnlyType }{@code >} {@link JAXBElement }{@code <}{@link RestrictedPasswordType }{@code >}
+ * {@link JAXBElement }{@code <}{@link ExtensionOnlyType }{@code >} {@link JAXBElement }{@code <}{@link
+ * ExtensionOnlyType }
+ * {@code >} {@link JAXBElement }{@code <}{@link SharedSecretChallengeResponseType }{@code >} {@link JAXBElement
+ * }{@code <}
+ * {@link PublicKeyType }{@code >} {@link JAXBElement }{@code <}{@link ExtensionOnlyType }{@code >} {@link
+ * JAXBElement }{@code <}
+ * {@link ExtensionOnlyType }{@code >} {@link JAXBElement }{@code <}{@link ExtensionOnlyType }{@code >} {@link
+ * JAXBElement }
+ * {@code <}{@link PasswordType }{@code >} {@link JAXBElement }{@code <}{@link PublicKeyType }{@code >} {@link
+ * JAXBElement }
+ * {@code <}{@link ExtensionType }{@code >} {@link JAXBElement }{@code <}{@link PublicKeyType }{@code >}
+ */
+ public List> getContent() {
+ if (content == null) {
+ content = new ArrayList>();
+ }
+ return this.content;
+ }
+
+}
diff --git a/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/AuthenticatorTransportProtocolType.java b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/AuthenticatorTransportProtocolType.java
new file mode 100755
index 0000000000..d046087565
--- /dev/null
+++ b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/AuthenticatorTransportProtocolType.java
@@ -0,0 +1,301 @@
+/*
+ * JBoss, Home of Professional Open Source
+ *
+ * Copyright 2013 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661
+// See http://java.sun.com/xml/jaxb
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.12.08 at 05:45:20 PM CST
+//
+
+package org.keycloak.dom.saml.v2.ac;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ *
+ * Java class for AuthenticatorTransportProtocolType complex type.
+ *
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType name="AuthenticatorTransportProtocolType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <choice minOccurs="0">
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}HTTP"/>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}SSL"/>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}MobileNetworkNoEncryption"/>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}MobileNetworkRadioEncryption"/>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}MobileNetworkEndToEndEncryption"/>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}WTLS"/>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}IPSec"/>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}PSTN"/>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}ISDN"/>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}ADSL"/>
+ * </choice>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}Extension" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "AuthenticatorTransportProtocolType", propOrder = {"http", "ssl", "mobileNetworkNoEncryption",
+ "mobileNetworkRadioEncryption", "mobileNetworkEndToEndEncryption", "wtls", "ipSec", "pstn", "isdn", "adsl", "extension"})
+public class AuthenticatorTransportProtocolType {
+
+ @XmlElement(name = "HTTP")
+ protected ExtensionOnlyType http;
+ @XmlElement(name = "SSL")
+ protected ExtensionOnlyType ssl;
+ @XmlElement(name = "MobileNetworkNoEncryption")
+ protected ExtensionOnlyType mobileNetworkNoEncryption;
+ @XmlElement(name = "MobileNetworkRadioEncryption")
+ protected ExtensionOnlyType mobileNetworkRadioEncryption;
+ @XmlElement(name = "MobileNetworkEndToEndEncryption")
+ protected ExtensionOnlyType mobileNetworkEndToEndEncryption;
+ @XmlElement(name = "WTLS")
+ protected ExtensionOnlyType wtls;
+ @XmlElement(name = "IPSec")
+ protected ExtensionOnlyType ipSec;
+ @XmlElement(name = "PSTN")
+ protected ExtensionOnlyType pstn;
+ @XmlElement(name = "ISDN")
+ protected ExtensionOnlyType isdn;
+ @XmlElement(name = "ADSL")
+ protected ExtensionOnlyType adsl;
+ @XmlElement(name = "Extension")
+ protected List extension;
+
+ /**
+ * Gets the value of the http property.
+ *
+ * @return possible object is {@link ExtensionOnlyType }
+ */
+ public ExtensionOnlyType getHTTP() {
+ return http;
+ }
+
+ /**
+ * Sets the value of the http property.
+ *
+ * @param value allowed object is {@link ExtensionOnlyType }
+ */
+ public void setHTTP(ExtensionOnlyType value) {
+ this.http = value;
+ }
+
+ /**
+ * Gets the value of the ssl property.
+ *
+ * @return possible object is {@link ExtensionOnlyType }
+ */
+ public ExtensionOnlyType getSSL() {
+ return ssl;
+ }
+
+ /**
+ * Sets the value of the ssl property.
+ *
+ * @param value allowed object is {@link ExtensionOnlyType }
+ */
+ public void setSSL(ExtensionOnlyType value) {
+ this.ssl = value;
+ }
+
+ /**
+ * Gets the value of the mobileNetworkNoEncryption property.
+ *
+ * @return possible object is {@link ExtensionOnlyType }
+ */
+ public ExtensionOnlyType getMobileNetworkNoEncryption() {
+ return mobileNetworkNoEncryption;
+ }
+
+ /**
+ * Sets the value of the mobileNetworkNoEncryption property.
+ *
+ * @param value allowed object is {@link ExtensionOnlyType }
+ */
+ public void setMobileNetworkNoEncryption(ExtensionOnlyType value) {
+ this.mobileNetworkNoEncryption = value;
+ }
+
+ /**
+ * Gets the value of the mobileNetworkRadioEncryption property.
+ *
+ * @return possible object is {@link ExtensionOnlyType }
+ */
+ public ExtensionOnlyType getMobileNetworkRadioEncryption() {
+ return mobileNetworkRadioEncryption;
+ }
+
+ /**
+ * Sets the value of the mobileNetworkRadioEncryption property.
+ *
+ * @param value allowed object is {@link ExtensionOnlyType }
+ */
+ public void setMobileNetworkRadioEncryption(ExtensionOnlyType value) {
+ this.mobileNetworkRadioEncryption = value;
+ }
+
+ /**
+ * Gets the value of the mobileNetworkEndToEndEncryption property.
+ *
+ * @return possible object is {@link ExtensionOnlyType }
+ */
+ public ExtensionOnlyType getMobileNetworkEndToEndEncryption() {
+ return mobileNetworkEndToEndEncryption;
+ }
+
+ /**
+ * Sets the value of the mobileNetworkEndToEndEncryption property.
+ *
+ * @param value allowed object is {@link ExtensionOnlyType }
+ */
+ public void setMobileNetworkEndToEndEncryption(ExtensionOnlyType value) {
+ this.mobileNetworkEndToEndEncryption = value;
+ }
+
+ /**
+ * Gets the value of the wtls property.
+ *
+ * @return possible object is {@link ExtensionOnlyType }
+ */
+ public ExtensionOnlyType getWTLS() {
+ return wtls;
+ }
+
+ /**
+ * Sets the value of the wtls property.
+ *
+ * @param value allowed object is {@link ExtensionOnlyType }
+ */
+ public void setWTLS(ExtensionOnlyType value) {
+ this.wtls = value;
+ }
+
+ /**
+ * Gets the value of the ipSec property.
+ *
+ * @return possible object is {@link ExtensionOnlyType }
+ */
+ public ExtensionOnlyType getIPSec() {
+ return ipSec;
+ }
+
+ /**
+ * Sets the value of the ipSec property.
+ *
+ * @param value allowed object is {@link ExtensionOnlyType }
+ */
+ public void setIPSec(ExtensionOnlyType value) {
+ this.ipSec = value;
+ }
+
+ /**
+ * Gets the value of the pstn property.
+ *
+ * @return possible object is {@link ExtensionOnlyType }
+ */
+ public ExtensionOnlyType getPSTN() {
+ return pstn;
+ }
+
+ /**
+ * Sets the value of the pstn property.
+ *
+ * @param value allowed object is {@link ExtensionOnlyType }
+ */
+ public void setPSTN(ExtensionOnlyType value) {
+ this.pstn = value;
+ }
+
+ /**
+ * Gets the value of the isdn property.
+ *
+ * @return possible object is {@link ExtensionOnlyType }
+ */
+ public ExtensionOnlyType getISDN() {
+ return isdn;
+ }
+
+ /**
+ * Sets the value of the isdn property.
+ *
+ * @param value allowed object is {@link ExtensionOnlyType }
+ */
+ public void setISDN(ExtensionOnlyType value) {
+ this.isdn = value;
+ }
+
+ /**
+ * Gets the value of the adsl property.
+ *
+ * @return possible object is {@link ExtensionOnlyType }
+ */
+ public ExtensionOnlyType getADSL() {
+ return adsl;
+ }
+
+ /**
+ * Sets the value of the adsl property.
+ *
+ * @param value allowed object is {@link ExtensionOnlyType }
+ */
+ public void setADSL(ExtensionOnlyType value) {
+ this.adsl = value;
+ }
+
+ /**
+ * Gets the value of the extension property.
+ *
+ *
+ * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to
+ * the
+ * returned list will be present inside the JAXB object. This is why there is not a set
method for the
+ * extension property.
+ *
+ *
+ * For example, to add a new item, do as follows:
+ *
+ *
+ * getExtension().add(newItem);
+ *
+ *
+ *
+ *
+ * Objects of the following type(s) are allowed in the list {@link ExtensionType }
+ */
+ public List getExtension() {
+ if (extension == null) {
+ extension = new ArrayList();
+ }
+ return this.extension;
+ }
+
+}
diff --git a/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/AuthnContextDeclarationBaseType.java b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/AuthnContextDeclarationBaseType.java
new file mode 100755
index 0000000000..1a9c858c80
--- /dev/null
+++ b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/AuthnContextDeclarationBaseType.java
@@ -0,0 +1,223 @@
+/*
+ * JBoss, Home of Professional Open Source
+ *
+ * Copyright 2013 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661
+// See http://java.sun.com/xml/jaxb
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.12.08 at 05:45:20 PM CST
+//
+
+package org.keycloak.dom.saml.v2.ac;
+
+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.XmlID;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ *
+ * Java class for AuthnContextDeclarationBaseType complex type.
+ *
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType name="AuthnContextDeclarationBaseType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}Identification" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}TechnicalProtection" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}OperationalProtection" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}AuthnMethod" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}GoverningAgreements" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}Extension" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "AuthnContextDeclarationBaseType", propOrder = {"identification", "technicalProtection",
+ "operationalProtection", "authnMethod", "governingAgreements", "extension"})
+public class AuthnContextDeclarationBaseType {
+
+ @XmlElement(name = "Identification")
+ protected IdentificationType identification;
+ @XmlElement(name = "TechnicalProtection")
+ protected TechnicalProtectionBaseType technicalProtection;
+ @XmlElement(name = "OperationalProtection")
+ protected OperationalProtectionType operationalProtection;
+ @XmlElement(name = "AuthnMethod")
+ protected AuthnMethodBaseType authnMethod;
+ @XmlElement(name = "GoverningAgreements")
+ protected GoverningAgreementsType governingAgreements;
+ @XmlElement(name = "Extension")
+ protected List extension;
+ @XmlAttribute(name = "ID")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ @XmlSchemaType(name = "ID")
+ protected String id;
+
+ /**
+ * Gets the value of the identification property.
+ *
+ * @return possible object is {@link IdentificationType }
+ */
+ public IdentificationType getIdentification() {
+ return identification;
+ }
+
+ /**
+ * Sets the value of the identification property.
+ *
+ * @param value allowed object is {@link IdentificationType }
+ */
+ public void setIdentification(IdentificationType value) {
+ this.identification = value;
+ }
+
+ /**
+ * Gets the value of the technicalProtection property.
+ *
+ * @return possible object is {@link TechnicalProtectionBaseType }
+ */
+ public TechnicalProtectionBaseType getTechnicalProtection() {
+ return technicalProtection;
+ }
+
+ /**
+ * Sets the value of the technicalProtection property.
+ *
+ * @param value allowed object is {@link TechnicalProtectionBaseType }
+ */
+ public void setTechnicalProtection(TechnicalProtectionBaseType value) {
+ this.technicalProtection = value;
+ }
+
+ /**
+ * Gets the value of the operationalProtection property.
+ *
+ * @return possible object is {@link OperationalProtectionType }
+ */
+ public OperationalProtectionType getOperationalProtection() {
+ return operationalProtection;
+ }
+
+ /**
+ * Sets the value of the operationalProtection property.
+ *
+ * @param value allowed object is {@link OperationalProtectionType }
+ */
+ public void setOperationalProtection(OperationalProtectionType value) {
+ this.operationalProtection = value;
+ }
+
+ /**
+ * Gets the value of the authnMethod property.
+ *
+ * @return possible object is {@link AuthnMethodBaseType }
+ */
+ public AuthnMethodBaseType getAuthnMethod() {
+ return authnMethod;
+ }
+
+ /**
+ * Sets the value of the authnMethod property.
+ *
+ * @param value allowed object is {@link AuthnMethodBaseType }
+ */
+ public void setAuthnMethod(AuthnMethodBaseType value) {
+ this.authnMethod = value;
+ }
+
+ /**
+ * Gets the value of the governingAgreements property.
+ *
+ * @return possible object is {@link GoverningAgreementsType }
+ */
+ public GoverningAgreementsType getGoverningAgreements() {
+ return governingAgreements;
+ }
+
+ /**
+ * Sets the value of the governingAgreements property.
+ *
+ * @param value allowed object is {@link GoverningAgreementsType }
+ */
+ public void setGoverningAgreements(GoverningAgreementsType value) {
+ this.governingAgreements = value;
+ }
+
+ /**
+ * Gets the value of the extension property.
+ *
+ *
+ * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to
+ * the
+ * returned list will be present inside the JAXB object. This is why there is not a set
method for the
+ * extension property.
+ *
+ *
+ * For example, to add a new item, do as follows:
+ *
+ *
+ * getExtension().add(newItem);
+ *
+ *
+ *
+ *
+ * Objects of the following type(s) are allowed in the list {@link ExtensionType }
+ */
+ public List getExtension() {
+ if (extension == null) {
+ extension = new ArrayList();
+ }
+ return this.extension;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return possible object is {@link String }
+ */
+ public String getID() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value allowed object is {@link String }
+ */
+ public void setID(String value) {
+ this.id = value;
+ }
+
+}
diff --git a/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/AuthnMethodBaseType.java b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/AuthnMethodBaseType.java
new file mode 100755
index 0000000000..bd4bfb1dc1
--- /dev/null
+++ b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/AuthnMethodBaseType.java
@@ -0,0 +1,152 @@
+/*
+ * JBoss, Home of Professional Open Source
+ *
+ * Copyright 2013 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661
+// See http://java.sun.com/xml/jaxb
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.12.08 at 05:45:20 PM CST
+//
+
+package org.keycloak.dom.saml.v2.ac;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ *
+ * Java class for AuthnMethodBaseType complex type.
+ *
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType name="AuthnMethodBaseType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}PrincipalAuthenticationMechanism" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}Authenticator" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}AuthenticatorTransportProtocol" minOccurs="0"/>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}Extension" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "AuthnMethodBaseType", propOrder = {"principalAuthenticationMechanism", "authenticator",
+ "authenticatorTransportProtocol", "extension"})
+public class AuthnMethodBaseType {
+
+ @XmlElement(name = "PrincipalAuthenticationMechanism")
+ protected PrincipalAuthenticationMechanismType principalAuthenticationMechanism;
+ @XmlElement(name = "Authenticator")
+ protected AuthenticatorBaseType authenticator;
+ @XmlElement(name = "AuthenticatorTransportProtocol")
+ protected AuthenticatorTransportProtocolType authenticatorTransportProtocol;
+ @XmlElement(name = "Extension")
+ protected List extension;
+
+ /**
+ * Gets the value of the principalAuthenticationMechanism property.
+ *
+ * @return possible object is {@link PrincipalAuthenticationMechanismType }
+ */
+ public PrincipalAuthenticationMechanismType getPrincipalAuthenticationMechanism() {
+ return principalAuthenticationMechanism;
+ }
+
+ /**
+ * Sets the value of the principalAuthenticationMechanism property.
+ *
+ * @param value allowed object is {@link PrincipalAuthenticationMechanismType }
+ */
+ public void setPrincipalAuthenticationMechanism(PrincipalAuthenticationMechanismType value) {
+ this.principalAuthenticationMechanism = value;
+ }
+
+ /**
+ * Gets the value of the authenticator property.
+ *
+ * @return possible object is {@link AuthenticatorBaseType }
+ */
+ public AuthenticatorBaseType getAuthenticator() {
+ return authenticator;
+ }
+
+ /**
+ * Sets the value of the authenticator property.
+ *
+ * @param value allowed object is {@link AuthenticatorBaseType }
+ */
+ public void setAuthenticator(AuthenticatorBaseType value) {
+ this.authenticator = value;
+ }
+
+ /**
+ * Gets the value of the authenticatorTransportProtocol property.
+ *
+ * @return possible object is {@link AuthenticatorTransportProtocolType }
+ */
+ public AuthenticatorTransportProtocolType getAuthenticatorTransportProtocol() {
+ return authenticatorTransportProtocol;
+ }
+
+ /**
+ * Sets the value of the authenticatorTransportProtocol property.
+ *
+ * @param value allowed object is {@link AuthenticatorTransportProtocolType }
+ */
+ public void setAuthenticatorTransportProtocol(AuthenticatorTransportProtocolType value) {
+ this.authenticatorTransportProtocol = value;
+ }
+
+ /**
+ * Gets the value of the extension property.
+ *
+ *
+ * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to
+ * the
+ * returned list will be present inside the JAXB object. This is why there is not a set
method for the
+ * extension property.
+ *
+ *
+ * For example, to add a new item, do as follows:
+ *
+ *
+ * getExtension().add(newItem);
+ *
+ *
+ *
+ *
+ * Objects of the following type(s) are allowed in the list {@link ExtensionType }
+ */
+ public List getExtension() {
+ if (extension == null) {
+ extension = new ArrayList();
+ }
+ return this.extension;
+ }
+
+}
diff --git a/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/BooleanType.java b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/BooleanType.java
new file mode 100755
index 0000000000..9d268df652
--- /dev/null
+++ b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/BooleanType.java
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source
+ *
+ * Copyright 2013 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661
+// See http://java.sun.com/xml/jaxb
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.12.08 at 05:45:20 PM CST
+//
+
+package org.keycloak.dom.saml.v2.ac;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ *
+ * Java class for booleanType.
+ *
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ *
+ * <simpleType name="booleanType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="true"/>
+ * <enumeration value="false"/>
+ * </restriction>
+ * </simpleType>
+ *
+ */
+@XmlType(name = "booleanType")
+@XmlEnum
+public enum BooleanType {
+
+ @XmlEnumValue("true")
+ TRUE("true"), @XmlEnumValue("false")
+ FALSE("false");
+ private final String value;
+
+ BooleanType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static BooleanType fromValue(String v) {
+ for (BooleanType c : BooleanType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
diff --git a/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/ComplexAuthenticatorType.java b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/ComplexAuthenticatorType.java
new file mode 100755
index 0000000000..9a159d9cfe
--- /dev/null
+++ b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/ComplexAuthenticatorType.java
@@ -0,0 +1,133 @@
+/*
+ * JBoss, Home of Professional Open Source
+ *
+ * Copyright 2013 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661
+// See http://java.sun.com/xml/jaxb
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.12.08 at 05:45:20 PM CST
+//
+
+package org.keycloak.dom.saml.v2.ac;
+
+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;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ *
+ * Java class for ComplexAuthenticatorType complex type.
+ *
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType name="ComplexAuthenticatorType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <group ref="{urn:oasis:names:tc:SAML:2.0:ac}AuthenticatorChoiceGroup"/>
+ * <group ref="{urn:oasis:names:tc:SAML:2.0:ac}AuthenticatorSequenceGroup"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ComplexAuthenticatorType", propOrder = {"content"})
+public class ComplexAuthenticatorType {
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "ComplexAuthenticator", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "PreviousSession", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "ZeroKnowledge", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "RestrictedPassword", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "IPAddress", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "SharedSecretDynamicPlaintext", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "DigSig", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "SharedSecretChallengeResponse", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "SubscriberLineNumber", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "ResumeSession", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "UserSuffix", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "Password", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "AsymmetricDecryption", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "Extension", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class),
+ @XmlElementRef(name = "AsymmetricKeyAgreement", namespace = "urn:oasis:names:tc:SAML:2.0:ac", type = JAXBElement.class)})
+ protected List> content;
+
+ /**
+ * Gets the rest of the content model.
+ *
+ *
+ * You are getting this "catch-all" property because of the following reason: The field name "PreviousSession" is
+ * used by
+ * two different parts of a schema. See: line 575 of file:/home/anil/saml2/saml-schema-authn-context-types-2.0.xsd
+ * line 556
+ * of file:/home/anil/saml2/saml-schema-authn-context-types-2.0.xsd
+ *
+ * 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.
+ *
+ *
+ * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to
+ * the
+ * returned list will be present inside the JAXB object. This is why there is not a set
method for the
+ * content
+ * property.
+ *
+ *
+ * For example, to add a new item, do as follows:
+ *
+ *
+ * getContent().add(newItem);
+ *
+ *
+ *
+ *
+ * Objects of the following type(s) are allowed in the list {@link JAXBElement }{@code <}{@link
+ * ComplexAuthenticatorType }
+ * {@code >} {@link JAXBElement }{@code <}{@link ExtensionOnlyType }{@code >} {@link JAXBElement }{@code <}
+ * {@link ExtensionOnlyType }{@code >} {@link JAXBElement }{@code <}{@link RestrictedPasswordType }{@code >}
+ * {@link JAXBElement }{@code <}{@link ExtensionOnlyType }{@code >} {@link JAXBElement }{@code <}{@link
+ * ExtensionOnlyType }
+ * {@code >} {@link JAXBElement }{@code <}{@link PublicKeyType }{@code >} {@link JAXBElement }{@code <}
+ * {@link SharedSecretChallengeResponseType }{@code >} {@link JAXBElement }{@code <}{@link ExtensionOnlyType }{@code
+ * >}
+ * {@link JAXBElement }{@code <}{@link ExtensionOnlyType }{@code >} {@link JAXBElement }{@code <}{@link
+ * ExtensionOnlyType }
+ * {@code >} {@link JAXBElement }{@code <}{@link PasswordType }{@code >} {@link JAXBElement }{@code <}{@link
+ * PublicKeyType }
+ * {@code >} {@link JAXBElement }{@code <}{@link ExtensionType }{@code >} {@link JAXBElement }{@code <}{@link
+ * PublicKeyType }
+ * {@code >}
+ */
+ public List> getContent() {
+ if (content == null) {
+ content = new ArrayList>();
+ }
+ return this.content;
+ }
+
+}
diff --git a/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/DeviceTypeType.java b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/DeviceTypeType.java
new file mode 100755
index 0000000000..ebcd889ea2
--- /dev/null
+++ b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/DeviceTypeType.java
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source
+ *
+ * Copyright 2013 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661
+// See http://java.sun.com/xml/jaxb
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.12.08 at 05:45:20 PM CST
+//
+
+package org.keycloak.dom.saml.v2.ac;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ *
+ * Java class for DeviceTypeType.
+ *
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ *
+ * <simpleType name="DeviceTypeType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="hardware"/>
+ * <enumeration value="software"/>
+ * </restriction>
+ * </simpleType>
+ *
+ */
+@XmlType(name = "DeviceTypeType")
+@XmlEnum
+public enum DeviceTypeType {
+
+ @XmlEnumValue("hardware")
+ HARDWARE("hardware"), @XmlEnumValue("software")
+ SOFTWARE("software");
+ private final String value;
+
+ DeviceTypeType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static DeviceTypeType fromValue(String v) {
+ for (DeviceTypeType c : DeviceTypeType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
diff --git a/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/ExtensionOnlyType.java b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/ExtensionOnlyType.java
new file mode 100755
index 0000000000..50f60e0fb5
--- /dev/null
+++ b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/ExtensionOnlyType.java
@@ -0,0 +1,88 @@
+/*
+ * JBoss, Home of Professional Open Source
+ *
+ * Copyright 2013 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661
+// See http://java.sun.com/xml/jaxb
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.12.08 at 05:45:20 PM CST
+//
+
+package org.keycloak.dom.saml.v2.ac;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ *
+ * Java class for ExtensionOnlyType complex type.
+ *
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType name="ExtensionOnlyType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:oasis:names:tc:SAML:2.0:ac}Extension" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ExtensionOnlyType", propOrder = {"extension"})
+public class ExtensionOnlyType {
+
+ @XmlElement(name = "Extension")
+ protected List extension;
+
+ /**
+ * Gets the value of the extension property.
+ *
+ *
+ * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to
+ * the
+ * returned list will be present inside the JAXB object. This is why there is not a set
method for the
+ * extension property.
+ *
+ *
+ * For example, to add a new item, do as follows:
+ *
+ *
+ * getExtension().add(newItem);
+ *
+ *
+ *
+ *
+ * Objects of the following type(s) are allowed in the list {@link ExtensionType }
+ */
+ public List getExtension() {
+ if (extension == null) {
+ extension = new ArrayList();
+ }
+ return this.extension;
+ }
+
+}
diff --git a/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/ExtensionType.java b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/ExtensionType.java
new file mode 100755
index 0000000000..cfaa01c059
--- /dev/null
+++ b/saml/saml-core/src/main/java/org/keycloak/dom/saml/v2/ac/ExtensionType.java
@@ -0,0 +1,89 @@
+/*
+ * JBoss, Home of Professional Open Source
+ *
+ * Copyright 2013 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661
+// See http://java.sun.com/xml/jaxb
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.12.08 at 05:45:20 PM CST
+//
+
+package org.keycloak.dom.saml.v2.ac;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ *
+ * Java class for ExtensionType complex type.
+ *
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType name="ExtensionType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ExtensionType", propOrder = {"any"})
+public class ExtensionType {
+
+ @XmlAnyElement(lax = true)
+ protected List