This repository was archived by the owner on Sep 19, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-24
lines changed
Expand file tree Collapse file tree 2 files changed +2
-24
lines changed Original file line number Diff line number Diff line change 22All 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
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments