[
https://issues.apache.org/jira/browse/ARTEMIS-5719?focusedWorklogId=988839&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-988839
]
ASF GitHub Bot logged work on ARTEMIS-5719:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 24/Oct/25 16:04
Start Date: 24/Oct/25 16:04
Worklog Time Spent: 10m
Work Description: brusdev commented on code in PR #6004:
URL: https://github.com/apache/activemq-artemis/pull/6004#discussion_r2461143255
##########
artemis-web/src/test/java/org/apache/activemq/cli/test/WebServerComponentTest.java:
##########
@@ -880,6 +882,48 @@ public void testServerDeterministicWebappName() throws
Exception {
assertFalse(webServerComponent.isStarted());
}
+ @Test
+ public void testIsolationOfSessions() throws Exception {
+ BindingDTO bindingDTO1 = new BindingDTO();
+ bindingDTO1.uri = "http://localhost:0";
+ bindingDTO1.apps = new ArrayList<>();
+ bindingDTO1.apps.add(createSimpleAppDTO("app1"));
+ bindingDTO1.apps.add(createSimpleAppDTO("app2"));
+
+ BindingDTO bindingDTO2 = new BindingDTO();
+ bindingDTO2.uri = "http://localhost:0";
+ bindingDTO2.apps = new ArrayList<>();
+ bindingDTO2.apps.add(createSimpleAppDTO("app1"));
+ bindingDTO2.apps.add(createSimpleAppDTO("app2"));
+
+ WebServerDTO webServerDTO = new WebServerDTO();
+ webServerDTO.setBindings(Arrays.asList(bindingDTO1, bindingDTO2));
Review Comment:
I like `List.of`
Issue Time Tracking
-------------------
Worklog Id: (was: 988839)
Time Spent: 1h (was: 50m)
> Login to web console causes logout from other web consoles
> ----------------------------------------------------------
>
> Key: ARTEMIS-5719
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5719
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Domenico Francesco Bruscino
> Assignee: Domenico Francesco Bruscino
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h
> Remaining Estimate: 0h
>
> When the web consoles of multiple broker instances have the same hostname and
> different ports, users can log in to one web console at a time by using a
> single browser. This is because the session cookie name and domain are the
> same for all the web consoles.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact