public boolean updateUserProperties()

in src/main/java/org/apache/sling/auth/saml2/impl/Saml2UserMgtServiceImpl.java [182:194]


    public boolean updateUserProperties(Saml2User user) {
        try {
            User jcrUser = (User) this.userManager.getAuthorizable(user.getId());
            for (Map.Entry<String,String> entry : user.getUserProperties().entrySet()) {
                jcrUser.setProperty(entry.getKey(), vf.createValue(entry.getValue()));
            }
            session.save();
            return true;
        } catch (RepositoryException e) {
            logger.error("User Properties could not synchronize", e);
            return false;
        }
    }