diff options
author | rpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2011-11-21 10:47:22 +0000 |
---|---|---|
committer | rpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2011-11-21 10:47:22 +0000 |
commit | 2184b208a36e100a71b2fe78d12df713182fb860 (patch) | |
tree | 18246a91c26e586c68a377717b7b5b56dfeb91ac /src/main/java | |
parent | 6e80cd5aea391262c90a13a6e77204ca6827be80 (diff) | |
download | pdf-as-3-2184b208a36e100a71b2fe78d12df713182fb860.tar.gz pdf-as-3-2184b208a36e100a71b2fe78d12df713182fb860.tar.bz2 pdf-as-3-2184b208a36e100a71b2fe78d12df713182fb860.zip |
Added two new chars to consider at the workaround introduced with the previous changes
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@882 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/SignSignatureObject.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/SignSignatureObject.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/SignSignatureObject.java index 74ced09..72f181e 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/SignSignatureObject.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/SignSignatureObject.java @@ -219,7 +219,9 @@ public class SignSignatureObject implements Serializable, MandatorySignatureInfo //------------------------------------------------------------------------------
//The workaround here is to call this.getX509Certificate().getSubjectDN.toString()
//instead of this.getX509Certificate().getSubjectDN.getName()
- if (this.getX509Certificate().getSubjectDN().toString().contains(";")) {
+ if (this.getX509Certificate().getSubjectDN().toString().contains(";") ||
+ this.getX509Certificate().getSubjectDN().toString().contains("#") ||
+ this.getX509Certificate().getSubjectDN().toString().contains("&")) {
fillDNMap(this.getX509Certificate().getSubjectDN().toString(), this.subjectDNMap);
}
else {
|