From fb80bc75f678f6cb306cdabff0583d2922c0610c Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Mon, 12 Oct 2015 16:10:52 +0200 Subject: fix some problems in DispatcherServlet --- .../moa/id/protocols/oauth20/protocol/OAuth20AuthAction.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'id/server/modules/moa-id-module-openID/src') diff --git a/id/server/modules/moa-id-module-openID/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/protocol/OAuth20AuthAction.java b/id/server/modules/moa-id-module-openID/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/protocol/OAuth20AuthAction.java index d90df51e7..94a1d14d0 100644 --- a/id/server/modules/moa-id-module-openID/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/protocol/OAuth20AuthAction.java +++ b/id/server/modules/moa-id-module-openID/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/protocol/OAuth20AuthAction.java @@ -110,7 +110,8 @@ class OAuth20AuthAction implements IAction { return sloInformation; } catch (Exception e) { - + Logger.warn("An error occur during OpenID-Connect idToken generation.", e); + //remove OAuthSessionObject if it already exists if (AssertionStorage.getInstance().containsKey(code)) { AssertionStorage.getInstance().remove(code); -- cgit v1.2.3