diff options
Diffstat (limited to 'eaaf_core/src/main/java')
2 files changed, 8 insertions, 6 deletions
diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/IAuthenticationManager.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/IAuthenticationManager.java index 10cdad8f..27045604 100644 --- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/IAuthenticationManager.java +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/IAuthenticationManager.java @@ -36,11 +36,10 @@ import at.gv.egiz.eaaf.core.exceptions.EAAFException; public interface IAuthenticationManager { - //TODO - public static int EVENT_AUTHENTICATION_PROCESS_FOR_SP = -1; - public static int EVENT_AUTHENTICATION_PROCESS_STARTED = -1; - public static int EVENT_AUTHENTICATION_PROCESS_FINISHED = -1; - public static int EVENT_AUTHENTICATION_PROCESS_ERROR = -1; + public static int EVENT_AUTHENTICATION_PROCESS_FOR_SP = 4003; + public static int EVENT_AUTHENTICATION_PROCESS_STARTED = 4000; + public static int EVENT_AUTHENTICATION_PROCESS_FINISHED = 4001; + public static int EVENT_AUTHENTICATION_PROCESS_ERROR = 4002; /** diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/tasks/FinalizeAuthenticationTask.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/tasks/FinalizeAuthenticationTask.java index ad187a91..6934f121 100644 --- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/tasks/FinalizeAuthenticationTask.java +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/tasks/FinalizeAuthenticationTask.java @@ -34,6 +34,7 @@ import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import at.gv.egiz.eaaf.core.api.data.EAAFConstants; +import at.gv.egiz.eaaf.core.api.idp.auth.IAuthenticationManager; import at.gv.egiz.eaaf.core.api.idp.process.ExecutionContext; import at.gv.egiz.eaaf.core.exceptions.EAAFException; import at.gv.egiz.eaaf.core.exceptions.TaskExecutionException; @@ -63,7 +64,9 @@ public class FinalizeAuthenticationTask extends AbstractAuthServletTask { log.info("AuthProcess finished. Redirect to Protocol Dispatcher."); performRedirectToProtocolFinialization(pendingReq, response); - + + revisionsLogger.logEvent(pendingReq, IAuthenticationManager.EVENT_AUTHENTICATION_PROCESS_FINISHED); + } catch (EAAFException e) { throw new TaskExecutionException(pendingReq, e.getMessage(), e); |