diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-03-31 11:11:50 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-03-31 11:11:50 +0200 |
commit | 492556d1b71d63b7d44a31d2f32cc424a3cc5400 (patch) | |
tree | 4f3b4439f01d6a239e2b3e19d9549e0d39b97813 /id/server/idserverlib/src/main/java | |
parent | 1dcf1c30e542cc4aa7791e7e429700bef207a565 (diff) | |
download | moa-id-spss-492556d1b71d63b7d44a31d2f32cc424a3cc5400.tar.gz moa-id-spss-492556d1b71d63b7d44a31d2f32cc424a3cc5400.tar.bz2 moa-id-spss-492556d1b71d63b7d44a31d2f32cc424a3cc5400.zip |
set default redirectTarget
Diffstat (limited to 'id/server/idserverlib/src/main/java')
-rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/RedirectServlet.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/RedirectServlet.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/RedirectServlet.java index 671151bbe..00acdc540 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/RedirectServlet.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/RedirectServlet.java @@ -70,7 +70,9 @@ public class RedirectServlet extends AuthServlet{ } else { try { - redirectTarget = oa.getAuthComponentOA().getTemplates().getBKUSelectionCustomization().getAppletRedirectTarget(); + String test = oa.getAuthComponentOA().getTemplates().getBKUSelectionCustomization().getAppletRedirectTarget(); + if (MiscUtil.isNotEmpty(test)) + redirectTarget = test; } catch (Exception e) { Logger.debug("Use default redirectTarget."); |