diff options
Diffstat (limited to 'bkucommon/src/main/java/at/gv/egiz/bku/slcommands')
-rw-r--r-- | bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/InfoboxReadCommandImpl.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/InfoboxReadCommandImpl.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/InfoboxReadCommandImpl.java index 4d64ae36..b6c89e5b 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/InfoboxReadCommandImpl.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/InfoboxReadCommandImpl.java @@ -371,12 +371,12 @@ public class InfoboxReadCommandImpl extends SLCommandImpl<InfoboxReadRequestType infoboxReadRequest = new InfoboxReadRequest();
infoboxReadRequest.setInfoboxIdentifier("SecureSignatureKeypair");
stalRequests.add(infoboxReadRequest);
-
infoboxReadRequest = new InfoboxReadRequest();
infoboxReadRequest.setInfoboxIdentifier("CertifiedKeypair");
stalRequests.add(infoboxReadRequest);
requestSTAL(stalRequests);
+ log.trace("Got STAL response");
IdentityLink identityLink = getIdentityLinkFromResponses();
List<X509Certificate> certificates = getCertificatesFromResponses();
@@ -413,10 +413,12 @@ public class InfoboxReadCommandImpl extends SLCommandImpl<InfoboxReadRequestType Result xmlResult = (isXMLEntity || identityLinkDomainIdentifier != null)
? result.getXmlResult(true)
: new StreamResult((resultBytes = new ByteArrayOutputStream()));
- try {
+ try { + log.trace("Trying to transform identitylink");
identityLinkTransformer.transformIdLink(issuerTemplate, new DOMSource(document), xmlResult);
} catch (IOException e) {
- // we should not get an IOException as we are writing into a DOMResult
+ // we should not get an IOException as we are writing into a DOMResult + log.warn("Failed to transform idlink",e);
throw new SLRuntimeException(e);
} catch (TransformerException e) {
log.info("Faild to transform CompressedIdentityLink.", e);
|