aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-03-25 16:43:37 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-03-25 16:43:37 +0100
commit4fab897a09af461e55f5f20e0501e028446ba972 (patch)
tree5f5d693661e834435960409291611534804ff848
parent57dc8784639a1e194e3c7e6b6af107faa8f4d325 (diff)
downloadmoa-id-spss-4fab897a09af461e55f5f20e0501e028446ba972.tar.gz
moa-id-spss-4fab897a09af461e55f5f20e0501e028446ba972.tar.bz2
moa-id-spss-4fab897a09af461e55f5f20e0501e028446ba972.zip
change default redirect URL
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/LogOutServlet.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/LogOutServlet.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/LogOutServlet.java
index 800393b30..84732d4ce 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/LogOutServlet.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/LogOutServlet.java
@@ -82,10 +82,11 @@ public class LogOutServlet extends AuthServlet {
//get SSO token from request
String ssoid = ssomanager.getSSOSessionID(req);
- if (MiscUtil.isEmpty(redirectUrl))
+ if (MiscUtil.isEmpty(redirectUrl)) {
//set default redirect Target
Logger.debug("Set default RedirectURL back to MOA-ID-Auth");
redirectUrl = AuthConfigurationProvider.getInstance().getPublicURLPrefix();
+ }
if (ssomanager.isValidSSOSession(ssoid, req)) {