Skip to content
Snippets Groups Projects
Commit 7af76099 authored by srosse's avatar srosse
Browse files

OO-954: re-init the activity logger in the shibboleth dispatcher

parent 48f507b6
No related branches found
No related tags found
No related merge requests found
......@@ -55,6 +55,7 @@ import org.olat.core.logging.OLATRuntimeException;
import org.olat.core.logging.OLATSecurityException;
import org.olat.core.logging.OLog;
import org.olat.core.logging.Tracing;
import org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller;
import org.olat.core.util.Util;
import org.olat.core.util.WebappHelper;
import org.olat.core.util.i18n.I18nModule;
......@@ -144,6 +145,10 @@ public class ShibbolethDispatcher implements Dispatcher{
redirectToShibbolethRegistration(resp);
return;
}
if(ureq.getUserSession() != null) {
//re-init the activity logger
ThreadLocalUserActivityLoggerInstaller.initUserActivityLogger(req);
}
int loginStatus = AuthHelper.doLogin(auth.getIdentity(), ShibbolethDispatcher.PROVIDER_SHIB, ureq);
if (loginStatus != AuthHelper.LOGIN_OK) {
if (loginStatus == AuthHelper.LOGIN_NOTAVAILABLE) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment