aboutsummaryrefslogtreecommitdiff
path: root/id
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-01-25 12:45:00 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-01-25 12:45:00 +0100
commit947add2a36fccd78f376ffd450914c46ff280a50 (patch)
treee3a5f854d9bf5e499a5f93df291f41115e745be9 /id
parente2ca81976097a5f83183e091ec6a5c9a6afb5269 (diff)
downloadmoa-id-spss-947add2a36fccd78f376ffd450914c46ff280a50.tar.gz
moa-id-spss-947add2a36fccd78f376ffd450914c46ff280a50.tar.bz2
moa-id-spss-947add2a36fccd78f376ffd450914c46ff280a50.zip
update log message for PVP AuthnRequest signature validation
Diffstat (limited to 'id')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/validation/AbstractRequestSignedSecurityPolicyRule.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/validation/AbstractRequestSignedSecurityPolicyRule.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/validation/AbstractRequestSignedSecurityPolicyRule.java
index 31e960d59..f62410656 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/validation/AbstractRequestSignedSecurityPolicyRule.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/validation/AbstractRequestSignedSecurityPolicyRule.java
@@ -92,7 +92,7 @@ public abstract class AbstractRequestSignedSecurityPolicyRule implements Securit
throw e;
}
- Logger.debug("PVP2X message validation FAILED. Relead metadata for entityID: " + context.getInboundMessageIssuer());
+ Logger.debug("PVP2X message validation FAILED. Reload metadata for entityID: " + context.getInboundMessageIssuer());
if (!refreshMetadataProvider(context.getInboundMessageIssuer()))
throw e;
@@ -139,8 +139,10 @@ public abstract class AbstractRequestSignedSecurityPolicyRule implements Securit
throw new SecurityPolicyException("Signature validation FAILED.");
}
+ Logger.debug("PVP AuthnRequest signature valid.");
+
} catch (org.opensaml.xml.security.SecurityException e) {
- Logger.warn("PVP2x message signature validation FAILED.", e);
+ Logger.info("PVP2x message signature validation FAILED. Message:" + e.getMessage());
throw new SecurityPolicyException("Signature validation FAILED.");
}
@@ -149,6 +151,7 @@ public abstract class AbstractRequestSignedSecurityPolicyRule implements Securit
throw new SecurityPolicyException("Request is not signed.");
}
+
}
private void performSchemaValidation(Element source) throws SchemaValidationException {