public void addAuthenticationAttributes(final Map<String, Object> attributeMap) {
        if (attributeMap != null) {
            for (val entry : attributeMap.entrySet()) {
                addAuthenticationAttribute(entry.getKey(), entry.getValue());
            }
        }
    }
Add authentication attributes.

@param attributeMap the authentication attributes
pac4j-core/src/main/java/org/pac4j/core/profile/BasicUserProfile.java