private void syncUserAttributes()

in src/main/java/org/apache/sling/auth/saml2/impl/AuthenticationHandlerSAML2Impl.java [525:533]


    private void syncUserAttributes(Attribute attribute, Saml2User saml2User, String propertyName) {
        for (XMLObject attributeValue : attribute.getAttributeValues()) {
            if (((XSString) attributeValue).getValue() != null ) {
                saml2User.addUserProperty(propertyName, attributeValue);
                logger.debug("sync attr name: {}", propertyName);
                logger.debug("attribute value: {}", ((XSString) attributeValue).getValue());
            }
        }
    }