diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-05-24 08:18:35 +0200 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-05-24 08:18:35 +0200 |
commit | 6bd515d02b5d2c8bb81cf59a61962c6a8fbb84ef (patch) | |
tree | b432d7b70ed5d14a74045a07d7b67512f9290d7a /eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services | |
parent | 4499851b7f0e60e05640c77bfbdc3f93ac77b743 (diff) | |
download | EAAF-Components-6bd515d02b5d2c8bb81cf59a61962c6a8fbb84ef.tar.gz EAAF-Components-6bd515d02b5d2c8bb81cf59a61962c6a8fbb84ef.tar.bz2 EAAF-Components-6bd515d02b5d2c8bb81cf59a61962c6a8fbb84ef.zip |
update message-logging and remove explicit Logger implementation
Diffstat (limited to 'eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services')
-rw-r--r-- | eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java index 8e641338..6f416414 100644 --- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java @@ -25,7 +25,6 @@ package at.gv.egiz.eaaf.core.impl.idp.auth.services; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; -import java.util.Arrays; import javax.naming.ConfigurationException; import javax.servlet.http.HttpServletRequest; @@ -388,8 +387,16 @@ public class ProtocolAuthenticationService implements IProtocolAuthenticationSer String[] errorCodeParams = null; if (params == null) errorCodeParams = new String[] {}; - else - errorCodeParams = Arrays.copyOf(params, params.length, String[].class); + else { + errorCodeParams = new String[params.length]; + for (int i=0; i<params.length; i++) { + if (params[i] != null) + errorCodeParams[i] = params[i].toString(); + else + errorCodeParams[i] = "'null'"; + + } + } |