diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-03-21 12:24:54 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-03-21 12:24:54 +0100 |
commit | 50f5f5d72d5165c124bd13b62529e3faf11b3d18 (patch) | |
tree | d44c0b836866aedeb07ace7a7013df895ae046e3 | |
parent | 402cfcf7e5a8f3bb040ebe9fae5904c202e1e94f (diff) | |
download | moa-id-spss-50f5f5d72d5165c124bd13b62529e3faf11b3d18.tar.gz moa-id-spss-50f5f5d72d5165c124bd13b62529e3faf11b3d18.tar.bz2 moa-id-spss-50f5f5d72d5165c124bd13b62529e3faf11b3d18.zip |
fix problem in demo-OA
-rw-r--r-- | id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/DemoApplication.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/DemoApplication.java b/id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/DemoApplication.java index b0653085b..cfc170011 100644 --- a/id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/DemoApplication.java +++ b/id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/DemoApplication.java @@ -213,13 +213,12 @@ public class DemoApplication extends HttpServlet { String strAttributeName = attributes.get(x).getDOM().getAttribute("Name"); if (strAttributeName.equals(PVPConstants.PRINCIPAL_NAME_NAME)) - familyName = attributes.get(x).getAttributeValues().get(0).getDOM().getNodeValue(); - + familyName = attributes.get(x).getAttributeValues().get(0).getDOM().getFirstChild().getNodeValue(); if (strAttributeName.equals(PVPConstants.GIVEN_NAME_NAME)) - givenName = attributes.get(x).getAttributeValues().get(0).getDOM().getNodeValue(); + givenName = attributes.get(x).getAttributeValues().get(0).getDOM().getFirstChild().getNodeValue(); if (strAttributeName.equals(PVPConstants.BIRTHDATE_NAME)) { - birthday = attributes.get(x).getAttributeValues().get(0).getDOM().getNodeValue(); + birthday = attributes.get(x).getAttributeValues().get(0).getDOM().getFirstChild().getNodeValue(); } } } |