aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2013-09-19 07:54:59 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2013-09-19 07:54:59 +0200
commit2c7d70f182b554321b6baf3e225139a883d61035 (patch)
tree8d47f31f262ff39804e2de709806db6ce0850dc1 /id/server/idserverlib
parent7625168308b648dab99db5c99c9de09b173ed05c (diff)
downloadmoa-id-spss-2c7d70f182b554321b6baf3e225139a883d61035.tar.gz
moa-id-spss-2c7d70f182b554321b6baf3e225139a883d61035.tar.bz2
moa-id-spss-2c7d70f182b554321b6baf3e225139a883d61035.zip
BugFix: Contact information does not shown in Metadata
Diffstat (limited to 'id/server/idserverlib')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java
index 44d580b7b..e87d360f2 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java
@@ -48,6 +48,7 @@ import javax.xml.bind.JAXBContext;
import javax.xml.bind.Marshaller;
import javax.xml.bind.Unmarshaller;
+import org.apache.commons.io.CopyUtils;
import org.hibernate.cfg.Configuration;
@@ -495,10 +496,11 @@ public class AuthConfigurationProvider extends ConfigurationProvider {
Contact c = new Contact();
c.setCompany(e.getCompany());
c.setGivenName(e.getGivenName());
- c.setMail(e.getMail());
- c.setPhone(e.getPhone());
+ c.getMail().addAll(e.getMail());
+ c.getPhone().addAll(e.getPhone());
c.setSurName(e.getSurName());
c.setType(e.getType());
+ cont.add(c);
}
}
}