public void removeAuthenticationAttribute(final String key) {
        CommonHelper.assertNotNull("key", key);
        authenticationAttributes.remove(key);
    }
{@inheritDoc}

Remove an authentication attribute by its key
pac4j-core/src/main/java/org/pac4j/core/profile/BasicUserProfile.java