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 2020/11/10 11:20:33 UTC
[tomee-tck] branch master updated (075efa8 -> bd375a8)
This is an automated email from the ASF dual-hosted git repository.
jlmonteiro pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git.
from 075efa8 upgrade to match tomee version
new b4ca089 Override Tomcat Callback Handler with our own fork
new d89b92e Add missing JASPIC configuration for Tomcat and TomEE Plus
new 3932733 Also print Jakarta configuration properties. We don't need to have a different version in the EE 9 branch. We can handle both the same way.
new ba6f58d Make sure Jaspic configuration is also available for WebProfile and Plus distribution
new f8f2cb2 TS AuthConfig must be used by default for JASPIC tests to pass.
new a5458ff Missing JASPIC configuration for TomEE WebProfile
new b63c142 Override Tomcat Callback Handler with our own fork for TomEE WebProfile too
new 1e71863 Make sure CTS and RI home are more generic so we don't have to use different names for Jakarta on
new b9ec4aa Add all libraries to classpath
new bd375a8 Update files for JASPIC
The 10 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
pom.xml | 274 +++++++++------------
runtests | 2 +-
.../org/apache/openejb/cts/DeploymentImpl.java | 2 +-
src/test/resources/testsuite.properties | 9 +-
.../openejb/tck/commands/CommandSupport.groovy | 6 +-
.../tck/commands/ReverseSetupCommand.groovy | 2 +-
.../openejb/tck/commands/SetupCommand.groovy | 8 +-
.../openejb/tck/commands/TsAntCommand.groovy | 2 +-
.../openejb/tck/commands/ValidateCommand.groovy | 4 +-
src/test/{tomee-plume => tomcat}/conf/context.xml | 26 +-
.../conf/jaspic-providers.xml | 0
src/test/tomcat/conf/security.properties | 1 +
.../tomee-plume/conf/ProviderConfiguration.xml | 64 -----
src/test/tomee-plume/conf/context.xml | 4 +-
src/test/tomee-plume/conf/security.properties | 1 +
src/test/tomee-plume/conf/system.properties | 4 +-
.../{tomee-plume => tomee-plus}/conf/context.xml | 4 +-
.../conf/jaspic-providers.xml | 7 +
src/test/tomee-plus/conf/security.properties | 1 +
src/test/tomee-plus/conf/system.properties | 13 +
src/test/{tomee-plume => tomee}/conf/context.xml | 26 +-
.../conf/jaspic-providers.xml | 0
src/test/tomee/conf/security.properties | 1 +
src/test/tomee/conf/system.properties | 14 +-
24 files changed, 209 insertions(+), 266 deletions(-)
copy src/test/{tomee-plume => tomcat}/conf/context.xml (51%)
copy src/test/{tomee-plume => tomcat}/conf/jaspic-providers.xml (100%)
create mode 100644 src/test/tomcat/conf/security.properties
delete mode 100644 src/test/tomee-plume/conf/ProviderConfiguration.xml
create mode 100644 src/test/tomee-plume/conf/security.properties
copy src/test/{tomee-plume => tomee-plus}/conf/context.xml (91%)
copy src/test/{tomee-plume => tomee-plus}/conf/jaspic-providers.xml (98%)
create mode 100644 src/test/tomee-plus/conf/security.properties
copy src/test/{tomee-plume => tomee}/conf/context.xml (51%)
copy src/test/{tomee-plume => tomee}/conf/jaspic-providers.xml (100%)
create mode 100644 src/test/tomee/conf/security.properties
[tomee-tck] 03/10: Also print Jakarta configuration properties. We
don't need to have a different version in the EE 9 branch. We can handle
both the same way.
Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
commit 3932733156a133687c516752ed237a503ae7fe8c
Author: Jean-Louis Monteiro <je...@gmail.com>
AuthorDate: Tue Nov 10 11:35:50 2020 +0100
Also print Jakarta configuration properties. We don't need to have a different version in the EE 9 branch. We can handle both the same way.
---
runtests | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtests b/runtests
index 0cdd1b4..d7807c4 100755
--- a/runtests
+++ b/runtests
@@ -325,7 +325,7 @@ echo "" # just an empty line
[ ! -z $env ] && export
# printing the content of the 2 main directories
-egrep 'javaee.(ri|cts).home' ~/.m2/settings.xml | perl -pe 's,^ *|<[^>]+>,,g' | while read n; do echo $n; ls -l $n; done
+egrep '(javaee|jakarta).(ri|cts).home' ~/.m2/settings.xml | perl -pe 's,^ *|<[^>]+>,,g' | while read n; do echo $n; ls -l $n; done
# Fire up Maven to do the real work
[tomee-tck] 08/10: Make sure CTS and RI home are more generic so we
don't have to use different names for Jakarta on
Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
commit 1e718637a82a3f71c9632a25346dc82eebcd3d6a
Author: Jean-Louis Monteiro <je...@gmail.com>
AuthorDate: Tue Nov 10 12:01:50 2020 +0100
Make sure CTS and RI home are more generic so we don't have to use different names for Jakarta on
---
src/test/script/openejb/tck/commands/ReverseSetupCommand.groovy | 2 +-
src/test/script/openejb/tck/commands/SetupCommand.groovy | 8 ++++----
src/test/script/openejb/tck/commands/TsAntCommand.groovy | 2 +-
src/test/script/openejb/tck/commands/ValidateCommand.groovy | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/test/script/openejb/tck/commands/ReverseSetupCommand.groovy b/src/test/script/openejb/tck/commands/ReverseSetupCommand.groovy
index 52b5489..cda0a96 100644
--- a/src/test/script/openejb/tck/commands/ReverseSetupCommand.groovy
+++ b/src/test/script/openejb/tck/commands/ReverseSetupCommand.groovy
@@ -32,7 +32,7 @@ class ReverseSetupCommand
}
def execute() {
- def javaeeCtsHome = requireDirectory('javaee.cts.home')
+ def javaeeCtsHome = requireDirectory('cts.home')
def tsant = new TsAntCommand(this)
tsant.props['build.vi'] = true
diff --git a/src/test/script/openejb/tck/commands/SetupCommand.groovy b/src/test/script/openejb/tck/commands/SetupCommand.groovy
index 47a3194..57aee3a 100644
--- a/src/test/script/openejb/tck/commands/SetupCommand.groovy
+++ b/src/test/script/openejb/tck/commands/SetupCommand.groovy
@@ -35,7 +35,7 @@ class SetupCommand
}
def generateTsJte() {
- def javaeeCtsHome = requireDirectory('javaee.cts.home')
+ def javaeeCtsHome = requireDirectory('cts.home')
// Install the Javatest testsuite environment configuration, first filter our custom properties
// then merge those properties with the javaee ts.jte
@@ -92,7 +92,7 @@ class SetupCommand
'openejb.home',
'openejb.embedded.classpath',
'javaee.home',
- 'javaee.ri.home',
+ 'ri.home',
'javaee.home.ri',
'ts.run.classpath',
'ts.run.classpath.ri.suffix',
@@ -141,7 +141,7 @@ class SetupCommand
// Modify the sig-test_se6.map file to use the proper signature files.
// Create backups first.
- def javaeeCtsHome = requireDirectory('javaee.cts.home')
+ def javaeeCtsHome = requireDirectory('cts.home')
// Backup the original sig-test_se8.map, load in the new props, and create
// the modified file
@@ -214,7 +214,7 @@ class SetupCommand
initPaths()
- def javaeeCtsHome = get('javaee.cts.home')
+ def javaeeCtsHome = get('cts.home')
ant.mkdir(dir: "${openejbHome}/logs")
ant.mkdir(dir: "${openejbHome}/apps")
diff --git a/src/test/script/openejb/tck/commands/TsAntCommand.groovy b/src/test/script/openejb/tck/commands/TsAntCommand.groovy
index d525ed0..7aeb05b 100644
--- a/src/test/script/openejb/tck/commands/TsAntCommand.groovy
+++ b/src/test/script/openejb/tck/commands/TsAntCommand.groovy
@@ -48,7 +48,7 @@ class TsAntCommand
}
def execute(List goals) {
- def javaeeCtsHome = requireDirectory('javaee.cts.home')
+ def javaeeCtsHome = requireDirectory('cts.home')
log.info("Executing 'tsant' goals: $goals")
diff --git a/src/test/script/openejb/tck/commands/ValidateCommand.groovy b/src/test/script/openejb/tck/commands/ValidateCommand.groovy
index 9c57dde..eb7a95d 100644
--- a/src/test/script/openejb/tck/commands/ValidateCommand.groovy
+++ b/src/test/script/openejb/tck/commands/ValidateCommand.groovy
@@ -59,8 +59,8 @@ class ValidateCommand
logProperties(project.properties, "Project")
}
- // Ensure that javaee.cts.home and javaee.ri.home are set to valid directories
- ['javaee.cts.home', 'javaee.ri.home'].each {
+ // Ensure that cts.home and ri.home are set to valid directories
+ ['cts.home', 'ri.home'].each {
def dir = requireDirectory(it)
//
[tomee-tck] 06/10: Missing JASPIC configuration for TomEE WebProfile
Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
commit a5458ff804cd11dec88bbc7f5be39f81c0b406d1
Author: Jean-Louis Monteiro <je...@gmail.com>
AuthorDate: Tue Nov 10 11:57:55 2020 +0100
Missing JASPIC configuration for TomEE WebProfile
---
src/test/tomee/conf/jaspic-providers.xml | 424 +++++++++++++++++++++++++++++++
1 file changed, 424 insertions(+)
diff --git a/src/test/tomee/conf/jaspic-providers.xml b/src/test/tomee/conf/jaspic-providers.xml
new file mode 100644
index 0000000..fc0ebe1
--- /dev/null
+++ b/src/test/tomee/conf/jaspic-providers.xml
@@ -0,0 +1,424 @@
+<?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>
+
+
+
+
[tomee-tck] 05/10: TS AuthConfig must be used by default for JASPIC
tests to pass.
Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
commit f8f2cb2c357a3fbeb13be2bd4ee0825a8057100b
Author: Jean-Louis Monteiro <je...@gmail.com>
AuthorDate: Tue Nov 10 11:57:22 2020 +0100
TS AuthConfig must be used by default for JASPIC tests to pass.
---
src/main/java/org/apache/openejb/cts/DeploymentImpl.java | 2 +-
src/test/tomcat/conf/security.properties | 1 +
src/test/tomee-plume/conf/security.properties | 1 +
src/test/tomee-plus/conf/security.properties | 1 +
src/test/tomee/conf/security.properties | 1 +
5 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/openejb/cts/DeploymentImpl.java b/src/main/java/org/apache/openejb/cts/DeploymentImpl.java
index 3a572b3..31b1b8e 100644
--- a/src/main/java/org/apache/openejb/cts/DeploymentImpl.java
+++ b/src/main/java/org/apache/openejb/cts/DeploymentImpl.java
@@ -59,7 +59,7 @@ public class DeploymentImpl implements TSDeploymentInterface2 {
Properties overrides = new Properties();
String containerJavaHome = System.getProperty("container.java.home");
String containerJavaVersion = System.getProperty("container.java.version");
- String containerJavaOpts = System.getProperty("container.java.opts", "-Dopenejb.deployer.jndiname=openejb/DeployerBusinessRemote");
+ String containerJavaOpts = System.getProperty("container.java.opts", "-Djava.security.properties=conf/security.properties -Dopenejb.deployer.jndiname=openejb/DeployerBusinessRemote");
if (containerJavaVersion != null) {
overrides.put("java.version", containerJavaVersion);
}
diff --git a/src/test/tomcat/conf/security.properties b/src/test/tomcat/conf/security.properties
new file mode 100644
index 0000000..2e64a82
--- /dev/null
+++ b/src/test/tomcat/conf/security.properties
@@ -0,0 +1 @@
+authconfigprovider.factory=com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigFactory
diff --git a/src/test/tomee-plume/conf/security.properties b/src/test/tomee-plume/conf/security.properties
new file mode 100644
index 0000000..2e64a82
--- /dev/null
+++ b/src/test/tomee-plume/conf/security.properties
@@ -0,0 +1 @@
+authconfigprovider.factory=com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigFactory
diff --git a/src/test/tomee-plus/conf/security.properties b/src/test/tomee-plus/conf/security.properties
new file mode 100644
index 0000000..2e64a82
--- /dev/null
+++ b/src/test/tomee-plus/conf/security.properties
@@ -0,0 +1 @@
+authconfigprovider.factory=com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigFactory
diff --git a/src/test/tomee/conf/security.properties b/src/test/tomee/conf/security.properties
new file mode 100644
index 0000000..2e64a82
--- /dev/null
+++ b/src/test/tomee/conf/security.properties
@@ -0,0 +1 @@
+authconfigprovider.factory=com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigFactory
[tomee-tck] 01/10: Override Tomcat Callback Handler with our own
fork
Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
commit b4ca08965eab06f6f43e65a56f084f85862f57ee
Author: Jean-Louis Monteiro <je...@gmail.com>
AuthorDate: Tue Nov 10 11:34:22 2020 +0100
Override Tomcat Callback Handler with our own fork
---
src/test/{tomee-plume => tomcat}/conf/context.xml | 26 +++++++++++-----------
src/test/tomee-plume/conf/context.xml | 4 ++--
.../{tomee-plume => tomee-plus}/conf/context.xml | 4 ++--
3 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/src/test/tomee-plume/conf/context.xml b/src/test/tomcat/conf/context.xml
similarity index 51%
copy from src/test/tomee-plume/conf/context.xml
copy to src/test/tomcat/conf/context.xml
index 9736302..18a9e49 100644
--- a/src/test/tomee-plume/conf/context.xml
+++ b/src/test/tomcat/conf/context.xml
@@ -17,19 +17,19 @@
-->
<!-- The contents of this file will be loaded for each web application -->
<Context crossContext="true" resourceOnlyServlets="jsp">
- <CookieProcessor className="org.apache.tomcat.util.http.LegacyCookieProcessor" alwaysAddExpires="true" forwardSlashIsSeparator="false" />
- <!-- Default set of monitored resources. If one of these changes, the -->
- <!-- web application will be reloaded. -->
- <WatchedResource>WEB-INF/web.xml</WatchedResource>
- <WatchedResource>WEB-INF/tomcat-web.xml</WatchedResource>
- <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
+ <CookieProcessor className="org.apache.tomcat.util.http.LegacyCookieProcessor" alwaysAddExpires="true" forwardSlashIsSeparator="false" />
+ <!-- Default set of monitored resources. If one of these changes, the -->
+ <!-- web application will be reloaded. -->
+ <WatchedResource>WEB-INF/web.xml</WatchedResource>
+ <WatchedResource>WEB-INF/tomcat-web.xml</WatchedResource>
+ <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
- <!-- Uncomment this to disable session persistence across Tomcat restarts -->
- <!--
- <Manager pathname="" />
- -->
+ <!-- Uncomment this to disable session persistence across Tomcat restarts -->
+ <!--
+ <Manager pathname="" />
+ -->
- <!-- this is for Jaspic so we can override the default CallbackHandler until we discuss on Tomcat Mailing list -->
- <Valve className="org.apache.catalina.authenticator.BasicAuthenticator"
- jaspicCallbackHandlerClass="org.apache.tomee.security.provider.CallbackHandlerImpl"/>
+ <Valve className="org.apache.catalina.authenticator.BasicAuthenticator"
+ jaspicCallbackHandlerClass="org.apache.tomee.security.provider.CallbackHandlerImpl"
+ />
</Context>
diff --git a/src/test/tomee-plume/conf/context.xml b/src/test/tomee-plume/conf/context.xml
index 9736302..1511fcd 100644
--- a/src/test/tomee-plume/conf/context.xml
+++ b/src/test/tomee-plume/conf/context.xml
@@ -29,7 +29,7 @@
<Manager pathname="" />
-->
- <!-- this is for Jaspic so we can override the default CallbackHandler until we discuss on Tomcat Mailing list -->
<Valve className="org.apache.catalina.authenticator.BasicAuthenticator"
- jaspicCallbackHandlerClass="org.apache.tomee.security.provider.CallbackHandlerImpl"/>
+ jaspicCallbackHandlerClass="org.apache.tomee.security.provider.CallbackHandlerImpl"
+ />
</Context>
diff --git a/src/test/tomee-plume/conf/context.xml b/src/test/tomee-plus/conf/context.xml
similarity index 91%
copy from src/test/tomee-plume/conf/context.xml
copy to src/test/tomee-plus/conf/context.xml
index 9736302..1511fcd 100644
--- a/src/test/tomee-plume/conf/context.xml
+++ b/src/test/tomee-plus/conf/context.xml
@@ -29,7 +29,7 @@
<Manager pathname="" />
-->
- <!-- this is for Jaspic so we can override the default CallbackHandler until we discuss on Tomcat Mailing list -->
<Valve className="org.apache.catalina.authenticator.BasicAuthenticator"
- jaspicCallbackHandlerClass="org.apache.tomee.security.provider.CallbackHandlerImpl"/>
+ jaspicCallbackHandlerClass="org.apache.tomee.security.provider.CallbackHandlerImpl"
+ />
</Context>
[tomee-tck] 07/10: Override Tomcat Callback Handler with our own
fork for TomEE WebProfile too
Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
commit b63c142abee33a06e35bb95c4e1d72b951b90ac8
Author: Jean-Louis Monteiro <je...@gmail.com>
AuthorDate: Tue Nov 10 11:58:32 2020 +0100
Override Tomcat Callback Handler with our own fork for TomEE WebProfile too
---
src/test/tomee/conf/context.xml | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/src/test/tomee/conf/context.xml b/src/test/tomee/conf/context.xml
new file mode 100644
index 0000000..18a9e49
--- /dev/null
+++ b/src/test/tomee/conf/context.xml
@@ -0,0 +1,35 @@
+<?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.
+-->
+<!-- The contents of this file will be loaded for each web application -->
+<Context crossContext="true" resourceOnlyServlets="jsp">
+ <CookieProcessor className="org.apache.tomcat.util.http.LegacyCookieProcessor" alwaysAddExpires="true" forwardSlashIsSeparator="false" />
+ <!-- Default set of monitored resources. If one of these changes, the -->
+ <!-- web application will be reloaded. -->
+ <WatchedResource>WEB-INF/web.xml</WatchedResource>
+ <WatchedResource>WEB-INF/tomcat-web.xml</WatchedResource>
+ <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
+
+ <!-- Uncomment this to disable session persistence across Tomcat restarts -->
+ <!--
+ <Manager pathname="" />
+ -->
+
+ <Valve className="org.apache.catalina.authenticator.BasicAuthenticator"
+ jaspicCallbackHandlerClass="org.apache.tomee.security.provider.CallbackHandlerImpl"
+ />
+</Context>
[tomee-tck] 04/10: Make sure Jaspic configuration is also available
for WebProfile and Plus distribution
Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
commit ba6f58d3c1d3563ad6468ff49cf6b3a7b8b23d60
Author: Jean-Louis Monteiro <je...@gmail.com>
AuthorDate: Tue Nov 10 11:56:45 2020 +0100
Make sure Jaspic configuration is also available for WebProfile and Plus distribution
---
src/test/tomee-plus/conf/system.properties | 13 +++++++++++++
src/test/tomee/conf/system.properties | 14 +++++++++++++-
2 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/src/test/tomee-plus/conf/system.properties b/src/test/tomee-plus/conf/system.properties
index e817bcc..7793f88 100644
--- a/src/test/tomee-plus/conf/system.properties
+++ b/src/test/tomee-plus/conf/system.properties
@@ -15,6 +15,11 @@
# limitations under the License.
#
+org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true
+org.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR=false
+user.language=en
+user.country=US
+
openejb.system.apps=true
openejb.deployments.classpath=true
tomee.remote.support=true
@@ -124,6 +129,14 @@ app/env/appds.UserName=cts
app/env/appds.Password=cts
openejb.classloader.forced-load = com.sun.ts.tests.
+openejb.classloader.forced-skip=com.sun.ts.tests.jaspic.tssv.
+
+# not sure why we have to duplicate this one here
+log.file.location=%user.dir%/%openejb.home%/logs
+vendor.authconfig.factory=org.apache.catalina.authenticator.jaspic.AuthConfigFactoryImpl
+provider.configuration.file=%cts.home%/src/com/sun/ts/tests/jaspic/tssv/config/ProviderConfiguration.xml
+j2eelogin.name=j2ee
+j2eelogin.password=j2ee
#
#for n in app/env/appds2; do
diff --git a/src/test/tomee/conf/system.properties b/src/test/tomee/conf/system.properties
index 2fcba79..67c0741 100644
--- a/src/test/tomee/conf/system.properties
+++ b/src/test/tomee/conf/system.properties
@@ -15,6 +15,11 @@
# limitations under the License.
#
+org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true
+org.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR=false
+user.language=en
+user.country=US
+
openejb.system.apps=true
openejb.deployments.classpath=true
tomee.remote.support=true
@@ -124,7 +129,14 @@ app/env/appds.UserName=cts
app/env/appds.Password=cts
openejb.classloader.forced-load = com.sun.ts.tests.
-openejb.classloader.forced-skip = org.apache.derby.
+openejb.classloader.forced-skip=org.apache.derby.,com.sun.ts.tests.jaspic.tssv.
+
+# not sure why we have to duplicate this one here
+log.file.location=%user.dir%/%openejb.home%/logs
+vendor.authconfig.factory=org.apache.catalina.authenticator.jaspic.AuthConfigFactoryImpl
+provider.configuration.file=%cts.home%/src/com/sun/ts/tests/jaspic/tssv/config/ProviderConfiguration.xml
+j2eelogin.name=j2ee
+j2eelogin.password=j2ee
#
#for n in app/env/appds2; do
[tomee-tck] 10/10: Update files for JASPIC
Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
commit bd375a83cccc0cdb575360135ea153a0fb627140
Author: Jean-Louis Monteiro <je...@gmail.com>
AuthorDate: Tue Nov 10 12:06:33 2020 +0100
Update files for JASPIC
---
pom.xml | 274 +++++++++------------
src/test/resources/testsuite.properties | 9 +-
.../tomee-plume/conf/ProviderConfiguration.xml | 64 -----
src/test/tomee-plume/conf/system.properties | 4 +-
4 files changed, 129 insertions(+), 222 deletions(-)
diff --git a/pom.xml b/pom.xml
index c9e9797..b945193 100644
--- a/pom.xml
+++ b/pom.xml
@@ -41,15 +41,16 @@
<openejb.version>8.0.5-SNAPSHOT</openejb.version>
<tomee.version>8.0.5-SNAPSHOT</tomee.version>
- <tomcat.version>9.0.37</tomcat.version>
+ <tomcat.version>9.0.39</tomcat.version>
<derby.version>10.7.1.1</derby.version>
<!--
NOTE: User must define "javaee8.cts.home" and "javaee8.ri.home" in ~/.m2/settings.xml
+ NOTE: Same for the Jakarta version "jakartaee9.cts.home" and "jakartaee9.ri.home" in ~/.m2/settings.xml
-->
- <javaee.cts.home>${javaee8.cts.home}</javaee.cts.home>
- <javaee.ri.home>${javaee8.ri.home}</javaee.ri.home>
+ <cts.home>${javaee8.cts.home}</cts.home>
+ <ri.home>${javaee8.ri.home}</ri.home>
<javaee.tck.version>8.0</javaee.tck.version>
<localRepository>${settings.localRepository}</localRepository>
@@ -85,7 +86,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.maven-dependency-plugin>2.9</version.maven-dependency-plugin>
- <version.activemq>5.15.12</version.activemq>
+ <version.activemq>5.16.0</version.activemq>
<version.gmaven-plugin>1.5</version.gmaven-plugin>
</properties>
@@ -147,7 +148,7 @@
<!--<version>${javaee.tck.version}</version>-->
<!--<scope>system</scope>-->
<!--<type>jar</type>-->
- <!--<systemPath>${javaee.cts.home}/dist/com/sun/ts/tests/websocket/ee/javax/websocket/clientendpoint/wsc_ee_clientendpoint_Client_nodeploy.jar_client</systemPath>-->
+ <!--<systemPath>${cts.home}/dist/com/sun/ts/tests/websocket/ee/javax/websocket/clientendpoint/wsc_ee_clientendpoint_Client_nodeploy.jar_client</systemPath>-->
<!--</dependency>-->
<dependency>
@@ -155,21 +156,21 @@
<artifactId>tsharness</artifactId>
<version>${javaee.tck.version}</version>
<scope>system</scope>
- <systemPath>${javaee.cts.home}/lib/tsharness.jar</systemPath>
+ <systemPath>${cts.home}/lib/tsharness.jar</systemPath>
</dependency>
<dependency>
<groupId>com.sun.javaee.tck</groupId>
<artifactId>tssv</artifactId>
<version>${javaee.tck.version}</version>
<scope>system</scope>
- <systemPath>${javaee.cts.home}/lib/tssv.jar</systemPath>
+ <systemPath>${cts.home}/lib/tssv.jar</systemPath>
</dependency>
<dependency>
<groupId>com.sun.javaee.tck</groupId>
<artifactId>tsprovider</artifactId>
<version>${javaee.tck.version}</version>
<scope>system</scope>
- <systemPath>${javaee.cts.home}/lib/tsprovider.jar</systemPath>
+ <systemPath>${cts.home}/lib/tsprovider.jar</systemPath>
</dependency>
<dependency>
@@ -177,7 +178,7 @@
<artifactId>javatest</artifactId>
<version>${javaee.tck.version}</version>
<scope>system</scope>
- <systemPath>${javaee.cts.home}/lib/javatest.jar</systemPath>
+ <systemPath>${cts.home}/lib/javatest.jar</systemPath>
</dependency>
<dependency>
@@ -185,7 +186,7 @@
<artifactId>cts</artifactId>
<version>${javaee.tck.version}</version>
<scope>system</scope>
- <systemPath>${javaee.cts.home}/lib/cts.jar</systemPath>
+ <systemPath>${cts.home}/lib/cts.jar</systemPath>
</dependency>
<dependency>
@@ -193,7 +194,7 @@
<artifactId>whitebox</artifactId>
<version>${javaee.tck.version}</version>
<scope>system</scope>
- <systemPath>${javaee.cts.home}/dist/com/sun/ts/tests/common/connector/whitebox/whitebox.jar</systemPath>
+ <systemPath>${cts.home}/dist/com/sun/ts/tests/common/connector/whitebox/whitebox.jar</systemPath>
</dependency>
<dependency>
@@ -201,7 +202,7 @@
<artifactId>dbprocedures</artifactId>
<version>${javaee.tck.version}</version>
<scope>system</scope>
- <systemPath>${javaee.cts.home}/lib/dbprocedures.jar</systemPath>
+ <systemPath>${cts.home}/lib/dbprocedures.jar</systemPath>
</dependency>
<dependency>
@@ -236,6 +237,12 @@
</dependency>
<dependency>
<groupId>${openejb.groupId}</groupId>
+ <artifactId>tomee-catalina</artifactId>
+ <type>jar</type>
+ <version>${tomee.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${openejb.groupId}</groupId>
<artifactId>tomee-security</artifactId>
<type>jar</type>
<version>${tomee.version}</version>
@@ -313,143 +320,6 @@
<profiles>
<!-- =================== -->
- <!-- Standalone Environment -->
- <!-- =================== -->
-
- <profile>
- <id>standalone-environment</id>
-
- <activation>
- <property>
- <name>webcontainer</name>
- <value>none</value>
- </property>
- </activation>
-
- <properties>
- <!-- where we will unpack openejb -->
- <openejb.home>${project.build.directory}/apache-openejb-${openejb.version}</openejb.home>
- </properties>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
-
- <executions>
- <execution>
- <id>unpack</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>${openejb.groupId}</groupId>
- <artifactId>openejb-standalone</artifactId>
- <version>${openejb.version}</version>
- <type>zip</type>
- <outputDirectory>${project.build.directory}</outputDirectory>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>${openejb.groupId}</groupId>
- <artifactId>openejb-standalone</artifactId>
- <type>zip</type>
- <version>${openejb.version}</version>
- </dependency>
- </dependencies>
- </profile>
-
- <!-- =================== -->
- <!-- Tomcat Environment -->
- <!-- =================== -->
-
- <profile>
- <id>tomcat-environment</id>
-
- <activation>
- <property>
- <name>webcontainer</name>
- <value>tomcat</value>
- </property>
- </activation>
-
- <properties>
- <!-- where we will unpack tomcat -->
- <openejb.home>${project.build.directory}/apache-tomcat-${tomcat.version}</openejb.home>
- </properties>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>${version.maven-dependency-plugin}</version>
-
- <executions>
- <execution>
- <id>unpack</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.openejb.tck</groupId>
- <artifactId>tomcat</artifactId>
- <version>${tomcat.version}</version>
- <type>zip</type>
- <outputDirectory>${project.build.directory}</outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>org.apache.tomee</groupId>
- <artifactId>tomee-webapp</artifactId>
- <version>${tomee.version}</version>
- <type>war</type>
- <outputDirectory>${openejb.home}/webapps/tomee</outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>${openejb.groupId}</groupId>
- <artifactId>tomee-loader</artifactId>
- <version>${tomee.version}</version>
- <type>jar</type>
- <outputDirectory>${openejb.home}/lib</outputDirectory>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
-
- <dependency>
- <groupId>${openejb.groupId}</groupId>
- <artifactId>tomee-webapp</artifactId>
- <type>war</type>
- <version>${tomee.version}</version>
- </dependency>
-
- </dependencies>
-
- </profile>
-
-
- <!-- =================== -->
<!-- TomEE Environment -->
<!-- =================== -->
@@ -898,6 +768,7 @@
<artifactId>maven-dependency-plugin</artifactId>
<version>3.0.1</version>
<executions>
+ <!-- this gets overridden based on the profile with whatever distribution pulled -->
<execution>
<id>unpack</id>
<phase>pre-integration-test</phase>
@@ -916,6 +787,13 @@
</artifactItems>
</configuration>
</execution>
+
+ <!--
+ This basically adds into the lib directory for the client the necessary jars
+ Do not add any TomEE, Tomcat jar because they have to come from the lib above.
+ Otherwise, they won't be jakartized
+ ActiveMQ is a bit special because it's old and still requires Geronimo Spec for JMS 1.1 which is not Jakarta compliant
+ -->
<execution>
<id>copy-dependencies</id>
<phase>pre-integration-test</phase>
@@ -927,9 +805,11 @@
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
<excludeTransitive>true</excludeTransitive>
- <includeArtifactIds>hawtbuf,tomcat-websocket,tomcat-util,tomcat-util-scan,tomcat-juli,tomcat-catalina,tomee-security,tomcat-api,openejb-lite,activemq-client,tsharness,tssv,cts,whitebox,dbprocedures,geronimo-mail,openejb-derbynet,derby,derbynet,derbyclient,webdeployer</includeArtifactIds>
+ <includeArtifactIds>hawtbuf,activemq-client,tsharness,tssv,cts,whitebox,dbprocedures,geronimo-mail,derby,derbynet,derbyclient,webdeployer</includeArtifactIds>
</configuration>
</execution>
+
+ <!-- This has extra libraries required to run the TCK -->
<execution>
<id>copy-dependencies-tomee-lib</id>
<phase>pre-integration-test</phase>
@@ -941,7 +821,7 @@
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
<excludeTransitive>true</excludeTransitive>
- <includeArtifactIds>activemq-client,tsharness,tssv,cts,whitebox,dbprocedures,geronimo-mail,openejb-derbynet,derby,derbynet,derbyclient,webdeployer</includeArtifactIds>
+ <includeArtifactIds>tsharness,tssv,cts,whitebox,dbprocedures,geronimo-mail,openejb-derbynet,derby,derbynet,derbyclient,webdeployer</includeArtifactIds>
</configuration>
</execution>
</executions>
@@ -957,6 +837,98 @@
<version>1.8</version>
<executions>
<execution>
+ <id>copy-tomee-libs-to-tck-javatest</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <target>
+ <copy todir="${project.build.directory}/lib">
+ <fileset dir="${openejb.home}/lib">
+
+ <!-- we essentially take everything from openejb-lite dependency tree - probably too much but fine to start -->
+
+ <include name="javaee-api*.jar"/>
+
+ <include name="openejb-core*.jar"/>
+ <include name="mbean-annotation-api*.jar"/>
+ <include name="openejb-jpa-integration*.jar"/>
+ <include name="commons-lang3*.jar"/>
+ <include name="openejb-api*.jar"/>
+ <include name="openejb-loader*.jar"/>
+ <include name="openejb-javaagent*.jar"/>
+ <include name="openejb-jee*.jar"/>
+ <include name="jaxb-runtime*.jar"/>
+ <include name="jakarta.xml.bind-api*.jar"/>
+ <include name="jakarta.activation*.jar"/>
+ <include name="txw2*.jar"/>
+ <include name="istack-commons*.jar"/>
+ <include name="stax-ex*.jar"/>
+ <include name="FastInfoset*.jar"/>
+ <include name="openejb-jee-accessors*.jar"/>
+ <include name="sxc-jaxb*.jar"/>
+ <include name="sxc-runtime*.jar"/>
+ <include name="commons-cli*.jar"/>
+ <include name="commons-collections*.jar"/>
+ <include name="activemq-jdbc*.jar"/>
+ <include name="geronimo-connector*.jar"/>
+ <include name="geronimo-j2ee*.jar"/>
+ <include name="geronimo-transaction*.jar"/>
+ <include name="howl*.jar"/>
+ <include name="jackson-databind*.jar"/>
+ <include name="jackson-annotations*.jar"/>
+ <include name="jackson-core*.jar"/>
+ <include name="geronimo-javamail*.jar"/>
+ <include name="xbean-asm*.jar"/>
+ <include name="xbean-finder*.jar"/>
+ <include name="xbean-reflect*.jar"/>
+ <include name="xbean-naming*.jar"/>
+ <include name="xbean-bundleutils*.jar"/>
+ <include name="hsqldb*.jar"/>
+ <include name="commons-dbcp2*.jar"/>
+ <include name="commons-pool2*.jar"/>
+ <include name="swizzle*.jar"/>
+ <include name="commons-logging*.jar"/>
+ <include name="quartz-openejb*.jar"/>
+ <include name="slf4j-api*.jar"/>
+ <include name="openwebbeans-impl*.jar"/>
+ <include name="openwebbeans-spi*.jar"/>
+ <include name="openwebbeans-ejb*.jar"/>
+ <include name="openwebbeans-ee*.jar"/>
+ <include name="openwebbeans-ee-common*.jar"/>
+ <include name="openwebbeans-web*.jar"/>
+ <include name="openwebbeans-el22*.jar"/>
+ <include name="openjpa*.jar"/>
+ <include name="serp*.jar"/>
+ <include name="bval-jsr*.jar"/>
+
+ <include name="tomcat-websocket*.jar"/>
+ <include name="tomcat-util*.jar"/>
+ <include name="tomcat-juli*.jar"/>
+ <include name="catalina.jar"/>
+ <include name="jaspic-api*.jar"/>
+ <include name="tomcat-api*.jar"/>
+ <include name="websocket-api*.jar"/>
+ <include name="jsp-api*.jar"/>
+ <include name="el-api*.jar"/>
+ <include name="servlet-api*.jar"/>
+ <include name="tomee-security*.jar"/>
+
+ <include name="geronimo-mail-*.jar"/>
+
+ <exclude name="openejb-core-eclipselink*.jar" />
+ </fileset>
+ </copy>
+ <copy todir="${project.build.directory}/lib">
+ <fileset dir="${openejb.home}/bin">
+ <include name="tomcat-juli.jar"/>
+ </fileset>
+ </copy>
+ </target>
+ </configuration>
+ </execution>
+ <execution>
<id>remove-apps-and-copy-libs-from-tck</id>
<phase>pre-integration-test</phase>
<goals>
diff --git a/src/test/resources/testsuite.properties b/src/test/resources/testsuite.properties
index 27fab25..6495a96 100644
--- a/src/test/resources/testsuite.properties
+++ b/src/test/resources/testsuite.properties
@@ -141,9 +141,9 @@ impl.vi=openejb
javaee.classes.ri=${ri.modules}/javax.ejb.jar${pathsep}${endorsed.dirs.ri}/javax.annotation.jar${pathsep}${ri.modules}/javax.enterprise.deploy.jar${pathsep}${ri.modules}/javax.mail.jar${pathsep}${ri.modules}/javax.persistence.jar${pathsep}${ri.modules}/javax.resource.jar${pathsep}${ri.modules}/javax.security.auth.message.jar${pathsep}${ri.modules}/javax.security.jacc.jar${pathsep}${ri.modules}/javax.servlet.jar${pathsep}${ri.modules}/javax.servlet.jsp.jar${pathsep}${ri.modules}/javax.tra [...]
javaee.classes=${s1as.modules}/javax.ejb.jar${pathsep}${endorsed.dirs}/javax.annotation.jar${pathsep}${s1as.modules}/javax.enterprise.deploy.jar${pathsep}${s1as.modules}/javax.mail.jar${pathsep}${s1as.modules}/javax.persistence.jar${pathsep}${s1as.modules}/javax.resource.jar${pathsep}${s1as.modules}/javax.security.auth.message.jar${pathsep}${s1as.modules}/javax.security.jacc.jar${pathsep}${s1as.modules}/javax.servlet.jar${pathsep}${s1as.modules}/el-impl.jar${pathsep}${s1as.modules}/javax [...]
-jaxrs_impl_lib=%javaee.ri.home%/modules/jersey-core.jar
-javaee.home.ri=%javaee.ri.home%
-javaee.home=%javaee.ri.home%
+jaxrs_impl_lib=%ri.home%/modules/jersey-core.jar
+javaee.home.ri=%ri.home%
+javaee.home=%ri.home%
javaee.level=%javaee.level%
#jdbc.db=hsql
@@ -231,9 +231,8 @@ smtp.port = 3025
javamail.mailbox = INBOX
# Jaspic
-# vendor.authconfig.factory=com.sun.ts.tests.jaspic.tssv.config.TSAuthConfigFactory
vendor.authconfig.factory=org.apache.catalina.authenticator.jaspic.AuthConfigFactoryImpl
-provider.configuration.file=%basedir%/%openejb.home%/conf/ProviderConfiguration.xml
+provider.configuration.file=%cts.home%/src/com/sun/ts/tests/jaspic/tssv/config/ProviderConfiguration.xml
j2eelogin.name=j2ee
j2eelogin.password=j2ee
servlet.is.jsr115.compatible=false
diff --git a/src/test/tomee-plume/conf/ProviderConfiguration.xml b/src/test/tomee-plume/conf/ProviderConfiguration.xml
deleted file mode 100644
index a3c6e1b..0000000
--- a/src/test/tomee-plume/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>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/system.properties b/src/test/tomee-plume/conf/system.properties
index 6af8c4f..390121a 100644
--- a/src/test/tomee-plume/conf/system.properties
+++ b/src/test/tomee-plume/conf/system.properties
@@ -132,12 +132,12 @@ app/env/appds.UserName=cts
app/env/appds.Password=cts
openejb.classloader.forced-load = com.sun.ts.tests.
-openejb.classloader.forced-skip=com.sun.ts.tests.jaspic.tssv.util.
+openejb.classloader.forced-skip=com.sun.ts.tests.jaspic.tssv.
# not sure why we have to duplicate this one here
log.file.location=%user.dir%/%openejb.home%/logs
vendor.authconfig.factory=org.apache.catalina.authenticator.jaspic.AuthConfigFactoryImpl
-provider.configuration.file=%user.dir%/%openejb.home%/conf/ProviderConfiguration.xml
+provider.configuration.file=%cts.home%/src/com/sun/ts/tests/jaspic/tssv/config/ProviderConfiguration.xml
j2eelogin.name=j2ee
j2eelogin.password=j2ee
[tomee-tck] 02/10: Add missing JASPIC configuration for Tomcat and
TomEE Plus
Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
commit d89b92eb746a73c331593ae098eb11e56442447d
Author: Jean-Louis Monteiro <je...@gmail.com>
AuthorDate: Tue Nov 10 11:35:06 2020 +0100
Add missing JASPIC configuration for Tomcat and TomEE Plus
---
src/test/tomcat/conf/jaspic-providers.xml | 424 +++++++++++++++++++++++++
src/test/tomee-plus/conf/jaspic-providers.xml | 431 ++++++++++++++++++++++++++
2 files changed, 855 insertions(+)
diff --git a/src/test/tomcat/conf/jaspic-providers.xml b/src/test/tomcat/conf/jaspic-providers.xml
new file mode 100644
index 0000000..fc0ebe1
--- /dev/null
+++ b/src/test/tomcat/conf/jaspic-providers.xml
@@ -0,0 +1,424 @@
+<?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-plus/conf/jaspic-providers.xml b/src/test/tomee-plus/conf/jaspic-providers.xml
new file mode 100644
index 0000000..b752fe1
--- /dev/null
+++ b/src/test/tomee-plus/conf/jaspic-providers.xml
@@ -0,0 +1,431 @@
+<?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>
+
+
+
+
[tomee-tck] 09/10: Add all libraries to classpath
Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
commit b9ec4aad927c7a5671d902a4287941529c58ac90
Author: Jean-Louis Monteiro <je...@gmail.com>
AuthorDate: Tue Nov 10 12:03:56 2020 +0100
Add all libraries to classpath
---
src/test/script/openejb/tck/commands/CommandSupport.groovy | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/test/script/openejb/tck/commands/CommandSupport.groovy b/src/test/script/openejb/tck/commands/CommandSupport.groovy
index d503cc4..f89b7c1 100644
--- a/src/test/script/openejb/tck/commands/CommandSupport.groovy
+++ b/src/test/script/openejb/tck/commands/CommandSupport.groovy
@@ -154,8 +154,8 @@ abstract class CommandSupport {
def initPaths() {
def openejbHome = get('openejb.home')
- def javaeetckHome = get('javaee.cts.home')
- def javaeeRiHome = get('javaee.ri.home')
+ def javaeetckHome = get('cts.home')
+ def javaeeRiHome = get('ri.home')
def webcontainer = get('webcontainer')
def tomeeHttpPort = get('webcontainer.default.port')
@@ -268,7 +268,7 @@ abstract class CommandSupport {
builder.directory = "${project.build.directory}"
builder.append("openejb-tck-*.jar")
builder.directory = "${project.build.directory}/lib"
- builder.append("openejb-lite*.jar")
+ builder.appendAll("*.jar")
builder.directory = "${javaeetckHome}/lib"
builder.append("javatest.jar")
builder.append("tsharness.jar")