Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 51511 invoked from network); 15 Jul 2008 23:47:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jul 2008 23:47:45 -0000 Received: (qmail 40266 invoked by uid 500); 15 Jul 2008 23:47:44 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 40217 invoked by uid 500); 15 Jul 2008 23:47:44 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 40208 invoked by uid 99); 15 Jul 2008 23:47:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 16:47:44 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 23:46:58 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3D4282388A03; Tue, 15 Jul 2008 16:46:52 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r677108 [1/3] - in /geronimo/components/jaspi/trunk/geronimo-jaspi: ./ src/main/java/org/apache/geronimo/components/jaspi/model/ src/main/java/sxc/org/apache/geronimo/components/jaspi/model/ src/main/xsd/ Date: Tue, 15 Jul 2008 23:46:51 -0000 To: scm@geronimo.apache.org From: djencks@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080715234652.3D4282388A03@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: djencks Date: Tue Jul 15 16:46:50 2008 New Revision: 677108 URL: http://svn.apache.org/viewvc?rev=677108&view=rev Log: add the rest of the jaspi object model, untested Added: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/AuthModuleType.java (with props) geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ClientAuthConfigType.java (with props) geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ClientAuthContextType.java (with props) geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/MessagePolicyType.java (with props) geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ProtectionPolicyType.java (with props) geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ServerAuthConfigType.java (with props) geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ServerAuthContextType.java (with props) geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/TargetPolicyType.java (with props) geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/TargetType.java (with props) geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/AuthModuleTypeJAXB.java (with props) geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/ClientAuthConfigTypeJAXB.java (with props) geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/ClientAuthContextTypeJAXB.java (with props) geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/MessagePolicyTypeJAXB.java (with props) geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/ProtectionPolicyTypeJAXB.java (with props) geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/ServerAuthConfigTypeJAXB.java (with props) geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/ServerAuthContextTypeJAXB.java (with props) geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/TargetPolicyTypeJAXB.java (with props) geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/TargetTypeJAXB.java (with props) Modified: geronimo/components/jaspi/trunk/geronimo-jaspi/pom.xml geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ConfigProviderType.java geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/JaspiType.java geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ObjectFactory.java geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/package-info.java geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/ConfigProviderTypeJAXB.java geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/ObjectFactoryJAXB.java geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/xsd/geronimo-jaspi.xsd Modified: geronimo/components/jaspi/trunk/geronimo-jaspi/pom.xml URL: http://svn.apache.org/viewvc/geronimo/components/jaspi/trunk/geronimo-jaspi/pom.xml?rev=677108&r1=677107&r2=677108&view=diff ============================================================================== --- geronimo/components/jaspi/trunk/geronimo-jaspi/pom.xml (original) +++ geronimo/components/jaspi/trunk/geronimo-jaspi/pom.xml Tue Jul 15 16:46:50 2008 @@ -350,25 +350,23 @@ --> - + + + + + + + + + + + + + + + + + Added: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/AuthModuleType.java URL: http://svn.apache.org/viewvc/geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/AuthModuleType.java?rev=677108&view=auto ============================================================================== --- geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/AuthModuleType.java (added) +++ geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/AuthModuleType.java Tue Jul 15 16:46:50 2008 @@ -0,0 +1,156 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2008.07.15 at 04:13:34 PM PDT +// + + +package org.apache.geronimo.components.jaspi.model; + +import java.io.Serializable; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for authModuleType complex type. + * + *

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

