Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
willmostly committed Sep 18, 2023
1 parent 7d5758f commit 128ab4d
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down

0 comments on commit 128ab4d

Please sign in to comment.