private static void copyAttributes()

in src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrProviderStateFactory.java [304:310]


    private static void copyAttributes(final SimpleCredentials target, final Map<String, Object> source) {
        for (Map.Entry<String, Object> current : source.entrySet()) {
            if (isAttributeVisible(current.getKey())) {
                target.setAttribute(current.getKey(), current.getValue());
            }
        }
    }