You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2021/04/26 14:32:03 UTC
[tomee-tck] 02/03: Let's focus in Plume for the moment so we don't
to pay for maintaining others
This is an automated email from the ASF dual-hosted git repository.
jlmonteiro pushed a commit to branch jakartaee9-tck
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
commit b7eef0539cb203ae65b51180e83d031a1c5da36b
Author: Jean-Louis Monteiro <jl...@tomitribe.com>
AuthorDate: Mon Apr 26 16:31:00 2021 +0200
Let's focus in Plume for the moment so we don't to pay for maintaining others
Signed-off-by: Jean-Louis Monteiro <jl...@tomitribe.com>
---
src/test/tomcat/conf/ProviderConfiguration.xml | 64 ---
src/test/tomcat/conf/context.xml | 7 -
src/test/tomcat/conf/provider-configuration.xsd | 95 -----
src/test/tomee-plus/conf/ProviderConfiguration.xml | 64 ---
src/test/tomee-plus/conf/context.xml | 7 -
src/test/tomee-plus/conf/jaspic-providers.xml | 432 ---------------------
.../tomee-plus/conf/provider-configuration.xsd | 95 -----
src/test/tomee/conf/ProviderConfiguration.xml | 64 ---
src/test/tomee/conf/context.xml | 7 -
src/test/tomee/conf/jaspic-providers.xml | 424 --------------------
src/test/tomee/conf/provider-configuration.xsd | 95 -----
11 files changed, 1354 deletions(-)
diff --git a/src/test/tomcat/conf/ProviderConfiguration.xml b/src/test/tomcat/conf/ProviderConfiguration.xml
deleted file mode 100644
index e21cbff..0000000
--- a/src/test/tomcat/conf/ProviderConfiguration.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?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/context.xml b/src/test/tomcat/conf/context.xml
index efa2dd5..4685d7c 100644
--- a/src/test/tomcat/conf/context.xml
+++ b/src/test/tomcat/conf/context.xml
@@ -30,12 +30,5 @@
-->
<Valve className="org.apache.openejb.cts.TransactionalWorkaroundLeakGuardValve"/>
- <!-- Rollback this because it causes some other tests to fail because they test the Form authentication and Tomcat
- Does not allow multiple authenticator valve
- We need to hear back or to find a way to only add this for jaspic webapp or tests
- <Valve className="org.apache.catalina.authenticator.BasicAuthenticator"
- jaspicCallbackHandlerClass="org.apache.openejb.cts.CallbackHandlerImpl"
- />
- -->
</Context>
diff --git a/src/test/tomcat/conf/provider-configuration.xsd b/src/test/tomcat/conf/provider-configuration.xsd
deleted file mode 100644
index 9a9f0ad..0000000
--- a/src/test/tomcat/conf/provider-configuration.xsd
+++ /dev/null
@@ -1,95 +0,0 @@
-<?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
deleted file mode 100644
index e21cbff..0000000
--- a/src/test/tomee-plus/conf/ProviderConfiguration.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?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/context.xml b/src/test/tomee-plus/conf/context.xml
index 484d69a..b30f568 100644
--- a/src/test/tomee-plus/conf/context.xml
+++ b/src/test/tomee-plus/conf/context.xml
@@ -30,12 +30,5 @@
-->
<Valve className="org.apache.openejb.cts.TransactionalWorkaroundLeakGuardValve"/>
- <!-- Rollback this because it causes some other tests to fail because they test the Form authentication and Tomcat
- Does not allow multiple authenticator valve
- We need to hear back or to find a way to only add this for jaspic webapp or tests
- <Valve className="org.apache.catalina.authenticator.BasicAuthenticator"
- jaspicCallbackHandlerClass="org.apache.openejb.cts.CallbackHandlerImpl"
- />
- -->
</Context>
diff --git a/src/test/tomee-plus/conf/jaspic-providers.xml b/src/test/tomee-plus/conf/jaspic-providers.xml
deleted file mode 100644
index 73d24c6..0000000
--- a/src/test/tomee-plus/conf/jaspic-providers.xml
+++ /dev/null
@@ -1,432 +0,0 @@
-<?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.
--->
-<jaspic-providers xmlns="http://tomcat.apache.org/xml"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://tomcat.apache.org/xml jaspic-providers.xsd"
- version="1.0">
-
-
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_autoapplysession_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_basic_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_customform_base_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_customform_expression_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_form_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_rememberme_test1_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_rememberme_test2_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_rememberme_test3_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_sam_delegation_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_sam_obtainbean_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_workflow_cleansubject_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_workflow_secureresponse_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_workflow_validaterequest_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_workflow_validaterequestduringauthen_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_workflow_validaterequestwithfilter_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_basic_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_customhandler_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_basic_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_hashalgorithm_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_hashalgorithmparam_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_invalidcallerquery_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_invaliddatasource_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_invalidgroupsquery_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_invalidhashalgorithmparam_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_invalidpriorityuseforexpr_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_multi_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_notvalidated_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_priorityuseforexpr_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_priorityuseforexprbean_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_useforgroup_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_useforvalidation_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_idstorepermission_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_basic_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_binddn_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_groupmemberof_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_groupmemberofnotexist_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidbinddn_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidbinddnpassword_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidcallerbasedn_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidcallernameattr_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidcallersearchbase_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidcallersearchfilter_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidgroupmemberattr_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidgroupnameattr_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidgroupsearchbase_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidgroupsearchfilter_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidsearchscopeexpr_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidurl_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_notvalidated_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_priorityuseforexpr_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_searchscopebothonelevel_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_searchscopebothsubtree_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_searchscopecalleronelevelgroupsubtree_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_searchscopecallersubtreegrouponelevel_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_searchscopeexpr_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_useforgroup_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_useforvalidation_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_multi_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_multiauthz_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_noidstore_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_useforgroup_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_useforvalidation_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_securitycontext_authenticate_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_securitycontext_callerdata_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_securitycontext_ejb_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_securitycontext_getprincipalsbytype_web"
- description="any">
- </provider>
-
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /spitests_servlet_web"
- description="any">
- </provider>
-
-</jaspic-providers>
-
-
-
-
diff --git a/src/test/tomee-plus/conf/provider-configuration.xsd b/src/test/tomee-plus/conf/provider-configuration.xsd
deleted file mode 100644
index 9a9f0ad..0000000
--- a/src/test/tomee-plus/conf/provider-configuration.xsd
+++ /dev/null
@@ -1,95 +0,0 @@
-<?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
deleted file mode 100644
index e21cbff..0000000
--- a/src/test/tomee/conf/ProviderConfiguration.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?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/context.xml b/src/test/tomee/conf/context.xml
index 484d69a..b30f568 100644
--- a/src/test/tomee/conf/context.xml
+++ b/src/test/tomee/conf/context.xml
@@ -30,12 +30,5 @@
-->
<Valve className="org.apache.openejb.cts.TransactionalWorkaroundLeakGuardValve"/>
- <!-- Rollback this because it causes some other tests to fail because they test the Form authentication and Tomcat
- Does not allow multiple authenticator valve
- We need to hear back or to find a way to only add this for jaspic webapp or tests
- <Valve className="org.apache.catalina.authenticator.BasicAuthenticator"
- jaspicCallbackHandlerClass="org.apache.openejb.cts.CallbackHandlerImpl"
- />
- -->
</Context>
diff --git a/src/test/tomee/conf/jaspic-providers.xml b/src/test/tomee/conf/jaspic-providers.xml
deleted file mode 100644
index fc0ebe1..0000000
--- a/src/test/tomee/conf/jaspic-providers.xml
+++ /dev/null
@@ -1,424 +0,0 @@
-<?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.
--->
-<jaspic-providers xmlns="http://tomcat.apache.org/xml"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://tomcat.apache.org/xml jaspic-providers.xsd"
- version="1.0">
-
-
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_autoapplysession_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_basic_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_customform_base_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_customform_expression_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_form_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_rememberme_test1_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_rememberme_test2_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_rememberme_test3_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_sam_delegation_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_sam_obtainbean_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_workflow_cleansubject_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_workflow_secureresponse_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_workflow_validaterequest_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_workflow_validaterequestduringauthen_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_ham_workflow_validaterequestwithfilter_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_basic_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_customhandler_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_basic_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_hashalgorithm_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_hashalgorithmparam_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_invalidcallerquery_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_invaliddatasource_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_invalidgroupsquery_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_invalidhashalgorithmparam_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_invalidpriorityuseforexpr_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_multi_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_notvalidated_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_priorityuseforexpr_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_priorityuseforexprbean_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_useforgroup_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_database_useforvalidation_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_idstorepermission_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_basic_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_binddn_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_groupmemberof_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_groupmemberofnotexist_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidbinddn_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidbinddnpassword_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidcallerbasedn_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidcallernameattr_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidcallersearchbase_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidcallersearchfilter_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidgroupmemberattr_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidgroupnameattr_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidgroupsearchbase_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidgroupsearchfilter_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidsearchscopeexpr_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_invalidurl_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_notvalidated_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_priorityuseforexpr_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_searchscopebothonelevel_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_searchscopebothsubtree_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_searchscopecalleronelevelgroupsubtree_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_searchscopecallersubtreegrouponelevel_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_searchscopeexpr_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_useforgroup_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_ldap_useforvalidation_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_multi_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_multiauthz_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_noidstore_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_useforgroup_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_idstore_useforvalidation_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_securitycontext_authenticate_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_securitycontext_callerdata_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_securitycontext_ejb_web"
- description="any">
- </provider>
- <provider name="any"
- className="org.apache.tomee.security.provider.TomEESecurityAuthConfigProvider"
- layer="HttpServlet"
- appContext="Catalina/localhost /securityapi_securitycontext_getprincipalsbytype_web"
- description="any">
- </provider>
-</jaspic-providers>
-
-
-
-
diff --git a/src/test/tomee/conf/provider-configuration.xsd b/src/test/tomee/conf/provider-configuration.xsd
deleted file mode 100644
index 9a9f0ad..0000000
--- a/src/test/tomee/conf/provider-configuration.xsd
+++ /dev/null
@@ -1,95 +0,0 @@
-<?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>