@Override
    public Set<String> getRoles() {
        return new LinkedHashSet<>(this.roles);
    }
{@inheritDoc}

Get the roles of the user.
pac4j-core/src/main/java/org/pac4j/core/profile/BasicUserProfile.java