aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-06-13 11:32:08 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-06-13 11:32:08 +0200
commitc63432f4e29244a0550221dcb982e7696538a471 (patch)
tree8c2f5f00701ed377394be6bfcc3c67f7397aa9ea
parent18aa548b45c1a3eb1ca91cc06d53c6c8e4d1feee (diff)
downloadmoa-id-spss-c63432f4e29244a0550221dcb982e7696538a471.tar.gz
moa-id-spss-c63432f4e29244a0550221dcb982e7696538a471.tar.bz2
moa-id-spss-c63432f4e29244a0550221dcb982e7696538a471.zip
print errormessage to browser if pendingRequestID is empty
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/AuthServlet.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/AuthServlet.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/AuthServlet.java
index 8a5782bcf..e5b2c598c 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/AuthServlet.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/AuthServlet.java
@@ -78,6 +78,7 @@ import at.gv.egovernment.moa.id.storage.DBExceptionStoreImpl;
import at.gv.egovernment.moa.id.storage.IExceptionStore;
import at.gv.egovernment.moa.id.util.ServletUtils;
import at.gv.egovernment.moa.logging.Logger;
+import at.gv.egovernment.moa.util.MiscUtil;
import at.gv.egovernment.moa.util.URLDecoder;
/**
@@ -197,7 +198,7 @@ public class AuthServlet extends HttpServlet implements MOAIDAuthConstants {
IExceptionStore store = DBExceptionStoreImpl.getStore();
String id = store.storeException(exceptionThrown);
- if (id != null) {
+ if (id != null && MiscUtil.isNotEmpty(pendingRequestID)) {
String redirectURL = null;