From 75525f325a98a48a3e4c9670bc1a75d71585051f Mon Sep 17 00:00:00 2001 From: Jens-Otto Larsen Date: Fri, 23 Aug 2024 15:39:52 +0200 Subject: [PATCH] =?UTF-8?q?Forklaring=20p=C3=A5=20behov=20for=20supplier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nav/vedtak/sikkerhet/jaxrs/AuthenticationFilterDelegate.java | 1 + 1 file changed, 1 insertion(+) diff --git a/felles/auth-filter/src/main/java/no/nav/vedtak/sikkerhet/jaxrs/AuthenticationFilterDelegate.java b/felles/auth-filter/src/main/java/no/nav/vedtak/sikkerhet/jaxrs/AuthenticationFilterDelegate.java index b6f6af36c..21ae03a92 100644 --- a/felles/auth-filter/src/main/java/no/nav/vedtak/sikkerhet/jaxrs/AuthenticationFilterDelegate.java +++ b/felles/auth-filter/src/main/java/no/nav/vedtak/sikkerhet/jaxrs/AuthenticationFilterDelegate.java @@ -51,6 +51,7 @@ public static void validerSettKontekst(ResourceInfo resourceInfo, ContainerReque validerSettKontekst(resourceInfo, ctx, () -> getTokenFromHeader(ctx)); } + // Denne Supplier-varianten finnes kun for at k9tilbake skal kunne lete etter tokens i cookies (i tillegg til header) public static void validerSettKontekst(ResourceInfo resourceInfo, ContainerRequestContext ctx, Supplier> tokenfinder) { try {