+ * <complexType name="authModuleType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="className" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="requestPolicy" type="{http://geronimo.apache.org/xml/ns/geronimo-jaspi}messagePolicyType"/>
+ *         <element name="responsePolicy" type="{http://geronimo.apache.org/xml/ns/geronimo-jaspi}messagePolicyType"/>
+ *         <element name="options" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "authModuleType", propOrder = { + "className", + "requestPolicy", + "responsePolicy", + "options" +}) +public class AuthModuleType + implements Serializable +{ + + private final static long serialVersionUID = 12343L; + @XmlElement(required = true) + protected String className; + @XmlElement(required = true) + protected MessagePolicyType requestPolicy; + @XmlElement(required = true) + protected MessagePolicyType responsePolicy; + protected String options; + + /** + * Gets the value of the className property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getClassName() { + return className; + } + + /** + * Sets the value of the className property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setClassName(String value) { + this.className = value; + } + + /** + * Gets the value of the requestPolicy property. + * + * @return + * possible object is + * {@link MessagePolicyType } + * + */ + public MessagePolicyType getRequestPolicy() { + return requestPolicy; + } + + /** + * Sets the value of the requestPolicy property. + * + * @param value + * allowed object is + * {@link MessagePolicyType } + * + */ + public void setRequestPolicy(MessagePolicyType value) { + this.requestPolicy = value; + } + + /** + * Gets the value of the responsePolicy property. + * + * @return + * possible object is + * {@link MessagePolicyType } + * + */ + public MessagePolicyType getResponsePolicy() { + return responsePolicy; + } + + /** + * Sets the value of the responsePolicy property. + * + * @param value + * allowed object is + * {@link MessagePolicyType } + * + */ + public void setResponsePolicy(MessagePolicyType value) { + this.responsePolicy = value; + } + + /** + * Gets the value of the options property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOptions() { + return options; + } + + /** + * Sets the value of the options property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOptions(String value) { + this.options = value; + } + +} Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/AuthModuleType.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/AuthModuleType.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/AuthModuleType.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ClientAuthConfigType.java URL: http://svn.apache.org/viewvc/geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ClientAuthConfigType.java?rev=677108&view=auto ============================================================================== --- geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ClientAuthConfigType.java (added) +++ geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ClientAuthConfigType.java Tue Jul 15 16:46:50 2008 @@ -0,0 +1,181 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2008.07.15 at 04:13:34 PM PDT +// + + +package org.apache.geronimo.components.jaspi.model; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for clientAuthConfigType complex type. + * + *

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

+ * <complexType name="clientAuthConfigType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="messageLayer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="appContext" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="authenticationContextID" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="protected" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ *         <element name="clientAuthContext" type="{http://geronimo.apache.org/xml/ns/geronimo-jaspi}clientAuthContextType" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "clientAuthConfigType", propOrder = { + "messageLayer", + "appContext", + "authenticationContextID", + "_protected", + "clientAuthContext" +}) +public class ClientAuthConfigType + implements Serializable +{ + + private final static long serialVersionUID = 12343L; + protected String messageLayer; + protected String appContext; + @XmlElement(required = true) + protected String authenticationContextID; + @XmlElement(name = "protected") + protected boolean _protected; + protected List clientAuthContext; + + /** + * Gets the value of the messageLayer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMessageLayer() { + return messageLayer; + } + + /** + * Sets the value of the messageLayer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMessageLayer(String value) { + this.messageLayer = value; + } + + /** + * Gets the value of the appContext property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAppContext() { + return appContext; + } + + /** + * Sets the value of the appContext property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAppContext(String value) { + this.appContext = value; + } + + /** + * Gets the value of the authenticationContextID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAuthenticationContextID() { + return authenticationContextID; + } + + /** + * Sets the value of the authenticationContextID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAuthenticationContextID(String value) { + this.authenticationContextID = value; + } + + /** + * Gets the value of the protected property. + * + */ + public boolean isProtected() { + return _protected; + } + + /** + * Sets the value of the protected property. + * + */ + public void setProtected(boolean value) { + this._protected = value; + } + + /** + * Gets the value of the clientAuthContext 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 clientAuthContext property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link ClientAuthContextType } + * + * + */ + public List getClientAuthContext() { + if (clientAuthContext == null) { + clientAuthContext = new ArrayList(); + } + return this.clientAuthContext; + } + +} Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ClientAuthConfigType.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ClientAuthConfigType.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ClientAuthConfigType.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ClientAuthContextType.java URL: http://svn.apache.org/viewvc/geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ClientAuthContextType.java?rev=677108&view=auto ============================================================================== --- geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ClientAuthContextType.java (added) +++ geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ClientAuthContextType.java Tue Jul 15 16:46:50 2008 @@ -0,0 +1,161 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2008.07.15 at 04:13:34 PM PDT +// + + +package org.apache.geronimo.components.jaspi.model; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for clientAuthContextType complex type. + * + *

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

+ * <complexType name="clientAuthContextType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="messageLayer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="appContext" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="authenticationContextID" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="clientAuthModule" type="{http://geronimo.apache.org/xml/ns/geronimo-jaspi}authModuleType" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "clientAuthContextType", propOrder = { + "messageLayer", + "appContext", + "authenticationContextID", + "clientAuthModule" +}) +public class ClientAuthContextType + implements Serializable +{ + + private final static long serialVersionUID = 12343L; + protected String messageLayer; + protected String appContext; + @XmlElement(required = true) + protected String authenticationContextID; + protected List clientAuthModule; + + /** + * Gets the value of the messageLayer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMessageLayer() { + return messageLayer; + } + + /** + * Sets the value of the messageLayer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMessageLayer(String value) { + this.messageLayer = value; + } + + /** + * Gets the value of the appContext property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAppContext() { + return appContext; + } + + /** + * Sets the value of the appContext property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAppContext(String value) { + this.appContext = value; + } + + /** + * Gets the value of the authenticationContextID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAuthenticationContextID() { + return authenticationContextID; + } + + /** + * Sets the value of the authenticationContextID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAuthenticationContextID(String value) { + this.authenticationContextID = value; + } + + /** + * Gets the value of the clientAuthModule 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 clientAuthModule property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link AuthModuleType } + * + * + */ + public List getClientAuthModule() { + if (clientAuthModule == null) { + clientAuthModule = new ArrayList(); + } + return this.clientAuthModule; + } + +} Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ClientAuthContextType.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ClientAuthContextType.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ClientAuthContextType.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ConfigProviderType.java URL: http://svn.apache.org/viewvc/geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ConfigProviderType.java?rev=677108&r1=677107&r2=677108&view=diff ============================================================================== --- geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ConfigProviderType.java (original) +++ geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ConfigProviderType.java Tue Jul 15 16:46:50 2008 @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2008.07.12 at 02:51:39 PM PDT +// Generated on: 2008.07.15 at 04:13:34 PM PDT // @@ -44,9 +44,18 @@ * <element name="messageLayer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="appContext" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="className" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="properties" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <choice> + * <sequence> + * <element name="className" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="properties" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * <sequence> + * <element name="clientAuthConfig" type="{http://geronimo.apache.org/xml/ns/geronimo-jaspi}clientAuthConfigType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="serverAuthConfig" type="{http://geronimo.apache.org/xml/ns/geronimo-jaspi}serverAuthConfigType" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </choice> * <element name="persistent" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="classLoaderName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -62,6 +71,8 @@ "description", "className", "properties", + "clientAuthConfig", + "serverAuthConfig", "persistent", "classLoaderName" }) @@ -74,12 +85,13 @@ protected String messageLayer; protected String appContext; protected String description; - @XmlElement(required = true) protected String className; @XmlElement(required = true) @XmlJavaTypeAdapter(StringMapAdapter.class) protected Map properties; - protected boolean persistent; + protected List clientAuthConfig; + protected List serverAuthConfig; + protected Boolean persistent; protected String classLoaderName; @XmlTransient @@ -117,7 +129,7 @@ * {@link String } * */ - public void getMessageLayer(String value) { + public void setMessageLayer(String value) { this.messageLayer = value; } @@ -218,6 +230,64 @@ } /** + * Gets the value of the clientAuthConfig 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 clientAuthConfig property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link ClientAuthConfigType } + * + * + */ + public List getClientAuthConfig() { + if (clientAuthConfig == null) { + clientAuthConfig = new ArrayList(); + } + return this.clientAuthConfig; + } + + /** + * Gets the value of the serverAuthConfig 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 serverAuthConfig property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link ServerAuthConfigType } + * + * + */ + public List getServerAuthConfig() { + if (serverAuthConfig == null) { + serverAuthConfig = new ArrayList(); + } + return this.serverAuthConfig; + } + + /** * Gets the value of the persistent property. * * @return Modified: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/JaspiType.java URL: http://svn.apache.org/viewvc/geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/JaspiType.java?rev=677108&r1=677107&r2=677108&view=diff ============================================================================== --- geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/JaspiType.java (original) +++ geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/JaspiType.java Tue Jul 15 16:46:50 2008 @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2008.07.12 at 02:51:39 PM PDT +// Generated on: 2008.07.15 at 04:13:34 PM PDT // Added: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/MessagePolicyType.java URL: http://svn.apache.org/viewvc/geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/MessagePolicyType.java?rev=677108&view=auto ============================================================================== --- geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/MessagePolicyType.java (added) +++ geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/MessagePolicyType.java Tue Jul 15 16:46:50 2008 @@ -0,0 +1,106 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2008.07.15 at 04:13:34 PM PDT +// + + +package org.apache.geronimo.components.jaspi.model; + +import java.io.Serializable; +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.XmlType; + + +/** + *

