@JsonIgnore
    public Locale getLocale() {
        return getAttributeAsType(CommonProfileDefinition.LOCALE, Locale.class, null);
    }
Return the locale of the user.

@return the locale of the user
pac4j-core/src/main/java/org/pac4j/core/profile/CommonProfile.java