Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit a5e772e

Browse files
committed
Removed logging info about login
1 parent 85b0b32 commit a5e772e

File tree

2 files changed

+2
-24
lines changed

2 files changed

+2
-24
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
All notable changes to this project will be documented in this file.
33

44
## [Unreleased]
5+
#### Removed
6+
- Removed logging info about login in Statistics Process filter
57

68
## [v4.0.0]
79
#### Added

lib/Auth/Process/Statistics.php

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -24,29 +24,5 @@ public function process(&$request)
2424
$dateTime = new DateTime();
2525
$dbCmd = new DatabaseCommand();
2626
$dbCmd->insertLogin($request, $dateTime);
27-
$spEntityId = $request['SPMetadata']['entityid'];
28-
29-
$eduPersonUniqueId = '';
30-
$sourceIdPEppn = '';
31-
$sourceIdPEntityId = '';
32-
33-
if (isset($request['Attributes']['eduPersonUniqueId'][0])) {
34-
$eduPersonUniqueId = $request['Attributes']['eduPersonUniqueId'][0];
35-
}
36-
if (isset($request['Attributes']['sourceIdPEppn'][0])) {
37-
$sourceIdPEppn = $request['Attributes']['sourceIdPEppn'][0];
38-
}
39-
if (isset($request['Attributes']['sourceIdPEntityID'][0])) {
40-
$sourceIdPEntityId = $request['Attributes']['sourceIdPEntityID'][0];
41-
}
42-
43-
if (isset($request['perun']['user'])) {
44-
$user = $request['perun']['user'];
45-
Logger::notice('UserId: ' . $user->getId() . ', identity: ' . $eduPersonUniqueId . ', service: '
46-
. $spEntityId . ', external identity: ' . $sourceIdPEppn . ' from ' . $sourceIdPEntityId);
47-
} else {
48-
Logger::notice('User identity: ' . $eduPersonUniqueId . ', service: ' . $spEntityId .
49-
', external identity: ' . $sourceIdPEppn . ' from ' . $sourceIdPEntityId);
50-
}
5127
}
5228
}

0 commit comments

Comments
 (0)