Java class for messagePolicyType complex type. + * + *

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

+ * <complexType name="messagePolicyType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="targetPolicy" type="{http://geronimo.apache.org/xml/ns/geronimo-jaspi}targetPolicyType" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="mandatory" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "messagePolicyType", propOrder = { + "targetPolicy" +}) +public class MessagePolicyType + implements Serializable +{ + + private final static long serialVersionUID = 12343L; + protected List targetPolicy; + @XmlAttribute + protected Boolean mandatory; + + /** + * Gets the value of the targetPolicy 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 targetPolicy property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link TargetPolicyType } + * + * + */ + public List getTargetPolicy() { + if (targetPolicy == null) { + targetPolicy = new ArrayList(); + } + return this.targetPolicy; + } + + /** + * Gets the value of the mandatory property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isMandatory() { + return mandatory; + } + + /** + * Sets the value of the mandatory property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setMandatory(Boolean value) { + this.mandatory = value; + } + +} Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/MessagePolicyType.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/MessagePolicyType.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/MessagePolicyType.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ObjectFactory.java URL: http://svn.apache.org/viewvc/geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ObjectFactory.java?rev=677108&r1=677107&r2=677108&view=diff ============================================================================== --- geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ObjectFactory.java (original) +++ geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ObjectFactory.java Tue Jul 15 16:46:50 2008 @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2008.07.12 at 02:51:39 PM PDT +// Generated on: 2008.07.15 at 04:13:34 PM PDT // @@ -13,9 +13,6 @@ import javax.xml.bind.annotation.XmlRegistry; import javax.xml.namespace.QName; -import org.apache.geronimo.components.jaspi.model.ConfigProviderType; -import org.apache.geronimo.components.jaspi.model.JaspiType; - /** * This object contains factory methods for each @@ -44,6 +41,62 @@ } /** + * Create an instance of {@link JaspiType } + * + */ + public JaspiType createJaspiType() { + return new JaspiType(); + } + + /** + * Create an instance of {@link ServerAuthContextType } + * + */ + public ServerAuthContextType createServerAuthContextType() { + return new ServerAuthContextType(); + } + + /** + * Create an instance of {@link AuthModuleType } + * + */ + public AuthModuleType createAuthModuleType() { + return new AuthModuleType(); + } + + /** + * Create an instance of {@link ServerAuthConfigType } + * + */ + public ServerAuthConfigType createServerAuthConfigType() { + return new ServerAuthConfigType(); + } + + /** + * Create an instance of {@link TargetType } + * + */ + public TargetType createTargetType() { + return new TargetType(); + } + + /** + * Create an instance of {@link MessagePolicyType } + * + */ + public MessagePolicyType createMessagePolicyType() { + return new MessagePolicyType(); + } + + /** + * Create an instance of {@link ClientAuthContextType } + * + */ + public ClientAuthContextType createClientAuthContextType() { + return new ClientAuthContextType(); + } + + /** * Create an instance of {@link ConfigProviderType } * */ @@ -52,15 +105,31 @@ } /** - * Create an instance of {@link JaspiType } + * Create an instance of {@link TargetPolicyType } * */ - public JaspiType createJaspiType() { - return new JaspiType(); + public TargetPolicyType createTargetPolicyType() { + return new TargetPolicyType(); + } + + /** + * Create an instance of {@link ClientAuthConfigType } + * + */ + public ClientAuthConfigType createClientAuthConfigType() { + return new ClientAuthConfigType(); + } + + /** + * Create an instance of {@link ProtectionPolicyType } + * + */ + public ProtectionPolicyType createProtectionPolicyType() { + return new ProtectionPolicyType(); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link org.apache.geronimo.components.jaspi.model.JaspiType }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link JaspiType }{@code >}} * */ @XmlElementDecl(namespace = "http://geronimo.apache.org/xml/ns/geronimo-jaspi", name = "jaspi") Added: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ProtectionPolicyType.java URL: http://svn.apache.org/viewvc/geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ProtectionPolicyType.java?rev=677108&view=auto ============================================================================== --- geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ProtectionPolicyType.java (added) +++ geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ProtectionPolicyType.java Tue Jul 15 16:46:50 2008 @@ -0,0 +1,73 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2008.07.15 at 04:13:34 PM PDT +// + + +package org.apache.geronimo.components.jaspi.model; + +import java.io.Serializable; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for protectionPolicyType complex type. + * + *

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

+ * <complexType name="protectionPolicyType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="className" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "protectionPolicyType", propOrder = { + "className" +}) +public class ProtectionPolicyType + implements Serializable +{ + + private final static long serialVersionUID = 12343L; + @XmlElement(required = true) + protected String className; + + /** + * Gets the value of the className property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getClassName() { + return className; + } + + /** + * Sets the value of the className property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setClassName(String value) { + this.className = value; + } + +} Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ProtectionPolicyType.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ProtectionPolicyType.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ProtectionPolicyType.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ServerAuthConfigType.java URL: http://svn.apache.org/viewvc/geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ServerAuthConfigType.java?rev=677108&view=auto ============================================================================== --- geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ServerAuthConfigType.java (added) +++ geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ServerAuthConfigType.java Tue Jul 15 16:46:50 2008 @@ -0,0 +1,181 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2008.07.15 at 04:13:34 PM PDT +// + + +package org.apache.geronimo.components.jaspi.model; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for serverAuthConfigType complex type. + * + *

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

+ * <complexType name="serverAuthConfigType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="messageLayer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="appContext" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="authenticationContextID" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="protected" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ *         <element name="serverAuthContext" type="{http://geronimo.apache.org/xml/ns/geronimo-jaspi}serverAuthContextType" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "serverAuthConfigType", propOrder = { + "messageLayer", + "appContext", + "authenticationContextID", + "_protected", + "serverAuthContext" +}) +public class ServerAuthConfigType + implements Serializable +{ + + private final static long serialVersionUID = 12343L; + protected String messageLayer; + protected String appContext; + @XmlElement(required = true) + protected String authenticationContextID; + @XmlElement(name = "protected") + protected boolean _protected; + protected List serverAuthContext; + + /** + * Gets the value of the messageLayer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMessageLayer() { + return messageLayer; + } + + /** + * Sets the value of the messageLayer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMessageLayer(String value) { + this.messageLayer = value; + } + + /** + * Gets the value of the appContext property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAppContext() { + return appContext; + } + + /** + * Sets the value of the appContext property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAppContext(String value) { + this.appContext = value; + } + + /** + * Gets the value of the authenticationContextID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAuthenticationContextID() { + return authenticationContextID; + } + + /** + * Sets the value of the authenticationContextID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAuthenticationContextID(String value) { + this.authenticationContextID = value; + } + + /** + * Gets the value of the protected property. + * + */ + public boolean isProtected() { + return _protected; + } + + /** + * Sets the value of the protected property. + * + */ + public void setProtected(boolean value) { + this._protected = value; + } + + /** + * Gets the value of the serverAuthContext 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 serverAuthContext property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link ServerAuthContextType } + * + * + */ + public List getServerAuthContext() { + if (serverAuthContext == null) { + serverAuthContext = new ArrayList(); + } + return this.serverAuthContext; + } + +} Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ServerAuthConfigType.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ServerAuthConfigType.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ServerAuthConfigType.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ServerAuthContextType.java URL: http://svn.apache.org/viewvc/geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ServerAuthContextType.java?rev=677108&view=auto ============================================================================== --- geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ServerAuthContextType.java (added) +++ geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ServerAuthContextType.java Tue Jul 15 16:46:50 2008 @@ -0,0 +1,161 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2008.07.15 at 04:13:34 PM PDT +// + + +package org.apache.geronimo.components.jaspi.model; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for serverAuthContextType complex type. + * + *

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

