diff options
Diffstat (limited to 'eidas_modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas')
-rw-r--r-- | eidas_modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/ProxyServiceAuthenticationAction.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eidas_modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/ProxyServiceAuthenticationAction.java b/eidas_modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/ProxyServiceAuthenticationAction.java index 9de2eb79..5d184cc8 100644 --- a/eidas_modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/ProxyServiceAuthenticationAction.java +++ b/eidas_modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/ProxyServiceAuthenticationAction.java @@ -214,7 +214,9 @@ public class ProxyServiceAuthenticationAction implements IAction { eidAuthData.getGenericData(MsProxyServiceConstants.ATTR_EIDAS_PERSONAL_IDENTIFIER, String.class)); attributeMap.put(attrDefFamilyName, eidAuthData.getFamilyName()); attributeMap.put(attrDefGivenName, eidAuthData.getGivenName()); - attributeMap.put(attrDefDateOfBirth, eidAuthData.getFormatedDateOfBirth()); + + //TODO: throw an error in case of SZR Date with month or day = "00" + attributeMap.put(attrDefDateOfBirth, eidAuthData.getDateOfBirth()); } @@ -234,7 +236,9 @@ public class ProxyServiceAuthenticationAction implements IAction { eidAuthData.getGenericData(MsProxyServiceConstants.ATTR_EIDAS_PERSONAL_IDENTIFIER, String.class)) .put(attrDefFamilyName, eidAuthData.getFamilyName()) .put(attrDefGivenName, eidAuthData.getGivenName()) - .put(attrDefDateOfBirth, eidAuthData.getFormatedDateOfBirth()); + + //TODO: throw an error in case of SZR Date with month or day = "00" + .put(attrDefDateOfBirth, eidAuthData.getDateOfBirth()); return attributeMap.build(); |