You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by md...@apache.org on 2014/11/21 09:27:41 UTC

[2/3] syncope git commit: [SYNCOPE-608] Add authentication event to LoggerController

[SYNCOPE-608] Add authentication event to LoggerController


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/577f98e4
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/577f98e4
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/577f98e4

Branch: refs/heads/1_2_X
Commit: 577f98e498a21fcaa355b65754ce5428d5e3db21
Parents: cd2d639
Author: Marco Di Sabatino Di Diodoro <md...@apache.org>
Authored: Wed Nov 19 12:04:02 2014 +0100
Committer: Marco Di Sabatino Di Diodoro <md...@apache.org>
Committed: Wed Nov 19 12:04:02 2014 +0100

----------------------------------------------------------------------
 .../apache/syncope/core/rest/controller/LoggerController.java  | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/577f98e4/core/src/main/java/org/apache/syncope/core/rest/controller/LoggerController.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/syncope/core/rest/controller/LoggerController.java b/core/src/main/java/org/apache/syncope/core/rest/controller/LoggerController.java
index 10447c8..a4e53b8 100644
--- a/core/src/main/java/org/apache/syncope/core/rest/controller/LoggerController.java
+++ b/core/src/main/java/org/apache/syncope/core/rest/controller/LoggerController.java
@@ -239,6 +239,12 @@ public class LoggerController extends AbstractTransactionalController<LoggerTO>
                     }
                 }
             }
+            
+            //SYNCOPE-608
+            final EventCategoryTO authenticationControllerEvents = new EventCategoryTO();
+            authenticationControllerEvents.setCategory("AuthenticationController");
+            authenticationControllerEvents.getEvents().add("login");
+            events.add(authenticationControllerEvents);
 
             events.add(new EventCategoryTO(EventCategoryType.PROPAGATION));
             events.add(new EventCategoryTO(EventCategoryType.SYNCHRONIZATION));