Skip to content
Snippets Groups Projects
Commit 07c42cfc authored by srosse's avatar srosse
Browse files

OO-266: fix double redirect on the same request/output stream of tomcat if...

OO-266: fix double redirect on the same request/output stream of tomcat if login in blocked with Shibboleth
parent 3bebf848
No related branches found
No related tags found
No related merge requests found
...@@ -134,8 +134,9 @@ public class ShibbolethDispatcher implements Dispatcher{ ...@@ -134,8 +134,9 @@ public class ShibbolethDispatcher implements Dispatcher{
if (loginStatus != AuthHelper.LOGIN_OK) { if (loginStatus != AuthHelper.LOGIN_OK) {
if (loginStatus == AuthHelper.LOGIN_NOTAVAILABLE) { if (loginStatus == AuthHelper.LOGIN_NOTAVAILABLE) {
DispatcherAction.redirectToServiceNotAvailable(resp); DispatcherAction.redirectToServiceNotAvailable(resp);
} else {
DispatcherAction.redirectToDefaultDispatcher(resp); // error, redirect to login screen
} }
DispatcherAction.redirectToDefaultDispatcher(resp); // error, redirect to login screen
return; return;
} }
......
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