aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/java
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-07-04 14:01:53 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-07-04 14:01:53 +0200
commitd4037454494f7aac6b4e60050104244a481930ca (patch)
tree4f3d618a51ed91d06b0d0cf6c10ee57d78abaaa0 /id/ConfigWebTool/src/main/java
parent667e2aa623bec0ccadf9c47d3c993e896ad5bc9a (diff)
downloadmoa-id-spss-d4037454494f7aac6b4e60050104244a481930ca.tar.gz
moa-id-spss-d4037454494f7aac6b4e60050104244a481930ca.tar.bz2
moa-id-spss-d4037454494f7aac6b4e60050104244a481930ca.zip
store OA businessservice identification type
Diffstat (limited to 'id/ConfigWebTool/src/main/java')
-rw-r--r--id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OATargetConfiguration.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OATargetConfiguration.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OATargetConfiguration.java
index 4036bc25f..e988cc292 100644
--- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OATargetConfiguration.java
+++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OATargetConfiguration.java
@@ -181,7 +181,9 @@ public class OATargetConfiguration implements IOnlineApplicationData {
num = num.substring(Constants.IDENIFICATIONTYPE_ERSB.length());
}
- IdentificationNumber idnumber = new IdentificationNumber();
+ IdentificationNumber idnumber = authoa.getIdentificationNumber();
+ if (idnumber == null)
+ idnumber = new IdentificationNumber();
if (getIdentificationType().equals(Constants.IDENIFICATIONTYPE_STORK)) {
idnumber.setValue(Constants.PREFIX_STORK + "AT" + "+" + num);