aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java/at/gv
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-05-09 13:07:40 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-05-09 13:07:40 +0200
commitee87dced5b54e34ba65686b0a6c19b6745753e15 (patch)
tree2cebe45cf088a3886d865fe0324159c58acc0d88 /id/server/idserverlib/src/main/java/at/gv
parent52974bce31be3803fb6e6525404998757cb8310e (diff)
downloadmoa-id-spss-ee87dced5b54e34ba65686b0a6c19b6745753e15.tar.gz
moa-id-spss-ee87dced5b54e34ba65686b0a6c19b6745753e15.tar.bz2
moa-id-spss-ee87dced5b54e34ba65686b0a6c19b6745753e15.zip
change logging
Diffstat (limited to 'id/server/idserverlib/src/main/java/at/gv')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java3
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/SSOManager.java2
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/PVP2XProtocol.java9
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.");
}