diff --git a/clustering/infinispan/extension/src/main/java/org/jboss/as/clustering/infinispan/client/ManagedRemoteCacheContainer.java b/clustering/infinispan/extension/src/main/java/org/jboss/as/clustering/infinispan/client/ManagedRemoteCacheContainer.java
index 8b03b3be512e..d344c9acfd00 100644
--- a/clustering/infinispan/extension/src/main/java/org/jboss/as/clustering/infinispan/client/ManagedRemoteCacheContainer.java
+++ b/clustering/infinispan/extension/src/main/java/org/jboss/as/clustering/infinispan/client/ManagedRemoteCacheContainer.java
@@ -108,6 +108,11 @@ public boolean isStarted() {
return this.container.isStarted();
}
+ @Override
+ public String getCurrentClusterName() {
+ return this.container.getCurrentClusterName();
+ }
+
@Override
public boolean switchToCluster(String clusterName) {
return this.container.switchToCluster(clusterName);
diff --git a/pom.xml b/pom.xml
index dee340d23832..ccf443c23707 100644
--- a/pom.xml
+++ b/pom.xml
@@ -493,7 +493,7 @@
6.2.2.Final
8.0.1.Final
2.4.9.Final
- 14.0.17.Final
+ 14.0.20.Final
4.6.5.Final
1.9.3
2.1.3.Final
diff --git a/testsuite/integration/clustering/src/test/java/org/jboss/as/test/clustering/cluster/jsf/AbstractJSFFailoverTestCase.java b/testsuite/integration/clustering/src/test/java/org/jboss/as/test/clustering/cluster/jsf/AbstractJSFFailoverTestCase.java
index 971c573c9883..30d4cbd336b8 100644
--- a/testsuite/integration/clustering/src/test/java/org/jboss/as/test/clustering/cluster/jsf/AbstractJSFFailoverTestCase.java
+++ b/testsuite/integration/clustering/src/test/java/org/jboss/as/test/clustering/cluster/jsf/AbstractJSFFailoverTestCase.java
@@ -15,7 +15,6 @@
import jakarta.servlet.http.HttpServletResponse;
-import org.apache.commons.io.IOUtils;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.methods.HttpGet;
@@ -27,6 +26,7 @@
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.message.BasicNameValuePair;
+import org.apache.http.util.EntityUtils;
import org.jboss.arquillian.container.test.api.OperateOnDeployment;
import org.jboss.arquillian.test.api.ArquillianResource;
import org.jboss.as.test.clustering.cluster.AbstractClusteringTestCase;
@@ -53,7 +53,7 @@ private static NumberGuessState parseState(HttpResponse response, String session
Matcher matcher;
NumberGuessState state = new NumberGuessState();
- String responseString = IOUtils.toString(response.getEntity().getContent(), StandardCharsets.UTF_8);
+ String responseString = EntityUtils.toString(response.getEntity(), StandardCharsets.UTF_8);
Map.Entry sessionRouteEntry = parseSessionRoute(response);
state.sessionId = (sessionRouteEntry != null) ? sessionRouteEntry.getKey() : sessionId;