+ * <complexType name="serverAuthContextType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="messageLayer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="appContext" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="authenticationContextID" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="serverAuthModule" type="{http://geronimo.apache.org/xml/ns/geronimo-jaspi}authModuleType" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "serverAuthContextType", propOrder = { + "messageLayer", + "appContext", + "authenticationContextID", + "serverAuthModule" +}) +public class ServerAuthContextType + implements Serializable +{ + + private final static long serialVersionUID = 12343L; + protected String messageLayer; + protected String appContext; + @XmlElement(required = true) + protected String authenticationContextID; + protected List serverAuthModule; + + /** + * Gets the value of the messageLayer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMessageLayer() { + return messageLayer; + } + + /** + * Sets the value of the messageLayer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMessageLayer(String value) { + this.messageLayer = value; + } + + /** + * Gets the value of the appContext property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAppContext() { + return appContext; + } + + /** + * Sets the value of the appContext property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAppContext(String value) { + this.appContext = value; + } + + /** + * Gets the value of the authenticationContextID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAuthenticationContextID() { + return authenticationContextID; + } + + /** + * Sets the value of the authenticationContextID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAuthenticationContextID(String value) { + this.authenticationContextID = value; + } + + /** + * Gets the value of the serverAuthModule 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 serverAuthModule property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link AuthModuleType } + * + * + */ + public List getServerAuthModule() { + if (serverAuthModule == null) { + serverAuthModule = new ArrayList(); + } + return this.serverAuthModule; + } + +} Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ServerAuthContextType.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ServerAuthContextType.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/ServerAuthContextType.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/TargetPolicyType.java URL: http://svn.apache.org/viewvc/geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/TargetPolicyType.java?rev=677108&view=auto ============================================================================== --- geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/TargetPolicyType.java (added) +++ geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/TargetPolicyType.java Tue Jul 15 16:46:50 2008 @@ -0,0 +1,107 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2008.07.15 at 04:13:34 PM PDT +// + + +package org.apache.geronimo.components.jaspi.model; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for targetPolicyType complex type. + * + *

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

+ * <complexType name="targetPolicyType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="protectionPolicy" type="{http://geronimo.apache.org/xml/ns/geronimo-jaspi}protectionPolicyType"/>
+ *         <element name="target" type="{http://geronimo.apache.org/xml/ns/geronimo-jaspi}targetType" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "targetPolicyType", propOrder = { + "protectionPolicy", + "target" +}) +public class TargetPolicyType + implements Serializable +{ + + private final static long serialVersionUID = 12343L; + @XmlElement(required = true) + protected ProtectionPolicyType protectionPolicy; + protected List target; + + /** + * Gets the value of the protectionPolicy property. + * + * @return + * possible object is + * {@link ProtectionPolicyType } + * + */ + public ProtectionPolicyType getProtectionPolicy() { + return protectionPolicy; + } + + /** + * Sets the value of the protectionPolicy property. + * + * @param value + * allowed object is + * {@link ProtectionPolicyType } + * + */ + public void setProtectionPolicy(ProtectionPolicyType value) { + this.protectionPolicy = value; + } + + /** + * Gets the value of the target 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 target property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link TargetType } + * + * + */ + public List getTarget() { + if (target == null) { + target = new ArrayList(); + } + return this.target; + } + +} Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/TargetPolicyType.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/TargetPolicyType.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/TargetPolicyType.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/TargetType.java URL: http://svn.apache.org/viewvc/geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/TargetType.java?rev=677108&view=auto ============================================================================== --- geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/TargetType.java (added) +++ geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/TargetType.java Tue Jul 15 16:46:50 2008 @@ -0,0 +1,73 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2008.07.15 at 04:13:34 PM PDT +// + + +package org.apache.geronimo.components.jaspi.model; + +import java.io.Serializable; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for targetType complex type. + * + *

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

