You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ha...@apache.org on 2010/12/16 15:31:27 UTC
svn commit: r1049987 [2/2] - in
/geronimo/devtools/eclipse-plugin/branches/2.2: assembly/
assembly/src/main/assembly/ features/org.apache.geronimo.v22.feature/
plugins/ plugins/org.apache.geronimo.jee.v22.jaxbmodel/
plugins/org.apache.geronimo.jee.v22....
Added: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ProtectionPolicy.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ProtectionPolicy.java?rev=1049987&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ProtectionPolicy.java (added)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ProtectionPolicy.java Thu Dec 16 14:31:25 2010
@@ -0,0 +1,77 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+package org.apache.geronimo.jee.jaspi;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for protectionPolicy complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="protectionPolicy">
+ * <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>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "protectionPolicy", propOrder = {
+ "className"
+})
+public class ProtectionPolicy {
+
+ @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/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ProtectionPolicy.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ProtectionPolicy.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ProtectionPolicy.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ServerAuthConfig.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ServerAuthConfig.java?rev=1049987&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ServerAuthConfig.java (added)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ServerAuthConfig.java Thu Dec 16 14:31:25 2010
@@ -0,0 +1,185 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+package org.apache.geronimo.jee.jaspi;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for serverAuthConfig complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="serverAuthConfig">
+ * <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" minOccurs="0"/>
+ * <element name="protected" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="serverAuthContext" type="{http://geronimo.apache.org/xml/ns/geronimo-jaspi}serverAuthContext" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "serverAuthConfig", propOrder = {
+ "messageLayer",
+ "appContext",
+ "authenticationContextID",
+ "_protected",
+ "serverAuthContext"
+})
+public class ServerAuthConfig {
+
+ protected String messageLayer;
+ protected String appContext;
+ protected String authenticationContextID;
+ @XmlElement(name = "protected")
+ protected boolean _protected;
+ protected List<ServerAuthContext> 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.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the serverAuthContext property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getServerAuthContext().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ServerAuthContext }
+ *
+ *
+ */
+ public List<ServerAuthContext> getServerAuthContext() {
+ if (serverAuthContext == null) {
+ serverAuthContext = new ArrayList<ServerAuthContext>();
+ }
+ return this.serverAuthContext;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ServerAuthConfig.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ServerAuthConfig.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ServerAuthConfig.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ServerAuthContext.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ServerAuthContext.java?rev=1049987&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ServerAuthContext.java (added)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ServerAuthContext.java Thu Dec 16 14:31:25 2010
@@ -0,0 +1,164 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+package org.apache.geronimo.jee.jaspi;
+
+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.XmlType;
+
+
+/**
+ * <p>Java class for serverAuthContext complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="serverAuthContext">
+ * <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" minOccurs="0"/>
+ * <element name="serverAuthModule" type="{http://geronimo.apache.org/xml/ns/geronimo-jaspi}authModule" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "serverAuthContext", propOrder = {
+ "messageLayer",
+ "appContext",
+ "authenticationContextID",
+ "serverAuthModule"
+})
+public class ServerAuthContext {
+
+ protected String messageLayer;
+ protected String appContext;
+ protected String authenticationContextID;
+ protected List<AuthModule> 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.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the serverAuthModule property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getServerAuthModule().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link AuthModule }
+ *
+ *
+ */
+ public List<AuthModule> getServerAuthModule() {
+ if (serverAuthModule == null) {
+ serverAuthModule = new ArrayList<AuthModule>();
+ }
+ return this.serverAuthModule;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ServerAuthContext.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ServerAuthContext.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/ServerAuthContext.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/Target.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/Target.java?rev=1049987&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/Target.java (added)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/Target.java Thu Dec 16 14:31:25 2010
@@ -0,0 +1,77 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+package org.apache.geronimo.jee.jaspi;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for target complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="target">
+ * <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>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "target", propOrder = {
+ "className"
+})
+public class Target {
+
+ @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/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/Target.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/Target.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/Target.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/TargetPolicy.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/TargetPolicy.java?rev=1049987&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/TargetPolicy.java (added)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/TargetPolicy.java Thu Dec 16 14:31:25 2010
@@ -0,0 +1,110 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+package org.apache.geronimo.jee.jaspi;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for targetPolicy complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="targetPolicy">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="protectionPolicy" type="{http://geronimo.apache.org/xml/ns/geronimo-jaspi}protectionPolicy"/>
+ * <element name="target" type="{http://geronimo.apache.org/xml/ns/geronimo-jaspi}target" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * <</complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "targetPolicy", propOrder = {
+ "protectionPolicy",
+ "target"
+})
+public class TargetPolicy {
+
+ @XmlElement(required = true)
+ protected ProtectionPolicy protectionPolicy;
+ protected List<Target> target;
+
+ /**
+ * Gets the value of the protectionPolicy property.
+ *
+ * @return
+ * possible object is
+ * {@link ProtectionPolicy }
+ *
+ */
+ public ProtectionPolicy getProtectionPolicy() {
+ return protectionPolicy;
+ }
+
+ /**
+ * Sets the value of the protectionPolicy property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ProtectionPolicy }
+ *
+ */
+ public void setProtectionPolicy(ProtectionPolicy value) {
+ this.protectionPolicy = value;
+ }
+
+ /**
+ * Gets the value of the target property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the target property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTarget().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Target }
+ *
+ *
+ */
+ public List<Target> getTarget() {
+ if (target == null) {
+ target = new ArrayList<Target>();
+ }
+ return this.target;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/TargetPolicy.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/TargetPolicy.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/TargetPolicy.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/package-info.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/package-info.java?rev=1049987&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/package-info.java (added)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/package-info.java Thu Dec 16 14:31:25 2010
@@ -0,0 +1,18 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://geronimo.apache.org/xml/ns/geronimo-jaspi", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.apache.geronimo.jee.jaspi;
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/package-info.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/package-info.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/main/java/org/apache/geronimo/jee/jaspi/package-info.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/test/java/org/apache/geronimo/jee/jaspi/GeronimoJaspiTest.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/test/java/org/apache/geronimo/jee/jaspi/GeronimoJaspiTest.java?rev=1049987&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/test/java/org/apache/geronimo/jee/jaspi/GeronimoJaspiTest.java (added)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/test/java/org/apache/geronimo/jee/jaspi/GeronimoJaspiTest.java Thu Dec 16 14:31:25 2010
@@ -0,0 +1,217 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+package org.apache.geronimo.jee.jaspi;
+
+import java.io.BufferedInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.Marshaller;
+
+import junit.framework.AssertionFailedError;
+import junit.framework.TestCase;
+
+import org.custommonkey.xmlunit.Diff;
+
+
+/**
+ * <strong>GeronimoJaspiTest</strong> is used to test various JAXB
+ * operations on the following OSGi-specific XML file supported by the GEP:
+ *
+ * <ul>
+ * <li>geronimo-jaspi.xml
+ * </ul>
+ *
+ * <p>The following JAXB operations are performed:
+ * <ol>
+ * <li>Create XML with all fields
+ * </ol>
+ *
+ */
+public class GeronimoJaspiTest extends TestCase {
+
+ /*----------------------------------------------------------------------------------------------------------------*\
+ | |
+ | Testcase(s) |
+ | |
+ \*----------------------------------------------------------------------------------------------------------------*/
+ public void testCompleteXML() throws Exception {
+ buildFullXMLFromScratch("jaspi/geronimo-jaspi-expected.xml");
+ }
+
+
+ /*----------------------------------------------------------------------------------------------------------------*\
+ | |
+ | Private method(s) |
+ | |
+ \*----------------------------------------------------------------------------------------------------------------*/
+ private void buildFullXMLFromScratch (String fileExpected) throws Exception {
+
+ //
+ // Create the jaspi factory
+ //
+ ObjectFactory jaspiFactory = new ObjectFactory();
+ Jaspi jaspi = jaspiFactory.createJaspi();
+
+ //
+ // Create numerous objects so they can be used throughout
+ //
+ AuthModule authModule = jaspiFactory.createAuthModule();
+ ClientAuthConfig clientAuthConfig = jaspiFactory.createClientAuthConfig();
+ ClientAuthContext clientAuthContext = jaspiFactory.createClientAuthContext();
+ ConfigProvider configProvider = jaspiFactory.createConfigProvider();
+ MessagePolicy requestPolicy = jaspiFactory.createMessagePolicy();
+ MessagePolicy responsePolicy = jaspiFactory.createMessagePolicy();
+ ProtectionPolicy protectionPolicy = jaspiFactory.createProtectionPolicy();
+ ServerAuthConfig serverAuthConfig = jaspiFactory.createServerAuthConfig();
+ ServerAuthContext serverAuthContext = jaspiFactory.createServerAuthContext();
+ Target target = jaspiFactory.createTarget();
+ TargetPolicy targetPolicy = jaspiFactory.createTargetPolicy();
+
+ //
+ // ProtectionPolicy
+ //
+ protectionPolicy.setClassName("PROTECTION_POLICY_CLASS_NAME");
+
+ //
+ // Target
+ //
+ target.setClassName("TARGET_CLASS_NAME");
+
+ //
+ // TargetPolicy
+ //
+ targetPolicy.setProtectionPolicy(protectionPolicy);
+ targetPolicy.getTarget().add(target);
+
+ //
+ // RequestPolicy
+ //
+ requestPolicy.setMandatory(true);
+ requestPolicy.getTargetPolicy().add(targetPolicy);
+
+ //
+ // ResponsePolicy
+ //
+ responsePolicy.setMandatory(true);
+ responsePolicy.getTargetPolicy().add(targetPolicy);
+
+ //
+ // AuthModule
+ //
+ authModule.setClassLoaderName("AUTH_MODULE_CLASS_LOADER_NAME");
+ authModule.setClassName("AUTH_MODULE_CLASS_NAME");
+ authModule.setOptions("AUTH_MODULE_OPTIONS");
+ authModule.setRequestPolicy(requestPolicy);
+ authModule.setResponsePolicy(responsePolicy);
+
+
+ //
+ // ClientAuthContext
+ //
+ clientAuthContext.setAppContext("CLIENT_AUTH_CONTEXT_APP_CONTEXT");
+ clientAuthContext.setAuthenticationContextID("CLIENT_AUTH_CONTEXT_AUTHENTICATION_CONTEXT_ID");
+ clientAuthContext.setMessageLayer("CLIENT_AUTH_CONTEXT_MESSAGE_LAYER");
+ clientAuthContext.getClientAuthModule().add(authModule);
+
+ //
+ // ClientAuthConfig
+ //
+ clientAuthConfig.setAppContext("CLIENT_AUTH_CONFIG_APP_CONTEXT");
+ clientAuthConfig.setAuthenticationContextID("CLIENT_AUTH_CONFIG_AUTHENTICATION_CONTEXT_ID");
+ clientAuthConfig.setMessageLayer("CLIENT_AUTH_CONFIG_MESSAGE_LAYER");
+ clientAuthConfig.setProtected(true);
+ clientAuthConfig.getClientAuthContext().add(clientAuthContext);
+
+ //
+ // ConfigProvider
+ //
+ configProvider.setAppContext("CONFIG_PROVIDER_APP_CONTEXT");
+ configProvider.setClassLoaderName("CONFIG_PROVIDER_CLASS_LOADER_NAME");
+ configProvider.setClassName("CONFIG_PROVIDER_CLASS_NAME");
+ configProvider.setDescription("CONFIG_PROVIDER_DESCRIPTION");
+ configProvider.setMessageLayer("CONFIG_PROVIDER_MESSAGE_LAYER");
+ configProvider.setPersistent(true);
+ configProvider.setProperties("CONFIG_PROVIDER_PROPERTIES");
+ configProvider.getClientAuthConfig().add(clientAuthConfig);
+ configProvider.getServerAuthConfig().add(serverAuthConfig);
+ jaspi.getConfigProvider().add(configProvider);
+
+ //
+ // ServerAuthConfig
+ //
+ serverAuthConfig.setAppContext("SERVER_AUTH_CONFIG_APP_CONTEXT");
+ serverAuthConfig.setAuthenticationContextID("SERVER_AUTH_CONFIG_AUTHENTICATION_CONTEXT_ID");
+ serverAuthConfig.setMessageLayer("SERVER_AUTH_CONFIG_MESSAGE_LAYER");
+ serverAuthConfig.setProtected(true);
+ serverAuthConfig.getServerAuthContext().add(serverAuthContext);
+
+ //
+ // ServerAuthContext
+ //
+ serverAuthContext.setAppContext("SERVER_AUTH_CONTEXT_APP_CONTEXT");
+ serverAuthContext.setAuthenticationContextID("SERVER_AUTH_CONTEXT_AUTHENTICATION_CONTEXT_ID");
+ serverAuthContext.setMessageLayer("SERVER_AUTH_CONTEXT_MESSAGE_LAYER");
+ serverAuthContext.getServerAuthModule().add(authModule);
+
+ //
+ // Finally, create the jaspi XML
+ //
+ JAXBElement<Jaspi> jaxbElement = jaspiFactory.createJaspi(jaspi);
+
+ //
+ // Marshall the Jaspi so that it can be compared with the expected file
+ //
+ JAXBContext jaxbContext = JAXBContext.newInstance(
+ "org.apache.geronimo.jee.jaspi", getClass().getClassLoader() );
+ Marshaller marshaller = jaxbContext.createMarshaller();
+ marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
+ marshaller.setProperty(Marshaller.JAXB_ENCODING, "UTF-8");
+ ByteArrayOutputStream baos = new ByteArrayOutputStream();
+ marshaller.marshal(jaxbElement, baos);
+ String actual = new String(baos.toByteArray());
+
+ InputStream expectedInputStream = this.getClass().getClassLoader().getResourceAsStream(fileExpected);
+ String expected = readContent(expectedInputStream);
+
+ try {
+ Diff myDiff = new Diff(expected, actual);
+ assertTrue("Files are similar " + myDiff, myDiff.similar());
+ }
+ catch (AssertionFailedError e) {
+ System.out.println("[Actual XML] " + '\n' + actual + '\n');
+ System.out.println("[Expected XML: " + fileExpected + "]\n" + expected + '\n');
+ throw e;
+ }
+ }
+
+
+ private String readContent(InputStream in) throws IOException {
+ StringBuffer sb = new StringBuffer();
+ in = new BufferedInputStream(in);
+ int i = in.read();
+ while (i != -1) {
+ sb.append((char) i);
+ i = in.read();
+ }
+ String content = sb.toString();
+ return content;
+ }
+}
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/test/java/org/apache/geronimo/jee/jaspi/GeronimoJaspiTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/test/java/org/apache/geronimo/jee/jaspi/GeronimoJaspiTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/test/java/org/apache/geronimo/jee/jaspi/GeronimoJaspiTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/test/resources/jaspi/geronimo-jaspi-expected.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/test/resources/jaspi/geronimo-jaspi-expected.xml?rev=1049987&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/test/resources/jaspi/geronimo-jaspi-expected.xml (added)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/test/resources/jaspi/geronimo-jaspi-expected.xml Thu Dec 16 14:31:25 2010
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+-->
+<jaspi xmlns="http://geronimo.apache.org/xml/ns/geronimo-jaspi">
+ <configProvider>
+ <messageLayer>CONFIG_PROVIDER_MESSAGE_LAYER</messageLayer>
+ <appContext>CONFIG_PROVIDER_APP_CONTEXT</appContext>
+ <description>CONFIG_PROVIDER_DESCRIPTION</description>
+ <className>CONFIG_PROVIDER_CLASS_NAME</className>
+ <properties>CONFIG_PROVIDER_PROPERTIES</properties>
+ <clientAuthConfig>
+ <messageLayer>CLIENT_AUTH_CONFIG_MESSAGE_LAYER</messageLayer>
+ <appContext>CLIENT_AUTH_CONFIG_APP_CONTEXT</appContext>
+ <authenticationContextID>CLIENT_AUTH_CONFIG_AUTHENTICATION_CONTEXT_ID</authenticationContextID>
+ <protected>true</protected>
+ <clientAuthContext>
+ <messageLayer>CLIENT_AUTH_CONTEXT_MESSAGE_LAYER</messageLayer>
+ <appContext>CLIENT_AUTH_CONTEXT_APP_CONTEXT</appContext>
+ <authenticationContextID>CLIENT_AUTH_CONTEXT_AUTHENTICATION_CONTEXT_ID</authenticationContextID>
+ <clientAuthModule>
+ <className>AUTH_MODULE_CLASS_NAME</className>
+ <classLoaderName>AUTH_MODULE_CLASS_LOADER_NAME</classLoaderName>
+ <requestPolicy mandatory="true">
+ <targetPolicy>
+ <protectionPolicy>
+<className>PROTECTION_POLICY_CLASS_NAME</className>
+ </protectionPolicy>
+ <target>
+<className>TARGET_CLASS_NAME</className>
+ </target>
+ </targetPolicy>
+ </requestPolicy>
+ <responsePolicy mandatory="true">
+ <targetPolicy>
+ <protectionPolicy>
+<className>PROTECTION_POLICY_CLASS_NAME</className>
+ </protectionPolicy>
+ <target>
+<className>TARGET_CLASS_NAME</className>
+ </target>
+ </targetPolicy>
+ </responsePolicy>
+ <options>AUTH_MODULE_OPTIONS</options>
+ </clientAuthModule>
+ </clientAuthContext>
+ </clientAuthConfig>
+ <serverAuthConfig>
+ <messageLayer>SERVER_AUTH_CONFIG_MESSAGE_LAYER</messageLayer>
+ <appContext>SERVER_AUTH_CONFIG_APP_CONTEXT</appContext>
+ <authenticationContextID>SERVER_AUTH_CONFIG_AUTHENTICATION_CONTEXT_ID</authenticationContextID>
+ <protected>true</protected>
+ <serverAuthContext>
+ <messageLayer>SERVER_AUTH_CONTEXT_MESSAGE_LAYER</messageLayer>
+ <appContext>SERVER_AUTH_CONTEXT_APP_CONTEXT</appContext>
+ <authenticationContextID>SERVER_AUTH_CONTEXT_AUTHENTICATION_CONTEXT_ID</authenticationContextID>
+ <serverAuthModule>
+ <className>AUTH_MODULE_CLASS_NAME</className>
+ <classLoaderName>AUTH_MODULE_CLASS_LOADER_NAME</classLoaderName>
+ <requestPolicy mandatory="true">
+ <targetPolicy>
+ <protectionPolicy>
+<className>PROTECTION_POLICY_CLASS_NAME</className>
+ </protectionPolicy>
+ <target>
+<className>TARGET_CLASS_NAME</className>
+ </target>
+ </targetPolicy>
+ </requestPolicy>
+ <responsePolicy mandatory="true">
+ <targetPolicy>
+ <protectionPolicy>
+<className>PROTECTION_POLICY_CLASS_NAME</className>
+ </protectionPolicy>
+ <target>
+<className>TARGET_CLASS_NAME</className>
+ </target>
+ </targetPolicy>
+ </responsePolicy>
+ <options>AUTH_MODULE_OPTIONS</options>
+ </serverAuthModule>
+ </serverAuthContext>
+ </serverAuthConfig>
+ <persistent>true</persistent>
+ <classLoaderName>CONFIG_PROVIDER_CLASS_LOADER_NAME</classLoaderName>
+ </configProvider>
+</jaspi>
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/test/resources/jaspi/geronimo-jaspi-expected.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/test/resources/jaspi/geronimo-jaspi-expected.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.jee.v22.jaxbmodel/src/test/resources/jaspi/geronimo-jaspi-expected.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/plugin.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/plugin.xml?rev=1049987&r1=1049986&r2=1049987&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/plugin.xml (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/plugin.xml Thu Dec 16 14:31:25 2010
@@ -107,6 +107,10 @@
name="http://openejb.apache.org/xml/ns/pkgen-2.1"
uri="v22/pkgen-2.1.xsd">
</uri>
+ <uri
+ name="http://geronimo.apache.org/xml/ns/geronimo-jaspi"
+ uri="v22/geronimo-jaspi.xsd">
+ </uri>
</catalogContribution>
</extension>
Added: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-jaspi.xsd
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-jaspi.xsd?rev=1049987&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-jaspi.xsd (added)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-jaspi.xsd Thu Dec 16 14:31:25 2010
@@ -0,0 +1,435 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+-->
+
+<xs:schema targetNamespace="http://geronimo.apache.org/xml/ns/geronimo-jaspi"
+ xmlns:jaspi="http://geronimo.apache.org/xml/ns/geronimo-jaspi"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
+ xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ jaxb:extensionBindingPrefixes="xjc"
+ jaxb:version="2.0">
+
+
+ <xs:annotation>
+ <xs:appinfo>
+ <jaxb:globalBindings>
+ <xjc:serializable uid="12343"/>
+ </jaxb:globalBindings>
+ </xs:appinfo>
+ </xs:annotation>
+
+ <xs:annotation>
+ <xs:documentation>
+ This is an XML Schema Definition for Geronimo JASPI implementation configurations.
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:element name="jaspi" type="jaspi:jaspiType">
+ <xs:annotation>
+ <xs:documentation>
+ The jaspi element is the root element of the jaspi configuration file.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element name="configProvider" type="jaspi:configProviderType">
+ <xs:annotation>
+ <xs:documentation>
+ Configuration of a single configProvider element
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="clientAuthConfig" type="jaspi:clientAuthConfigType">
+ <xs:annotation>
+ <xs:documentation>
+ Configuration of a single clientAuthConfig element
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="clientAuthContext" type="jaspi:clientAuthContextType">
+ <xs:annotation>
+ <xs:documentation>
+ Configuration of a single clientAuthContext element
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="clientAuthModule" type="jaspi:authModuleType">
+ <xs:annotation>
+ <xs:documentation>
+ Configuration of a single clientAuthModule element
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="serverAuthConfig" type="jaspi:serverAuthConfigType">
+ <xs:annotation>
+ <xs:documentation>
+ Configuration of a single serverAuthConfig element
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="serverAuthContext" type="jaspi:serverAuthContextType">
+ <xs:annotation>
+ <xs:documentation>
+ Configuration of a single serverAuthContext element
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="serverAuthModule" type="jaspi:authModuleType">
+ <xs:annotation>
+ <xs:documentation>
+ Configuration of a single serverAuthModule element
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="jaspiType">
+ <xs:sequence>
+ <xs:element name="configProvider" type="jaspi:configProviderType" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to configProvider element defined later in this xsd.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <!--<xs:complexType name="emptyType"/>-->
+
+
+ <xs:complexType name="configProviderType">
+ <xs:sequence>
+ <xs:annotation>
+ <xs:documentation>
+ configProviderType configures a AuthConfigProvider
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:element name="messageLayer" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ messageLayer specifies the type of message this configProvider works with, e.g Http
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="appContext" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ appContext is the name of the application in some profile-specified format
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="description" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ description of the config provider
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:choice>
+ <xs:sequence>
+ <xs:element name="className" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>
+ class name of the config provider implementation
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="properties"
+ type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ The standard ConfigProviders take a Map(String, String) as a single constructor argument.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+
+ <xs:sequence>
+ <xs:element name="clientAuthConfig" type="jaspi:clientAuthConfigType" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ configures a ClientAuthConfig
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="serverAuthConfig" type="jaspi:serverAuthConfigType" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ configures a ServerAuthConfig
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:choice>
+
+ <xs:element name="persistent" type="xs:boolean" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ whether the configprovider is "persistent". so far it's not clear what this might mean.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="classLoaderName" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ name of classloader to load any needed classes (e.g. custom config providers, modules, policy stuff)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="clientAuthConfigType">
+ <xs:sequence>
+ <xs:element name="messageLayer" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ messageLayer specifies the type of message this configProvider works with, e.g Http
+ defaults to parents value if missing
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="appContext" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ appContext is the name of the application in some profile-specified format
+ defaults to parents value if missing
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="authenticationContextID" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ the constant value to be returned from getAuthContextID(MessageInfo messageInfo)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="protected" type="xs:boolean">
+ <xs:annotation>
+ <xs:documentation>
+ value to be returned from isProtected. Meaning unknown.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="clientAuthContext" type="jaspi:clientAuthContextType" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ configuration of a client auth context
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="clientAuthContextType">
+ <xs:sequence>
+ <xs:element name="messageLayer" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ messageLayer specifies the type of message this configProvider works with, e.g Http
+ defaults to parents value if missing
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="appContext" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ appContext is the name of the application in some profile-specified format
+ defaults to parents value if missing
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="authenticationContextID" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ the constant value to be returned from getAuthContextID(MessageInfo messageInfo)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="clientAuthModule" type="jaspi:authModuleType" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ client auth module in this auth context
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="serverAuthConfigType">
+ <xs:sequence>
+ <xs:element name="messageLayer" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ messageLayer specifies the type of message this configProvider works with, e.g Http
+ defaults to parents value if missing
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="appContext" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ appContext is the name of the application in some profile-specified format
+ defaults to parents value if missing
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="authenticationContextID" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ the constant value to be returned from getAuthContextID(MessageInfo messageInfo)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="protected" type="xs:boolean">
+ <xs:annotation>
+ <xs:documentation>
+ value to be returned from isProtected. Meaning unknown.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="serverAuthContext" type="jaspi:serverAuthContextType" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ configuration of a server auth context
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="serverAuthContextType">
+ <xs:sequence>
+ <xs:element name="messageLayer" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ messageLayer specifies the type of message this configProvider works with, e.g Http
+ defaults to parents value if missing
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="appContext" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ appContext is the name of the application in some profile-specified format
+ defaults to parents value if missing
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="authenticationContextID" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ the constant value to be returned from getAuthContextID(MessageInfo messageInfo)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="serverAuthModule" type="jaspi:authModuleType" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ server auth module in this auth context
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+
+ <xs:complexType name="authModuleType">
+ <xs:sequence>
+ <xs:element name="className" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>
+ class name of auth module
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="classLoaderName" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ name of classloader to load any needed classes (e.g. custom config providers, modules, policy stuff)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="requestPolicy" type="jaspi:messagePolicyType" minOccurs="0">
+
+ </xs:element>
+ <xs:element name="responsePolicy" type="jaspi:messagePolicyType" minOccurs="0">
+
+ </xs:element>
+ <xs:element name="options"
+ type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ initialization options as a string-string map
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="messagePolicyType">
+ <xs:sequence>
+ <xs:element name="targetPolicy" type="jaspi:targetPolicyType" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ target policy for the message policy
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="mandatory" type="xs:boolean">
+ <xs:annotation>
+ <xs:documentation>
+ supplies the isMandatory value of the policy
+ </xs:documentation>
+ </xs:annotation>
+
+ </xs:attribute>
+ </xs:complexType>
+
+ <xs:complexType name="targetPolicyType">
+ <xs:sequence>
+ <xs:element name="protectionPolicy" type="jaspi:protectionPolicyType">
+
+ </xs:element>
+ <xs:element name="target" type="jaspi:targetType" minOccurs="0" maxOccurs="unbounded">
+
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="protectionPolicyType">
+ <xs:sequence>
+ <xs:element name="className" type="xs:string">
+
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="targetType">
+ <xs:sequence>
+ <xs:element name="className" type="xs:string">
+
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+</xs:schema>
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-jaspi.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-jaspi.xsd
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-jaspi.xsd
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-jetty-2.0.2.xsd
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-jetty-2.0.2.xsd?rev=1049987&r1=1049986&r2=1049987&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-jetty-2.0.2.xsd (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-jetty-2.0.2.xsd Thu Dec 16 14:31:25 2010
@@ -23,6 +23,7 @@
xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2"
xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
+ xmlns:jaspi="http://geronimo.apache.org/xml/ns/geronimo-jaspi"
xmlns:ee="http://java.sun.com/xml/ns/persistence"
xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
attributeFormDefault="unqualified" version="1.0">
@@ -83,6 +84,7 @@
</xs:import>
<xs:import namespace="http://java.sun.com/xml/ns/persistence" schemaLocation="http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"/>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/geronimo-jaspi" schemaLocation="geronimo-jaspi.xsd"/>
<xs:element name="web-app" type="web:web-appType">
<xs:annotation>
@@ -219,6 +221,16 @@
</xs:documentation>
</xs:annotation>
</xs:element>
+ <xs:element name="authentication" type="web:authenticationType" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ The authentication element provides configuration for a specific
+ jaspi AuthConfigProvider, ServerAuthConfig, ServerAuthContext, or ServerAuthModule
+ to be used for authentication rather than a standard authentication method configured
+ in web.xml.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
<xs:element ref="app:security" minOccurs="0">
<xs:annotation>
<xs:documentation>
@@ -243,4 +255,12 @@
</xs:sequence>
</xs:complexType>
+ <xs:complexType name="authenticationType">
+ <xs:choice minOccurs="0">
+ <xs:element ref="jaspi:configProvider"/>
+ <xs:element ref="jaspi:serverAuthConfig"/>
+ <xs:element ref="jaspi:serverAuthContext"/>
+ <xs:element ref="jaspi:serverAuthModule"/>
+ </xs:choice>
+ </xs:complexType>
</xs:schema>
Modified: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-tomcat-2.0.1.xsd
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-tomcat-2.0.1.xsd?rev=1049987&r1=1049986&r2=1049987&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-tomcat-2.0.1.xsd (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-tomcat-2.0.1.xsd Thu Dec 16 14:31:25 2010
@@ -23,6 +23,7 @@
xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2"
xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
+ xmlns:jaspi="http://geronimo.apache.org/xml/ns/geronimo-jaspi"
xmlns:ee="http://java.sun.com/xml/ns/persistence"
xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
attributeFormDefault="unqualified" version="1.1">
@@ -78,7 +79,8 @@
</xs:import>
<xs:import namespace="http://java.sun.com/xml/ns/persistence" schemaLocation="http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"/>
-
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/geronimo-jaspi" schemaLocation="geronimo-jaspi.xsd"/>
+
<xs:element name="web-app" type="tomcat:web-appType">
<xs:annotation>
<xs:documentation>
@@ -246,6 +248,16 @@
</xs:documentation>
</xs:annotation>
</xs:element>
+ <xs:element name="authentication" type="tomcat:authenticationType" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ The authentication element provides configuration for a specific
+ jaspi AuthConfigProvider, ServerAuthConfig, ServerAuthContext, or ServerAuthModule
+ to be used for authentication rather than a standard authentication method configured
+ in web.xml.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
<xs:element ref="app:security" minOccurs="0">
<xs:annotation>
<xs:documentation>
@@ -272,4 +284,13 @@
<xs:complexType name="emptyType" />
+ <xs:complexType name="authenticationType">
+ <xs:choice minOccurs="0">
+ <xs:element ref="jaspi:configProvider"/>
+ <xs:element ref="jaspi:serverAuthConfig"/>
+ <xs:element ref="jaspi:serverAuthContext"/>
+ <xs:element ref="jaspi:serverAuthModule"/>
+ </xs:choice>
+ </xs:complexType>
+
</xs:schema>
Modified: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-web-2.0.1.xsd
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-web-2.0.1.xsd?rev=1049987&r1=1049986&r2=1049987&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-web-2.0.1.xsd (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/plugins/org.apache.geronimo.st.schemas/v22/geronimo-web-2.0.1.xsd Thu Dec 16 14:31:25 2010
@@ -25,6 +25,7 @@
xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2"
xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
+ xmlns:jaspi="http://geronimo.apache.org/xml/ns/geronimo-jaspi"
xmlns:ee="http://java.sun.com/xml/ns/persistence"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
@@ -35,7 +36,8 @@
<xs:import namespace="http://geronimo.apache.org/xml/ns/j2ee/application-2.0" schemaLocation="geronimo-application-2.0.xsd"/>
<xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.2" schemaLocation="geronimo-module-1.2.xsd"/>
<xs:import namespace="http://java.sun.com/xml/ns/persistence" schemaLocation="http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"/>
-
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/geronimo-jaspi" schemaLocation="geronimo-jaspi.xsd"/>
+
<xs:element name="web-app" type="web:web-appType"/>
<xs:annotation>
<xs:documentation>
@@ -94,6 +96,16 @@
<xs:sequence minOccurs="0">
<xs:element name="security-realm-name" type="xs:string"/>
+ <xs:element name="authentication" type="web:authenticationType" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ The authentication element provides configuration for a specific
+ jaspi AuthConfigProvider, ServerAuthConfig, ServerAuthContext, or ServerAuthModule
+ to be used for authentication rather than a standard authentication method configured
+ in web.xml.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
<xs:element ref="app:security" minOccurs="0"/>
</xs:sequence>
@@ -113,6 +125,15 @@
</xs:sequence>
</xs:complexType>
+ <xs:complexType name="authenticationType">
+ <xs:choice minOccurs="0">
+ <xs:element ref="jaspi:configProvider"/>
+ <xs:element ref="jaspi:serverAuthConfig"/>
+ <xs:element ref="jaspi:serverAuthContext"/>
+ <xs:element ref="jaspi:serverAuthModule"/>
+ </xs:choice>
+ </xs:complexType>
+
<xs:complexType name="container-configType">
<xs:sequence>
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
Modified: geronimo/devtools/eclipse-plugin/branches/2.2/plugins/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/plugins/pom.xml?rev=1049987&r1=1049986&r2=1049987&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/plugins/pom.xml (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/plugins/pom.xml Thu Dec 16 14:31:25 2010
@@ -143,6 +143,7 @@
<modules>
<module>org.apache.geronimo.jee.v21.jaxbmodel</module>
<module>org.apache.geronimo.j2ee.v11.jaxbmodel</module>
+ <module>org.apache.geronimo.jee.v22.jaxbmodel</module>
<module>org.apache.geronimo.st.core</module>
<module>org.apache.geronimo.st.v11.core</module>
<module>org.apache.geronimo.st.v20.core</module>