public Map<String, String> configureAttributeNameFormats() {
        if (this.attributeNameFormats.isEmpty()) {
            return new HashMap<>();
        }
        val nameFormats = new HashMap<String, String>();
        this.attributeNameFormats
            .forEach(value -> Arrays.stream(value.split(","))
                .forEach(format -> {
                    val values = Splitter.on("->").splitToList(format);

                    if (values.size() == 2) {
                        nameFormats.put(values.getFirst(), values.get(1));
                    }
                }));
        return nameFormats;
    }
Configure attribute name formats and build a map.

@return the map
api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/model/support/saml/idp/SamlIdPResponseProperties.java