From 128ab4d60b7745abc3c3582ff4c7668379cd7e16 Mon Sep 17 00:00:00 2001 From: Will Morrison Date: Mon, 18 Sep 2023 16:03:05 -0400 Subject: [PATCH] Remove comment --- .../java/io/trino/gateway/ha/security/TestLbFilter.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gateway-ha/src/test/java/io/trino/gateway/ha/security/TestLbFilter.java b/gateway-ha/src/test/java/io/trino/gateway/ha/security/TestLbFilter.java index 85a694071..8723ba1dd 100644 --- a/gateway-ha/src/test/java/io/trino/gateway/ha/security/TestLbFilter.java +++ b/gateway-ha/src/test/java/io/trino/gateway/ha/security/TestLbFilter.java @@ -56,19 +56,11 @@ public void setup() throws Exception { Mockito .when(authorizationManager.getPrivileges(USER)) .thenReturn(MEMBER_OF); - /* - This is required if LbAuthenticator.authenticate uses - `.map(sub -> new LbPrincipal(sub, authorizationManager.getPrivileges(sub)));` - If it should actually be using - LbPrincipal(sub, authorizationManager.getMemberOf(sub))) - then this should be removed - */ // Request context for the auth filter requestContext = Mockito.mock(ContainerRequestContext.class); } - @Test public void testSuccessfulCookieAuthentication() throws Exception {