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 2018/04/16 22:45:07 UTC

[03/38] tomee git commit: Try to reset to default

Try to reset to default


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/7c7236b8
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/7c7236b8
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/7c7236b8

Branch: refs/heads/master
Commit: 7c7236b84f5d07062721c520207b44abe3cc97d1
Parents: d56dc9e
Author: Jean-Louis Monteiro <je...@gmail.com>
Authored: Tue Feb 20 09:34:27 2018 +0100
Committer: Jean-Louis Monteiro <je...@gmail.com>
Committed: Tue Feb 20 09:34:27 2018 +0100

----------------------------------------------------------------------
 .../java/org/apache/openejb/core/security/JwtSecurityTest.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/7c7236b8/container/openejb-core/src/test/java/org/apache/openejb/core/security/JwtSecurityTest.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/test/java/org/apache/openejb/core/security/JwtSecurityTest.java b/container/openejb-core/src/test/java/org/apache/openejb/core/security/JwtSecurityTest.java
index 8708074..ddd92f3 100644
--- a/container/openejb-core/src/test/java/org/apache/openejb/core/security/JwtSecurityTest.java
+++ b/container/openejb-core/src/test/java/org/apache/openejb/core/security/JwtSecurityTest.java
@@ -65,7 +65,8 @@ public class JWTSecurityTest {
     public static void afterClass() throws Exception {
         OpenEJB.destroy();
         System.clearProperty(Context.INITIAL_CONTEXT_FACTORY);
-        Security.setProperty("login.configuration.provider", null);
+        // unfortunate we can't reset the value, so setting to default (See Configuration)
+        Security.setProperty("login.configuration.provider", "sun.security.provider.ConfigFile");
     }
 
     private Assembler configureAssembler(final String defaultUser) throws Exception {