aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-03-31 13:06:30 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-03-31 13:06:30 +0200
commit578f88516c9b2b3d61d19cd82a821b9c85a573d1 (patch)
treefe53e34fb4d487834f3f5a97249b3bae8cc5e670 /id/server/idserverlib
parent70bdabb832f10bc10acfe96410d5530d0c601a53 (diff)
downloadmoa-id-spss-578f88516c9b2b3d61d19cd82a821b9c85a573d1.tar.gz
moa-id-spss-578f88516c9b2b3d61d19cd82a821b9c85a573d1.tar.bz2
moa-id-spss-578f88516c9b2b3d61d19cd82a821b9c85a573d1.zip
redirect to MOA-ID-Auth if redirectURL is not valid.
Diffstat (limited to 'id/server/idserverlib')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/LogOutServlet.java4
1 files changed, 2 insertions, 2 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 a11601daa..fc4ec305d 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
@@ -94,8 +94,8 @@ public class LogOutServlet extends AuthServlet {
//return an error if RedirectURL is not a active Online-Applikation
OnlineApplication oa = ConfigurationDBRead.getActiveOnlineApplication(redirectUrl);
if (oa == null) {
- resp.sendError(HttpServletResponse.SC_FORBIDDEN, "Parameters not valid");
- return;
+ Logger.info("RedirctURL does not match to OA configuration. Set default RedirectURL back to MOA-ID-Auth");
+ redirectUrl = AuthConfigurationProvider.getInstance().getPublicURLPrefix();
}