From fd59ca1aea9776356032c998d121a5106196ffee Mon Sep 17 00:00:00 2001 From: Robert Lemke Date: Thu, 25 Aug 2022 07:42:37 +0200 Subject: [PATCH] Log OIDC messages to security log All log messages of this package are now logged to Flow's security log (`Security.log`) instead of using the standard system log (`System.log`). Resolves #47 --- Classes/Authentication/OpenIdConnectEntryPoint.php | 2 +- Classes/Authentication/OpenIdConnectProvider.php | 2 +- Classes/OpenIdConnectClient.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Classes/Authentication/OpenIdConnectEntryPoint.php b/Classes/Authentication/OpenIdConnectEntryPoint.php index f43b83b..32af653 100644 --- a/Classes/Authentication/OpenIdConnectEntryPoint.php +++ b/Classes/Authentication/OpenIdConnectEntryPoint.php @@ -17,7 +17,7 @@ final class OpenIdConnectEntryPoint extends AbstractEntryPoint { /** - * @Flow\Inject + * @Flow\Inject(name="Neos.Flow:SecurityLogger") * @var LoggerInterface */ protected $logger; diff --git a/Classes/Authentication/OpenIdConnectProvider.php b/Classes/Authentication/OpenIdConnectProvider.php index 57f58dc..5137017 100644 --- a/Classes/Authentication/OpenIdConnectProvider.php +++ b/Classes/Authentication/OpenIdConnectProvider.php @@ -39,7 +39,7 @@ final class OpenIdConnectProvider extends AbstractProvider protected $policyService; /** - * @Flow\Inject + * @Flow\Inject(name="Neos.Flow:SecurityLogger") * @var LoggerInterface */ protected $logger; diff --git a/Classes/OpenIdConnectClient.php b/Classes/OpenIdConnectClient.php index 7d7d076..5ba1332 100644 --- a/Classes/OpenIdConnectClient.php +++ b/Classes/OpenIdConnectClient.php @@ -55,7 +55,7 @@ final class OpenIdConnectClient protected $httpClient; /** - * @Flow\Inject + * @Flow\Inject(name="Neos.Flow:SecurityLogger") * @var LoggerInterface */ protected $logger;