You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2021/12/14 15:04:59 UTC
[activemq-artemis] branch main updated: ARTEMIS-3605 Fix RestDeserializationTest
This is an automated email from the ASF dual-hosted git repository.
clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/main by this push:
new ca1accc ARTEMIS-3605 Fix RestDeserializationTest
ca1accc is described below
commit ca1accc2024d6f8a244f069674fee48c94cbc948
Author: Domenico Francesco Bruscino <br...@apache.org>
AuthorDate: Tue Dec 14 15:58:49 2021 +0100
ARTEMIS-3605 Fix RestDeserializationTest
---
.../apache/activemq/artemis/tests/integration/rest/RestTestBase.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/rest/RestTestBase.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/rest/RestTestBase.java
index acd6628..83c159d 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/rest/RestTestBase.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/rest/RestTestBase.java
@@ -21,6 +21,7 @@ import java.io.IOException;
import java.io.InputStream;
import org.apache.activemq.artemis.tests.util.JMSTestBase;
+import org.eclipse.jetty.security.DefaultAuthenticatorFactory;
import org.eclipse.jetty.server.Connector;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.ServerConnector;
@@ -82,6 +83,7 @@ public class RestTestBase extends JMSTestBase {
webapp.setContextPath("/" + contextPath);
}
webapp.setWar(warFile.getAbsolutePath());
+ webapp.getSecurityHandler().setAuthenticatorFactory(new DefaultAuthenticatorFactory());
handlers.addHandler(webapp);
return webapp;