diff --git a/src/main/java/io/statnett/k3a/authz/ldap/AuthorizationResultOverrider.java b/src/main/java/io/statnett/k3a/authz/ldap/AuthorizationResultOverrider.java index 6a8818b..97cb86a 100644 --- a/src/main/java/io/statnett/k3a/authz/ldap/AuthorizationResultOverrider.java +++ b/src/main/java/io/statnett/k3a/authz/ldap/AuthorizationResultOverrider.java @@ -62,7 +62,7 @@ private static void overrideResultsByGroup(final Authorizer authorizer, final Au final AuthorizationResult alternativeResult = authorize(authorizer, groupsForUser, action); if (alternativeResult != originalResult && (alternativeResult == AuthorizationResult.ALLOWED || alternativeResult == AuthorizationResult.DENIED)) { results.set(q, alternativeResult); - LOG.info("*** Overriding " + originalResult + ", changing to " + alternativeResult + " due to matching group rule for \"" + principal + "\""); + LOG.info("*** Overriding " + originalResult + ", changing to " + alternativeResult + " due to matching group rule for \"" + principal + "\" on \"" + action.resourcePattern().name() + "\""); } } }