+ * <complexType name="targetType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="className" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "targetType", propOrder = { + "className" +}) +public class TargetType + implements Serializable +{ + + private final static long serialVersionUID = 12343L; + @XmlElement(required = true) + protected String className; + + /** + * Gets the value of the className property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getClassName() { + return className; + } + + /** + * Sets the value of the className property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setClassName(String value) { + this.className = value; + } + +} Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/TargetType.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/TargetType.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/TargetType.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/package-info.java URL: http://svn.apache.org/viewvc/geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/package-info.java?rev=677108&r1=677107&r2=677108&view=diff ============================================================================== --- geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/package-info.java (original) +++ geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/package-info.java Tue Jul 15 16:46:50 2008 @@ -1,8 +1,8 @@ // -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2008.07.12 at 02:51:39 PM PDT +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2008.07.15 at 04:13:34 PM PDT // @javax.xml.bind.annotation.XmlSchema(namespace = "http://geronimo.apache.org/xml/ns/geronimo-jaspi", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) Added: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/AuthModuleTypeJAXB.java URL: http://svn.apache.org/viewvc/geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/AuthModuleTypeJAXB.java?rev=677108&view=auto ============================================================================== --- geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/AuthModuleTypeJAXB.java (added) +++ geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/AuthModuleTypeJAXB.java Tue Jul 15 16:46:50 2008 @@ -0,0 +1,172 @@ + +package sxc.org.apache.geronimo.components.jaspi.model; + +import javax.xml.XMLConstants; +import javax.xml.namespace.QName; +import com.envoisolutions.sxc.jaxb.FieldAccessor; +import com.envoisolutions.sxc.jaxb.JAXBObject; +import com.envoisolutions.sxc.jaxb.LifecycleCallback; +import com.envoisolutions.sxc.jaxb.RuntimeContext; +import com.envoisolutions.sxc.util.Attribute; +import com.envoisolutions.sxc.util.XoXMLStreamReader; +import com.envoisolutions.sxc.util.XoXMLStreamWriter; +import org.apache.geronimo.components.jaspi.model.AuthModuleType; +import org.apache.geronimo.components.jaspi.model.MessagePolicyType; + + +import static sxc.org.apache.geronimo.components.jaspi.model.MessagePolicyTypeJAXB.readMessagePolicyType; +import static sxc.org.apache.geronimo.components.jaspi.model.MessagePolicyTypeJAXB.writeMessagePolicyType; + +@SuppressWarnings({ + "StringEquality" +}) +public class AuthModuleTypeJAXB + extends JAXBObject +{ + + public final static AuthModuleTypeJAXB INSTANCE = new AuthModuleTypeJAXB(); + private final static LifecycleCallback lifecycleCallback = new LifecycleCallback(AuthModuleType.class); + private final static FieldAccessor authModuleTypeClassName = new FieldAccessor(AuthModuleType.class, "className"); + private final static FieldAccessor authModuleTypeRequestPolicy = new FieldAccessor(AuthModuleType.class, "requestPolicy"); + private final static FieldAccessor authModuleTypeResponsePolicy = new FieldAccessor(AuthModuleType.class, "responsePolicy"); + private final static FieldAccessor authModuleTypeOptions = new FieldAccessor(AuthModuleType.class, "options"); + + public AuthModuleTypeJAXB() { + super(AuthModuleType.class, null, new QName("http://geronimo.apache.org/xml/ns/geronimo-jaspi".intern(), "authModuleType".intern()), MessagePolicyTypeJAXB.class); + } + + public static AuthModuleType readAuthModuleType(XoXMLStreamReader reader, RuntimeContext context) + throws Exception + { + return INSTANCE.read(reader, context); + } + + public static void writeAuthModuleType(XoXMLStreamWriter writer, AuthModuleType authModuleType, RuntimeContext context) + throws Exception + { + INSTANCE.write(writer, authModuleType, context); + } + + public final AuthModuleType read(XoXMLStreamReader reader, RuntimeContext context) + throws Exception + { + + // Check for xsi:nil + if (reader.isXsiNil()) { + return null; + } + + if (context == null) { + context = new RuntimeContext(); + } + + AuthModuleType authModuleType = new AuthModuleType(); + context.beforeUnmarshal(authModuleType, lifecycleCallback); + + + // Check xsi:type + QName xsiType = reader.getXsiType(); + if (xsiType!= null) { + if (("authModuleType"!= xsiType.getLocalPart())||("http://geronimo.apache.org/xml/ns/geronimo-jaspi"!= xsiType.getNamespaceURI())) { + return context.unexpectedXsiType(reader, AuthModuleType.class); + } + } + + // Read attributes + for (Attribute attribute: reader.getAttributes()) { + if (XMLConstants.W3C_XML_SCHEMA_INSTANCE_NS_URI!= attribute.getNamespace()) { + context.unexpectedAttribute(attribute); + } + } + + // Read elements + for (XoXMLStreamReader elementReader: reader.getChildElements()) { + if (("className" == elementReader.getLocalName())&&("http://geronimo.apache.org/xml/ns/geronimo-jaspi" == elementReader.getNamespaceURI())) { + // ELEMENT: className + String className = elementReader.getElementAsString(); + authModuleTypeClassName.setObject(reader, context, authModuleType, className); + } else if (("requestPolicy" == elementReader.getLocalName())&&("http://geronimo.apache.org/xml/ns/geronimo-jaspi" == elementReader.getNamespaceURI())) { + // ELEMENT: requestPolicy + MessagePolicyType requestPolicy = readMessagePolicyType(elementReader, context); + authModuleTypeRequestPolicy.setObject(reader, context, authModuleType, requestPolicy); + } else if (("responsePolicy" == elementReader.getLocalName())&&("http://geronimo.apache.org/xml/ns/geronimo-jaspi" == elementReader.getNamespaceURI())) { + // ELEMENT: responsePolicy + MessagePolicyType responsePolicy = readMessagePolicyType(elementReader, context); + authModuleTypeResponsePolicy.setObject(reader, context, authModuleType, responsePolicy); + } else if (("options" == elementReader.getLocalName())&&("http://geronimo.apache.org/xml/ns/geronimo-jaspi" == elementReader.getNamespaceURI())) { + // ELEMENT: options + String options = elementReader.getElementAsString(); + authModuleTypeOptions.setObject(reader, context, authModuleType, options); + } else { + context.unexpectedElement(elementReader, new QName("http://geronimo.apache.org/xml/ns/geronimo-jaspi", "className"), new QName("http://geronimo.apache.org/xml/ns/geronimo-jaspi", "requestPolicy"), new QName("http://geronimo.apache.org/xml/ns/geronimo-jaspi", "responsePolicy"), new QName("http://geronimo.apache.org/xml/ns/geronimo-jaspi", "options")); + } + } + + context.afterUnmarshal(authModuleType, lifecycleCallback); + + return authModuleType; + } + + public final void write(XoXMLStreamWriter writer, AuthModuleType authModuleType, RuntimeContext context) + throws Exception + { + if (authModuleType == null) { + writer.writeXsiNil(); + return ; + } + + if (context == null) { + context = new RuntimeContext(); + } + + String prefix = writer.getUniquePrefix("http://geronimo.apache.org/xml/ns/geronimo-jaspi"); + if (AuthModuleType.class!= authModuleType.getClass()) { + context.unexpectedSubclass(writer, authModuleType, AuthModuleType.class); + return ; + } + + context.beforeMarshal(authModuleType, lifecycleCallback); + + + // ELEMENT: className + String className = authModuleTypeClassName.getObject(authModuleType, context, authModuleType); + if (className!= null) { + writer.writeStartElement(prefix, "className", "http://geronimo.apache.org/xml/ns/geronimo-jaspi"); + writer.writeCharacters(className); + writer.writeEndElement(); + } else { + context.unexpectedNullValue(authModuleType, "className"); + } + + // ELEMENT: requestPolicy + MessagePolicyType requestPolicy = authModuleTypeRequestPolicy.getObject(authModuleType, context, authModuleType); + if (requestPolicy!= null) { + writer.writeStartElement(prefix, "requestPolicy", "http://geronimo.apache.org/xml/ns/geronimo-jaspi"); + writeMessagePolicyType(writer, requestPolicy, context); + writer.writeEndElement(); + } else { + context.unexpectedNullValue(authModuleType, "requestPolicy"); + } + + // ELEMENT: responsePolicy + MessagePolicyType responsePolicy = authModuleTypeResponsePolicy.getObject(authModuleType, context, authModuleType); + if (responsePolicy!= null) { + writer.writeStartElement(prefix, "responsePolicy", "http://geronimo.apache.org/xml/ns/geronimo-jaspi"); + writeMessagePolicyType(writer, responsePolicy, context); + writer.writeEndElement(); + } else { + context.unexpectedNullValue(authModuleType, "responsePolicy"); + } + + // ELEMENT: options + String options = authModuleTypeOptions.getObject(authModuleType, context, authModuleType); + if (options!= null) { + writer.writeStartElement(prefix, "options", "http://geronimo.apache.org/xml/ns/geronimo-jaspi"); + writer.writeCharacters(options); + writer.writeEndElement(); + } + + context.afterMarshal(authModuleType, lifecycleCallback); + } + +} Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/AuthModuleTypeJAXB.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/AuthModuleTypeJAXB.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/AuthModuleTypeJAXB.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/ClientAuthConfigTypeJAXB.java URL: http://svn.apache.org/viewvc/geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/ClientAuthConfigTypeJAXB.java?rev=677108&view=auto ============================================================================== --- geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/ClientAuthConfigTypeJAXB.java (added) +++ geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/ClientAuthConfigTypeJAXB.java Tue Jul 15 16:46:50 2008 @@ -0,0 +1,199 @@ + +package sxc.org.apache.geronimo.components.jaspi.model; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.XMLConstants; +import javax.xml.namespace.QName; +import com.envoisolutions.sxc.jaxb.FieldAccessor; +import com.envoisolutions.sxc.jaxb.JAXBObject; +import com.envoisolutions.sxc.jaxb.LifecycleCallback; +import com.envoisolutions.sxc.jaxb.RuntimeContext; +import com.envoisolutions.sxc.util.Attribute; +import com.envoisolutions.sxc.util.XoXMLStreamReader; +import com.envoisolutions.sxc.util.XoXMLStreamWriter; +import org.apache.geronimo.components.jaspi.model.ClientAuthConfigType; +import org.apache.geronimo.components.jaspi.model.ClientAuthContextType; + + +import static sxc.org.apache.geronimo.components.jaspi.model.ClientAuthContextTypeJAXB.readClientAuthContextType; +import static sxc.org.apache.geronimo.components.jaspi.model.ClientAuthContextTypeJAXB.writeClientAuthContextType; + +@SuppressWarnings({ + "StringEquality" +}) +public class ClientAuthConfigTypeJAXB + extends JAXBObject +{ + + public final static ClientAuthConfigTypeJAXB INSTANCE = new ClientAuthConfigTypeJAXB(); + private final static LifecycleCallback lifecycleCallback = new LifecycleCallback(ClientAuthConfigType.class); + private final static FieldAccessor clientAuthConfigTypeMessageLayer = new FieldAccessor(ClientAuthConfigType.class, "messageLayer"); + private final static FieldAccessor clientAuthConfigTypeAppContext = new FieldAccessor(ClientAuthConfigType.class, "appContext"); + private final static FieldAccessor clientAuthConfigTypeAuthenticationContextID = new FieldAccessor(ClientAuthConfigType.class, "authenticationContextID"); + private final static FieldAccessor clientAuthConfigType_protected = new FieldAccessor(ClientAuthConfigType.class, "_protected"); + private final static FieldAccessor> clientAuthConfigTypeClientAuthContext = new FieldAccessor>(ClientAuthConfigType.class, "clientAuthContext"); + + public ClientAuthConfigTypeJAXB() { + super(ClientAuthConfigType.class, null, new QName("http://geronimo.apache.org/xml/ns/geronimo-jaspi".intern(), "clientAuthConfigType".intern()), ClientAuthContextTypeJAXB.class); + } + + public static ClientAuthConfigType readClientAuthConfigType(XoXMLStreamReader reader, RuntimeContext context) + throws Exception + { + return INSTANCE.read(reader, context); + } + + public static void writeClientAuthConfigType(XoXMLStreamWriter writer, ClientAuthConfigType clientAuthConfigType, RuntimeContext context) + throws Exception + { + INSTANCE.write(writer, clientAuthConfigType, context); + } + + public final ClientAuthConfigType read(XoXMLStreamReader reader, RuntimeContext context) + throws Exception + { + + // Check for xsi:nil + if (reader.isXsiNil()) { + return null; + } + + if (context == null) { + context = new RuntimeContext(); + } + + ClientAuthConfigType clientAuthConfigType = new ClientAuthConfigType(); + context.beforeUnmarshal(clientAuthConfigType, lifecycleCallback); + + List clientAuthContext = null; + + // Check xsi:type + QName xsiType = reader.getXsiType(); + if (xsiType!= null) { + if (("clientAuthConfigType"!= xsiType.getLocalPart())||("http://geronimo.apache.org/xml/ns/geronimo-jaspi"!= xsiType.getNamespaceURI())) { + return context.unexpectedXsiType(reader, ClientAuthConfigType.class); + } + } + + // Read attributes + for (Attribute attribute: reader.getAttributes()) { + if (XMLConstants.W3C_XML_SCHEMA_INSTANCE_NS_URI!= attribute.getNamespace()) { + context.unexpectedAttribute(attribute); + } + } + + // Read elements + for (XoXMLStreamReader elementReader: reader.getChildElements()) { + if (("messageLayer" == elementReader.getLocalName())&&("http://geronimo.apache.org/xml/ns/geronimo-jaspi" == elementReader.getNamespaceURI())) { + // ELEMENT: messageLayer + String messageLayer = elementReader.getElementAsString(); + clientAuthConfigTypeMessageLayer.setObject(reader, context, clientAuthConfigType, messageLayer); + } else if (("appContext" == elementReader.getLocalName())&&("http://geronimo.apache.org/xml/ns/geronimo-jaspi" == elementReader.getNamespaceURI())) { + // ELEMENT: appContext + String appContext = elementReader.getElementAsString(); + clientAuthConfigTypeAppContext.setObject(reader, context, clientAuthConfigType, appContext); + } else if (("authenticationContextID" == elementReader.getLocalName())&&("http://geronimo.apache.org/xml/ns/geronimo-jaspi" == elementReader.getNamespaceURI())) { + // ELEMENT: authenticationContextID + String authenticationContextID = elementReader.getElementAsString(); + clientAuthConfigTypeAuthenticationContextID.setObject(reader, context, clientAuthConfigType, authenticationContextID); + } else if (("protected" == elementReader.getLocalName())&&("http://geronimo.apache.org/xml/ns/geronimo-jaspi" == elementReader.getNamespaceURI())) { + // ELEMENT: _protected + Boolean _protected = ("1".equals(elementReader.getElementAsString())||"true".equals(elementReader.getElementAsString())); + clientAuthConfigType_protected.setBoolean(reader, context, clientAuthConfigType, _protected); + } else if (("clientAuthContext" == elementReader.getLocalName())&&("http://geronimo.apache.org/xml/ns/geronimo-jaspi" == elementReader.getNamespaceURI())) { + // ELEMENT: clientAuthContext + ClientAuthContextType clientAuthContextItem = readClientAuthContextType(elementReader, context); + if (clientAuthContext == null) { + clientAuthContext = clientAuthConfigTypeClientAuthContext.getObject(reader, context, clientAuthConfigType); + if (clientAuthContext!= null) { + clientAuthContext.clear(); + } else { + clientAuthContext = new ArrayList(); + } + } + clientAuthContext.add(clientAuthContextItem); + } else { + context.unexpectedElement(elementReader, new QName("http://geronimo.apache.org/xml/ns/geronimo-jaspi", "messageLayer"), new QName("http://geronimo.apache.org/xml/ns/geronimo-jaspi", "appContext"), new QName("http://geronimo.apache.org/xml/ns/geronimo-jaspi", "authenticationContextID"), new QName("http://geronimo.apache.org/xml/ns/geronimo-jaspi", "protected"), new QName("http://geronimo.apache.org/xml/ns/geronimo-jaspi", "clientAuthContext")); + } + } + if (clientAuthContext!= null) { + clientAuthConfigTypeClientAuthContext.setObject(reader, context, clientAuthConfigType, clientAuthContext); + } + + context.afterUnmarshal(clientAuthConfigType, lifecycleCallback); + + return clientAuthConfigType; + } + + public final void write(XoXMLStreamWriter writer, ClientAuthConfigType clientAuthConfigType, RuntimeContext context) + throws Exception + { + if (clientAuthConfigType == null) { + writer.writeXsiNil(); + return ; + } + + if (context == null) { + context = new RuntimeContext(); + } + + String prefix = writer.getUniquePrefix("http://geronimo.apache.org/xml/ns/geronimo-jaspi"); + if (ClientAuthConfigType.class!= clientAuthConfigType.getClass()) { + context.unexpectedSubclass(writer, clientAuthConfigType, ClientAuthConfigType.class); + return ; + } + + context.beforeMarshal(clientAuthConfigType, lifecycleCallback); + + + // ELEMENT: messageLayer + String messageLayer = clientAuthConfigTypeMessageLayer.getObject(clientAuthConfigType, context, clientAuthConfigType); + if (messageLayer!= null) { + writer.writeStartElement(prefix, "messageLayer", "http://geronimo.apache.org/xml/ns/geronimo-jaspi"); + writer.writeCharacters(messageLayer); + writer.writeEndElement(); + } + + // ELEMENT: appContext + String appContext = clientAuthConfigTypeAppContext.getObject(clientAuthConfigType, context, clientAuthConfigType); + if (appContext!= null) { + writer.writeStartElement(prefix, "appContext", "http://geronimo.apache.org/xml/ns/geronimo-jaspi"); + writer.writeCharacters(appContext); + writer.writeEndElement(); + } + + // ELEMENT: authenticationContextID + String authenticationContextID = clientAuthConfigTypeAuthenticationContextID.getObject(clientAuthConfigType, context, clientAuthConfigType); + if (authenticationContextID!= null) { + writer.writeStartElement(prefix, "authenticationContextID", "http://geronimo.apache.org/xml/ns/geronimo-jaspi"); + writer.writeCharacters(authenticationContextID); + writer.writeEndElement(); + } else { + context.unexpectedNullValue(clientAuthConfigType, "authenticationContextID"); + } + + // ELEMENT: _protected + Boolean _protected = clientAuthConfigType_protected.getBoolean(clientAuthConfigType, context, clientAuthConfigType); + writer.writeStartElement(prefix, "protected", "http://geronimo.apache.org/xml/ns/geronimo-jaspi"); + writer.writeCharacters(Boolean.toString(_protected)); + writer.writeEndElement(); + + // ELEMENT: clientAuthContext + List clientAuthContext = clientAuthConfigTypeClientAuthContext.getObject(clientAuthConfigType, context, clientAuthConfigType); + if (clientAuthContext!= null) { + for (ClientAuthContextType clientAuthContextItem: clientAuthContext) { + writer.writeStartElement(prefix, "clientAuthContext", "http://geronimo.apache.org/xml/ns/geronimo-jaspi"); + if (clientAuthContextItem!= null) { + writeClientAuthContextType(writer, clientAuthContextItem, context); + } else { + writer.writeXsiNil(); + } + writer.writeEndElement(); + } + } + + context.afterMarshal(clientAuthConfigType, lifecycleCallback); + } + +} Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/ClientAuthConfigTypeJAXB.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/ClientAuthConfigTypeJAXB.java ------------------------------------------------------------------------------ svn:keywords = Date Revision Propchange: geronimo/components/jaspi/trunk/geronimo-jaspi/src/main/java/sxc/org/apache/geronimo/components/jaspi/model/ClientAuthConfigTypeJAXB.java ------------------------------------------------------------------------------ svn:mime-type = text/plain