diff options
author | tknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2008-03-04 13:18:44 +0000 |
---|---|---|
committer | tknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2008-03-04 13:18:44 +0000 |
commit | 364cb2a6dc344804504636df7b890793a44077d6 (patch) | |
tree | fe91ca9b924f75edc7ff614543699774824a9df3 /src/main/java/at/knowcenter | |
parent | d85b325b85ccec65e86c02bf3373a334e3e68472 (diff) | |
download | pdf-as-3-364cb2a6dc344804504636df7b890793a44077d6.tar.gz pdf-as-3-364cb2a6dc344804504636df7b890793a44077d6.tar.bz2 pdf-as-3-364cb2a6dc344804504636df7b890793a44077d6.zip |
SignatureProfile extended in order to retrieve further profile information via API call.
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@251 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/knowcenter')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java | 4 | ||||
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/EnvelopedBase64BKUConnector.java | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java index fc58bd1..cd67c95 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java @@ -189,7 +189,7 @@ public class SignatureObject implements Serializable /**
* Filters the issuer name in order to find matches.
* @author tknall
- * @see {@link normalizeIssuer}
+ * @see #normalizeIssuer
*/
private LDAPIssuerNameFilter issuerNameFilter = new LDAPIssuerNameFilter() {
public Name applyFilter(Name name) {
@@ -1056,7 +1056,7 @@ public class SignatureObject implements Serializable * comparison with registered ldap mappings.)
* @param issuer The issuer.
* @return normalized issuer
- * @see {@link issuerNameFilter}
+ * @see #issuerNameFilter
* @author tknall
*/
private String normalizeIssuer(String issuer) {
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/EnvelopedBase64BKUConnector.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/EnvelopedBase64BKUConnector.java index 742a9a8..40a7732 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/EnvelopedBase64BKUConnector.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/EnvelopedBase64BKUConnector.java @@ -313,6 +313,8 @@ public class EnvelopedBase64BKUConnector implements Connector, LocalConnector String verify_request_xml = verify_request_template.replaceFirst(TemplateReplaces.XML_CONTENT_REPLACE, xml_content);
+// log.debug("\r\n\r\n" + verify_request_xml + "\r\n\r\n");
+
return verify_request_xml;
}
@@ -487,11 +489,15 @@ public class EnvelopedBase64BKUConnector implements Connector, LocalConnector String verify_request_filename = getConnectorValueFromProfile(settings, profile, VERIFY_REQUEST_TEMPLATE_KEY);
this.verify_request_template = FileHelper.readFromFile(SettingsReader.relocateFile(verify_request_filename));
+ log.debug("Verify request template filename = " + verify_request_filename);
+
if (this.verify_request_template == null)
{
throw new ConnectorException(ErrorCode.SETTING_NOT_FOUND, "Can not read the verify xml request template"); //$NON-NLS-1$
}
+ log.debug("Verify request template = " + this.verify_request_template);
+
String verify_filename = getConnectorValueFromProfile(settings, profile, VERIFY_TEMPLATE_KEY);
this.verify_template = FileHelper.readFromFile(SettingsReader.relocateFile(verify_filename));
if (this.verify_template == null)
|