From 26ef9c45cacc0875f45cde9d86b541310988c959 Mon Sep 17 00:00:00 2001 From: Jens-Otto Larsen Date: Wed, 29 Jan 2025 11:08:59 +0100 Subject: [PATCH] Nye policynavn fra abac --- .../nav/vedtak/sikkerhet/pdp/xacml/XacmlResponseMapper.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/felles/abac/src/main/java/no/nav/vedtak/sikkerhet/pdp/xacml/XacmlResponseMapper.java b/felles/abac/src/main/java/no/nav/vedtak/sikkerhet/pdp/xacml/XacmlResponseMapper.java index ee12679a2..78e49990b 100644 --- a/felles/abac/src/main/java/no/nav/vedtak/sikkerhet/pdp/xacml/XacmlResponseMapper.java +++ b/felles/abac/src/main/java/no/nav/vedtak/sikkerhet/pdp/xacml/XacmlResponseMapper.java @@ -52,6 +52,10 @@ private static Optional getAdvicefromObject(XacmlResponse.AttributeAssig case "fp3_behandle_egen_ansatt" -> Optional.of(Advice.DENY_EGEN_ANSATT); case "fp2_behandle_kode7" -> Optional.of(Advice.DENY_KODE_7); case "fp1_behandle_kode6" -> Optional.of(Advice.DENY_KODE_6); + case "skjermede_navansatte_og_familiemedlemmer" -> Optional.of(Advice.DENY_EGEN_ANSATT); + case "adressebeskyttelse_fortrolig_adresse" -> Optional.of(Advice.DENY_KODE_7); + case "adressebeskyttelse_strengt_fortrolig_adresse" -> Optional.of(Advice.DENY_KODE_6); + case "adressebeskyttelse_strengt_fortrolig_adresse_utland" -> Optional.of(Advice.DENY_KODE_6); default -> Optional.empty(); }; }