protected void primary(final String name, final AttributeConverter converter) {
        primaryAttributes.add(name);
        converters.put(name, converter);
    }
Add an attribute as a primary one and its converter.

@param name name of the attribute
@param converter converter
pac4j-core/src/main/java/org/pac4j/core/profile/definition/ProfileDefinition.java