private void setUserId()

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


    private void setUserId(Attribute attribute, Saml2User saml2User) {
        logger.debug("username attr name: {}", attribute.getName());
        for (XMLObject attributeValue : attribute.getAttributeValues()) {
            if ( ((XSString) attributeValue).getValue() != null ) {
                saml2User.setId( ((XSString) attributeValue).getValue());
                logger.debug("username value: {}", saml2User.getId());
            }
        }
    }