diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-10-21 10:29:05 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-10-21 10:29:05 +0200 |
commit | 5dbee52cb48c037c54b6b4bb3a838575b95424ca (patch) | |
tree | 79626bf7195f2fc36a164e321db4bd54c275d343 /id/server/idserverlib/src/main/java/at/gv | |
parent | eb283ed27fce8769886fd124ef1e7938f206d1f3 (diff) | |
download | moa-id-spss-5dbee52cb48c037c54b6b4bb3a838575b95424ca.tar.gz moa-id-spss-5dbee52cb48c037c54b6b4bb3a838575b95424ca.tar.bz2 moa-id-spss-5dbee52cb48c037c54b6b4bb3a838575b95424ca.zip |
update log messages and clean-up classes
Diffstat (limited to 'id/server/idserverlib/src/main/java/at/gv')
3 files changed, 4 insertions, 6 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/SignatureVerificationUtils.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/SignatureVerificationUtils.java index ec94101d1..ac93d7af9 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/SignatureVerificationUtils.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/SignatureVerificationUtils.java @@ -36,7 +36,6 @@ import at.gv.egovernment.moa.id.auth.exception.ServiceException; import at.gv.egovernment.moa.id.auth.invoke.SignatureVerificationInvoker; import at.gv.egovernment.moa.id.auth.parser.VerifyXMLSignatureResponseParser; import at.gv.egovernment.moa.id.commons.api.exceptions.MOAIDException; -import at.gv.egovernment.moa.logging.Logger; import at.gv.egovernment.moa.util.Base64Utils; import at.gv.egovernment.moa.util.Constants; @@ -91,11 +90,11 @@ public class SignatureVerificationUtils { return verifyXMLSignatureResponse; } catch (ParseException e) { - Logger.error("Build signature-verification request FAILED." ,e); + //Logger.error("Build signature-verification request FAILED." ,e); throw e; } catch (ServiceException e) { - Logger.error("MOA-SP signature verification FAILED." ,e); + //Logger.error("MOA-SP signature verification FAILED." ,e); throw e; } diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/verification/metadata/MOASPMetadataSignatureFilter.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/verification/metadata/MOASPMetadataSignatureFilter.java index 6e97913bf..2457d2fe4 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/verification/metadata/MOASPMetadataSignatureFilter.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/verification/metadata/MOASPMetadataSignatureFilter.java @@ -105,7 +105,8 @@ public class MOASPMetadataSignatureFilter implements MetadataFilter { Logger.debug("SAML metadata for entityID:" + entityDes.getEntityID() + " is valid"); } catch (MOAIDException | TransformerFactoryConfigurationError | TransformerException | IOException e) { - Logger.error("Metadata verification has an interal error.", e); + Logger.error("Metadata verification for Entity:" + entityDes.getEntityID() + + " has an interal error.", e); throw new FilterException("Metadata verification has an interal error." + " Message:" + e.getMessage()); diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/RedisTransactionStorage.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/RedisTransactionStorage.java index c17bff358..2b9a6656b 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/RedisTransactionStorage.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/RedisTransactionStorage.java @@ -38,11 +38,9 @@ import org.springframework.data.redis.core.RedisTemplate; import org.springframework.data.redis.core.SessionCallback; import org.springframework.data.redis.serializer.JacksonJsonRedisSerializer; import org.springframework.stereotype.Service; -import org.springframework.transaction.annotation.Transactional; import at.gv.egovernment.moa.id.auth.exception.AuthenticationException; import at.gv.egovernment.moa.id.commons.api.AuthConfiguration; -import at.gv.egovernment.moa.id.commons.db.MOASessionDBUtils; import at.gv.egovernment.moa.id.commons.db.dao.session.AssertionStore; import at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException; import at.gv.egovernment.moa.logging.Logger; |