diff options
Diffstat (limited to 'id/server/idserverlib/src/main/java')
3 files changed, 8 insertions, 6 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java index 30585c413..a37026ab4 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java @@ -266,7 +266,8 @@ public class DispatcherServlet extends AuthServlet{ //request is a not valid interfederation response -> Restart local authentication } else if (protocolRequest != null && MiscUtil.isNotEmpty(protocolRequest.getRequestID())) { - Logger.info("PreProcessing of SSO interfederation response FAILED. Starting local authentication ..."); + Logger.info("Restart authentication with stored " + protocolRequest.requestedModule() + + " AuthnRequest for OnlineApplication " + protocolRequest.getOAURL()); //request is a new authentication request } else if (protocolRequest != null && diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/SSOManager.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/SSOManager.java index c2b9bab52..094cfa31f 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/SSOManager.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/SSOManager.java @@ -95,7 +95,7 @@ public class SSOManager { //check if IDP cookie is set String cookie = getValueFromCookie(httpReq, SSOINTERFEDERATION); if (MiscUtil.isNotEmpty(cookie)) { - Logger.info("Receive SSO request for interfederation IDP from Cookie " + cookie); + Logger.info("Receive SSO request for interfederated IDP from Cookie " + cookie); moaReq.setRequestedIDP(cookie); deleteCookie(httpReq, httpResp, SSOINTERFEDERATION); diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/PVP2XProtocol.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/PVP2XProtocol.java index 6527f03b5..db57b8cc3 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/PVP2XProtocol.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/PVP2XProtocol.java @@ -231,8 +231,8 @@ public class PVP2XProtocol implements IModulInfo, MOAIDAuthConstants { iReqSP.setInterfederationResponse(processedMsg); } else { - Logger.info("Receive NO valid SSO session from " + msg.getEntityID() - +". Switch to local authentication process ..."); + Logger.info("Interfederated IDP " + msg.getEntityID() + " has NO valid SSO session." + +". Switch back local authentication process ..."); SSOManager ssomanager = SSOManager.getInstance(); ssomanager.removeInterfederatedSSOIDP(msg.getEntityID(), request); @@ -590,8 +590,9 @@ public class PVP2XProtocol implements IModulInfo, MOAIDAuthConstants { msg.setSAMLMessage(SAML2Utils.asDOMDocument(samlResp).getDocumentElement()); return msg; - } else if (samlResp.getStatus().getStatusCode().getValue().equals(StatusCode.NO_PASSIVE_URI)) { - Logger.info("Interfederation IDP has no valid Single Sign-On session. Starting local authentication ..."); + } else { + Logger.debug("Receive StatusCode " + samlResp.getStatus().getStatusCode().getValue() + + " from interfederated IDP."); } |