You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2021/04/08 10:41:02 UTC

[tomee-tck] 01/02: JASPIC tests require the AuthConfigFactory to be overriden with the TS one.

This is an automated email from the ASF dual-hosted git repository.

jlmonteiro pushed a commit to branch jakartaee9-tck
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git

commit 6ee186393b3c6760e53567709565d95d785406c9
Author: Jean-Louis Monteiro <jl...@tomitribe.com>
AuthorDate: Thu Apr 8 12:33:36 2021 +0200

    JASPIC tests require the AuthConfigFactory to be overriden with the TS one.
    
    Signed-off-by: Jean-Louis Monteiro <jl...@tomitribe.com>
---
 src/test/script/openejb/tck/commands/JavaTestCommand.groovy | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/test/script/openejb/tck/commands/JavaTestCommand.groovy b/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
index 8352e08..1617433 100644
--- a/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
+++ b/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
@@ -234,7 +234,9 @@ class JavaTestCommand
                     log.info("Enabling server security manager")
 
                     // -Djava.security.properties=conf/security.properties
-                    containerJavaOpts += "-Djava.security.manager -Djava.security.policy==${project.basedir}/${openejbHome}/conf/catalina.policy"
+                    containerJavaOpts += "-Djava.security.manager " +
+                            "-Djava.security.policy==${project.basedir}/${openejbHome}/conf/catalina.policy " +
+                            "-Djava.security.properties=${project.basedir}/${openejbHome}/conf/security.properties"
                 }
                 if (options.contains('websocket')) {
                     log.info("Enabling Tomcat WebSockets configuration")