aboutsummaryrefslogtreecommitdiff
path: root/id
diff options
context:
space:
mode:
Diffstat (limited to 'id')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/AuthenticationDataBuilder.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/AuthenticationDataBuilder.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/AuthenticationDataBuilder.java
index 922825e3a..3e6308bf6 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/AuthenticationDataBuilder.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/AuthenticationDataBuilder.java
@@ -117,9 +117,12 @@ public class AuthenticationDataBuilder extends AbstractAuthenticationDataBuilder
encKeyMap.put(el.getKey(), new X509Certificate(Base64Utils.decode(el.getValue(), false)));
Logger.info("Load foreign bPK encryption certificate for sector: " + el.getKey());
- } catch (Exception e) {
- Logger.warn("Can NOT load foreign bPK encryption certificate for sector: \" + el.getKey()", e);
-
+ } catch (Exception e) {
+ if (Logger.isDebugEnabled())
+ Logger.warn("Can NOT load foreign bPK encryption certificate for sector: " + el.getKey(), e);
+ else
+ Logger.info("Can NOT load foreign bPK encryption certificate for sector: " + el.getKey());
+
}
}