Pull configuration files from TCK because we have to update the app name in order to match Tomcat conventions.
diff --git a/src/test/tomcat/conf/ProviderConfiguration.xml b/src/test/tomcat/conf/ProviderConfiguration.xml
new file mode 100644
index 0000000..ff72155
--- /dev/null
+++ b/src/test/tomcat/conf/ProviderConfiguration.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
+
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v. 2.0, which is available at
+ http://www.eclipse.org/legal/epl-2.0.
+
+ This Source Code may also be made available under the following Secondary
+ Licenses when the conditions for such availability set forth in the
+ Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ version 2 with the GNU Classpath Exception, which is available at
+ https://www.gnu.org/software/classpath/license.html.
+
+ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+
+-->
+
+<provider-config
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://java.oracle.com/xml/ns/jaspic"
+ xsi:schemaLocation="http://java.oracle.com/xml/ns/jaspic provider-configuration.xsd">
+ <provider-config-entry>
+ <provider-class>com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigProvider</provider-class>
+ <properties version="1.0">
+ <entry key="AuthStatus_SEND_SUCCESS">false</entry>
+ <entry key="requestPolicy">USER_NAME_PASSWORD</entry>
+ </properties>
+ <message-layer>SOAP</message-layer>
+ <app-context-id>null</app-context-id>
+ <reg-description>TestSuite JSR 196 Config Provider</reg-description>
+ </provider-config-entry>
+ <provider-config-entry>
+ <provider-class>com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigProvider</provider-class>
+ <properties version="1.0">
+ <entry key="AuthStatus_SEND_SUCCESS">false</entry>
+ <entry key="requestPolicy">USER_NAME_PASSWORD</entry>
+ </properties>
+ <message-layer>SOAP</message-layer>
+ <app-context-id>Catalina/localhost /Hello_web/Hello</app-context-id>
+ <reg-description>TestSuite JSR 196 Config Provider</reg-description>
+ </provider-config-entry>
+ <provider-config-entry>
+ <provider-class>com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigProviderServlet</provider-class>
+ <properties version="1.0">
+ <entry key="AuthStatus_SEND_SUCCESS">true</entry>
+ <entry key="requestPolicy">USER_NAME_PASSWORD</entry>
+ </properties>
+ <message-layer>HttpServlet</message-layer>
+ <app-context-id>Catalina/localhost /spitests_servlet_web</app-context-id>
+ <reg-description>Registration for TSAuthConfigProviderServlet using spitests_servlet_web</reg-description>
+ </provider-config-entry>
+ <provider-config-entry>
+ <provider-class>com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigProviderServlet</provider-class>
+ <properties version="1.0">
+ <entry key="AuthStatus_SEND_SUCCESS">true</entry>
+ <entry key="requestPolicy">USER_NAME_PASSWORD</entry>
+ </properties>
+ <message-layer>HttpServlet</message-layer>
+ <app-context-id>Catalina/localhost /spitests_servlet_web/WrapperServlet</app-context-id>
+ <reg-description>Registration for TSAuthConfigProviderServlet using spitests_servlet_web</reg-description>
+ </provider-config-entry>
+</provider-config>
diff --git a/src/test/tomcat/conf/provider-configuration.xsd b/src/test/tomcat/conf/provider-configuration.xsd
new file mode 100644
index 0000000..9a9f0ad
--- /dev/null
+++ b/src/test/tomcat/conf/provider-configuration.xsd
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
+
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v. 2.0, which is available at
+ http://www.eclipse.org/legal/epl-2.0.
+
+ This Source Code may also be made available under the following Secondary
+ Licenses when the conditions for such availability set forth in the
+ Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ version 2 with the GNU Classpath Exception, which is available at
+ https://www.gnu.org/software/classpath/license.html.
+
+ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+
+-->
+
+<!--
+ This schema is for ProviderConfiguration entries that describes the
+ configuration necessary for loading a auth config security provider
+
+ The provider-config element is the root it may have zero or more
+ provider-config-entry
+-->
+
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://java.oracle.com/xml/ns/jaspic"
+ xmlns="http://java.oracle.com/xml/ns/jaspic"
+ elementFormDefault="qualified">
+
+ <xs:element name="provider-config" >
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="provider-config-entry"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <!--
+ provider-config-entry contains
+ 1) Optional provider-class name or null
+ 2) optional properties that conform to the syntax defined by
+ http://java.sun.com/dtd/properties.dtd
+ 3) optional message-layer that indicates which message-layer the provider
+ will act on.
+ 4) optional app-context-id the application context id for that specific
+ application the provider is to be used.
+ 5) optional reg-description describes the purpose of the provider.
+ -->
+ <xs:element name="provider-config-entry" >
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="provider-class"/>
+ <xs:element minOccurs="0" ref="properties"/>
+ <xs:element minOccurs="0" ref="message-layer"/>
+ <xs:element minOccurs="0" ref="app-context-id"/>
+ <xs:element minOccurs="0" ref="reg-description"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="provider-class" type="xs:string"/>
+ <xs:element name="message-layer" type="xs:string"/>
+ <xs:element name="app-context-id" type="xs:string"/>
+ <xs:element name="reg-description" type="xs:string"/>
+ <xs:element name="properties">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="comment"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="entry"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="attlist.properties"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.properties">
+ <xs:attribute name="version" default="1.0">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="1.0"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:element name="comment" type="xs:string"/>
+ <xs:element name="entry">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="attlist.entry"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.entry">
+ <xs:attribute name="key" use="required"/>
+ </xs:attributeGroup>
+</xs:schema>
diff --git a/src/test/tomee-plume/conf/ProviderConfiguration.xml b/src/test/tomee-plume/conf/ProviderConfiguration.xml
new file mode 100644
index 0000000..ff72155
--- /dev/null
+++ b/src/test/tomee-plume/conf/ProviderConfiguration.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
+
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v. 2.0, which is available at
+ http://www.eclipse.org/legal/epl-2.0.
+
+ This Source Code may also be made available under the following Secondary
+ Licenses when the conditions for such availability set forth in the
+ Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ version 2 with the GNU Classpath Exception, which is available at
+ https://www.gnu.org/software/classpath/license.html.
+
+ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+
+-->
+
+<provider-config
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://java.oracle.com/xml/ns/jaspic"
+ xsi:schemaLocation="http://java.oracle.com/xml/ns/jaspic provider-configuration.xsd">
+ <provider-config-entry>
+ <provider-class>com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigProvider</provider-class>
+ <properties version="1.0">
+ <entry key="AuthStatus_SEND_SUCCESS">false</entry>
+ <entry key="requestPolicy">USER_NAME_PASSWORD</entry>
+ </properties>
+ <message-layer>SOAP</message-layer>
+ <app-context-id>null</app-context-id>
+ <reg-description>TestSuite JSR 196 Config Provider</reg-description>
+ </provider-config-entry>
+ <provider-config-entry>
+ <provider-class>com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigProvider</provider-class>
+ <properties version="1.0">
+ <entry key="AuthStatus_SEND_SUCCESS">false</entry>
+ <entry key="requestPolicy">USER_NAME_PASSWORD</entry>
+ </properties>
+ <message-layer>SOAP</message-layer>
+ <app-context-id>Catalina/localhost /Hello_web/Hello</app-context-id>
+ <reg-description>TestSuite JSR 196 Config Provider</reg-description>
+ </provider-config-entry>
+ <provider-config-entry>
+ <provider-class>com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigProviderServlet</provider-class>
+ <properties version="1.0">
+ <entry key="AuthStatus_SEND_SUCCESS">true</entry>
+ <entry key="requestPolicy">USER_NAME_PASSWORD</entry>
+ </properties>
+ <message-layer>HttpServlet</message-layer>
+ <app-context-id>Catalina/localhost /spitests_servlet_web</app-context-id>
+ <reg-description>Registration for TSAuthConfigProviderServlet using spitests_servlet_web</reg-description>
+ </provider-config-entry>
+ <provider-config-entry>
+ <provider-class>com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigProviderServlet</provider-class>
+ <properties version="1.0">
+ <entry key="AuthStatus_SEND_SUCCESS">true</entry>
+ <entry key="requestPolicy">USER_NAME_PASSWORD</entry>
+ </properties>
+ <message-layer>HttpServlet</message-layer>
+ <app-context-id>Catalina/localhost /spitests_servlet_web/WrapperServlet</app-context-id>
+ <reg-description>Registration for TSAuthConfigProviderServlet using spitests_servlet_web</reg-description>
+ </provider-config-entry>
+</provider-config>
diff --git a/src/test/tomee-plume/conf/provider-configuration.xsd b/src/test/tomee-plume/conf/provider-configuration.xsd
new file mode 100644
index 0000000..9a9f0ad
--- /dev/null
+++ b/src/test/tomee-plume/conf/provider-configuration.xsd
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
+
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v. 2.0, which is available at
+ http://www.eclipse.org/legal/epl-2.0.
+
+ This Source Code may also be made available under the following Secondary
+ Licenses when the conditions for such availability set forth in the
+ Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ version 2 with the GNU Classpath Exception, which is available at
+ https://www.gnu.org/software/classpath/license.html.
+
+ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+
+-->
+
+<!--
+ This schema is for ProviderConfiguration entries that describes the
+ configuration necessary for loading a auth config security provider
+
+ The provider-config element is the root it may have zero or more
+ provider-config-entry
+-->
+
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://java.oracle.com/xml/ns/jaspic"
+ xmlns="http://java.oracle.com/xml/ns/jaspic"
+ elementFormDefault="qualified">
+
+ <xs:element name="provider-config" >
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="provider-config-entry"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <!--
+ provider-config-entry contains
+ 1) Optional provider-class name or null
+ 2) optional properties that conform to the syntax defined by
+ http://java.sun.com/dtd/properties.dtd
+ 3) optional message-layer that indicates which message-layer the provider
+ will act on.
+ 4) optional app-context-id the application context id for that specific
+ application the provider is to be used.
+ 5) optional reg-description describes the purpose of the provider.
+ -->
+ <xs:element name="provider-config-entry" >
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="provider-class"/>
+ <xs:element minOccurs="0" ref="properties"/>
+ <xs:element minOccurs="0" ref="message-layer"/>
+ <xs:element minOccurs="0" ref="app-context-id"/>
+ <xs:element minOccurs="0" ref="reg-description"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="provider-class" type="xs:string"/>
+ <xs:element name="message-layer" type="xs:string"/>
+ <xs:element name="app-context-id" type="xs:string"/>
+ <xs:element name="reg-description" type="xs:string"/>
+ <xs:element name="properties">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="comment"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="entry"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="attlist.properties"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.properties">
+ <xs:attribute name="version" default="1.0">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="1.0"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:element name="comment" type="xs:string"/>
+ <xs:element name="entry">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="attlist.entry"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.entry">
+ <xs:attribute name="key" use="required"/>
+ </xs:attributeGroup>
+</xs:schema>
diff --git a/src/test/tomee-plus/conf/ProviderConfiguration.xml b/src/test/tomee-plus/conf/ProviderConfiguration.xml
new file mode 100644
index 0000000..ff72155
--- /dev/null
+++ b/src/test/tomee-plus/conf/ProviderConfiguration.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
+
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v. 2.0, which is available at
+ http://www.eclipse.org/legal/epl-2.0.
+
+ This Source Code may also be made available under the following Secondary
+ Licenses when the conditions for such availability set forth in the
+ Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ version 2 with the GNU Classpath Exception, which is available at
+ https://www.gnu.org/software/classpath/license.html.
+
+ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+
+-->
+
+<provider-config
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://java.oracle.com/xml/ns/jaspic"
+ xsi:schemaLocation="http://java.oracle.com/xml/ns/jaspic provider-configuration.xsd">
+ <provider-config-entry>
+ <provider-class>com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigProvider</provider-class>
+ <properties version="1.0">
+ <entry key="AuthStatus_SEND_SUCCESS">false</entry>
+ <entry key="requestPolicy">USER_NAME_PASSWORD</entry>
+ </properties>
+ <message-layer>SOAP</message-layer>
+ <app-context-id>null</app-context-id>
+ <reg-description>TestSuite JSR 196 Config Provider</reg-description>
+ </provider-config-entry>
+ <provider-config-entry>
+ <provider-class>com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigProvider</provider-class>
+ <properties version="1.0">
+ <entry key="AuthStatus_SEND_SUCCESS">false</entry>
+ <entry key="requestPolicy">USER_NAME_PASSWORD</entry>
+ </properties>
+ <message-layer>SOAP</message-layer>
+ <app-context-id>Catalina/localhost /Hello_web/Hello</app-context-id>
+ <reg-description>TestSuite JSR 196 Config Provider</reg-description>
+ </provider-config-entry>
+ <provider-config-entry>
+ <provider-class>com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigProviderServlet</provider-class>
+ <properties version="1.0">
+ <entry key="AuthStatus_SEND_SUCCESS">true</entry>
+ <entry key="requestPolicy">USER_NAME_PASSWORD</entry>
+ </properties>
+ <message-layer>HttpServlet</message-layer>
+ <app-context-id>Catalina/localhost /spitests_servlet_web</app-context-id>
+ <reg-description>Registration for TSAuthConfigProviderServlet using spitests_servlet_web</reg-description>
+ </provider-config-entry>
+ <provider-config-entry>
+ <provider-class>com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigProviderServlet</provider-class>
+ <properties version="1.0">
+ <entry key="AuthStatus_SEND_SUCCESS">true</entry>
+ <entry key="requestPolicy">USER_NAME_PASSWORD</entry>
+ </properties>
+ <message-layer>HttpServlet</message-layer>
+ <app-context-id>Catalina/localhost /spitests_servlet_web/WrapperServlet</app-context-id>
+ <reg-description>Registration for TSAuthConfigProviderServlet using spitests_servlet_web</reg-description>
+ </provider-config-entry>
+</provider-config>
diff --git a/src/test/tomee-plus/conf/provider-configuration.xsd b/src/test/tomee-plus/conf/provider-configuration.xsd
new file mode 100644
index 0000000..9a9f0ad
--- /dev/null
+++ b/src/test/tomee-plus/conf/provider-configuration.xsd
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
+
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v. 2.0, which is available at
+ http://www.eclipse.org/legal/epl-2.0.
+
+ This Source Code may also be made available under the following Secondary
+ Licenses when the conditions for such availability set forth in the
+ Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ version 2 with the GNU Classpath Exception, which is available at
+ https://www.gnu.org/software/classpath/license.html.
+
+ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+
+-->
+
+<!--
+ This schema is for ProviderConfiguration entries that describes the
+ configuration necessary for loading a auth config security provider
+
+ The provider-config element is the root it may have zero or more
+ provider-config-entry
+-->
+
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://java.oracle.com/xml/ns/jaspic"
+ xmlns="http://java.oracle.com/xml/ns/jaspic"
+ elementFormDefault="qualified">
+
+ <xs:element name="provider-config" >
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="provider-config-entry"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <!--
+ provider-config-entry contains
+ 1) Optional provider-class name or null
+ 2) optional properties that conform to the syntax defined by
+ http://java.sun.com/dtd/properties.dtd
+ 3) optional message-layer that indicates which message-layer the provider
+ will act on.
+ 4) optional app-context-id the application context id for that specific
+ application the provider is to be used.
+ 5) optional reg-description describes the purpose of the provider.
+ -->
+ <xs:element name="provider-config-entry" >
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="provider-class"/>
+ <xs:element minOccurs="0" ref="properties"/>
+ <xs:element minOccurs="0" ref="message-layer"/>
+ <xs:element minOccurs="0" ref="app-context-id"/>
+ <xs:element minOccurs="0" ref="reg-description"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="provider-class" type="xs:string"/>
+ <xs:element name="message-layer" type="xs:string"/>
+ <xs:element name="app-context-id" type="xs:string"/>
+ <xs:element name="reg-description" type="xs:string"/>
+ <xs:element name="properties">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="comment"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="entry"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="attlist.properties"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.properties">
+ <xs:attribute name="version" default="1.0">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="1.0"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:element name="comment" type="xs:string"/>
+ <xs:element name="entry">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="attlist.entry"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.entry">
+ <xs:attribute name="key" use="required"/>
+ </xs:attributeGroup>
+</xs:schema>
diff --git a/src/test/tomee/conf/ProviderConfiguration.xml b/src/test/tomee/conf/ProviderConfiguration.xml
new file mode 100644
index 0000000..ff72155
--- /dev/null
+++ b/src/test/tomee/conf/ProviderConfiguration.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
+
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v. 2.0, which is available at
+ http://www.eclipse.org/legal/epl-2.0.
+
+ This Source Code may also be made available under the following Secondary
+ Licenses when the conditions for such availability set forth in the
+ Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ version 2 with the GNU Classpath Exception, which is available at
+ https://www.gnu.org/software/classpath/license.html.
+
+ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+
+-->
+
+<provider-config
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://java.oracle.com/xml/ns/jaspic"
+ xsi:schemaLocation="http://java.oracle.com/xml/ns/jaspic provider-configuration.xsd">
+ <provider-config-entry>
+ <provider-class>com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigProvider</provider-class>
+ <properties version="1.0">
+ <entry key="AuthStatus_SEND_SUCCESS">false</entry>
+ <entry key="requestPolicy">USER_NAME_PASSWORD</entry>
+ </properties>
+ <message-layer>SOAP</message-layer>
+ <app-context-id>null</app-context-id>
+ <reg-description>TestSuite JSR 196 Config Provider</reg-description>
+ </provider-config-entry>
+ <provider-config-entry>
+ <provider-class>com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigProvider</provider-class>
+ <properties version="1.0">
+ <entry key="AuthStatus_SEND_SUCCESS">false</entry>
+ <entry key="requestPolicy">USER_NAME_PASSWORD</entry>
+ </properties>
+ <message-layer>SOAP</message-layer>
+ <app-context-id>Catalina/localhost /Hello_web/Hello</app-context-id>
+ <reg-description>TestSuite JSR 196 Config Provider</reg-description>
+ </provider-config-entry>
+ <provider-config-entry>
+ <provider-class>com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigProviderServlet</provider-class>
+ <properties version="1.0">
+ <entry key="AuthStatus_SEND_SUCCESS">true</entry>
+ <entry key="requestPolicy">USER_NAME_PASSWORD</entry>
+ </properties>
+ <message-layer>HttpServlet</message-layer>
+ <app-context-id>Catalina/localhost /spitests_servlet_web</app-context-id>
+ <reg-description>Registration for TSAuthConfigProviderServlet using spitests_servlet_web</reg-description>
+ </provider-config-entry>
+ <provider-config-entry>
+ <provider-class>com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigProviderServlet</provider-class>
+ <properties version="1.0">
+ <entry key="AuthStatus_SEND_SUCCESS">true</entry>
+ <entry key="requestPolicy">USER_NAME_PASSWORD</entry>
+ </properties>
+ <message-layer>HttpServlet</message-layer>
+ <app-context-id>Catalina/localhost /spitests_servlet_web/WrapperServlet</app-context-id>
+ <reg-description>Registration for TSAuthConfigProviderServlet using spitests_servlet_web</reg-description>
+ </provider-config-entry>
+</provider-config>
diff --git a/src/test/tomee/conf/provider-configuration.xsd b/src/test/tomee/conf/provider-configuration.xsd
new file mode 100644
index 0000000..9a9f0ad
--- /dev/null
+++ b/src/test/tomee/conf/provider-configuration.xsd
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
+
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v. 2.0, which is available at
+ http://www.eclipse.org/legal/epl-2.0.
+
+ This Source Code may also be made available under the following Secondary
+ Licenses when the conditions for such availability set forth in the
+ Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ version 2 with the GNU Classpath Exception, which is available at
+ https://www.gnu.org/software/classpath/license.html.
+
+ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+
+-->
+
+<!--
+ This schema is for ProviderConfiguration entries that describes the
+ configuration necessary for loading a auth config security provider
+
+ The provider-config element is the root it may have zero or more
+ provider-config-entry
+-->
+
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://java.oracle.com/xml/ns/jaspic"
+ xmlns="http://java.oracle.com/xml/ns/jaspic"
+ elementFormDefault="qualified">
+
+ <xs:element name="provider-config" >
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="provider-config-entry"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <!--
+ provider-config-entry contains
+ 1) Optional provider-class name or null
+ 2) optional properties that conform to the syntax defined by
+ http://java.sun.com/dtd/properties.dtd
+ 3) optional message-layer that indicates which message-layer the provider
+ will act on.
+ 4) optional app-context-id the application context id for that specific
+ application the provider is to be used.
+ 5) optional reg-description describes the purpose of the provider.
+ -->
+ <xs:element name="provider-config-entry" >
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="provider-class"/>
+ <xs:element minOccurs="0" ref="properties"/>
+ <xs:element minOccurs="0" ref="message-layer"/>
+ <xs:element minOccurs="0" ref="app-context-id"/>
+ <xs:element minOccurs="0" ref="reg-description"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="provider-class" type="xs:string"/>
+ <xs:element name="message-layer" type="xs:string"/>
+ <xs:element name="app-context-id" type="xs:string"/>
+ <xs:element name="reg-description" type="xs:string"/>
+ <xs:element name="properties">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="comment"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="entry"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="attlist.properties"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.properties">
+ <xs:attribute name="version" default="1.0">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="1.0"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:element name="comment" type="xs:string"/>
+ <xs:element name="entry">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="attlist.entry"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.entry">
+ <xs:attribute name="key" use="required"/>
+ </xs:attributeGroup>
+</xs:schema>