protected String retrieveClientName(final UserProfile profile) {
        var clientName = profile.getClientName();
        if (clientName == null) {
            clientName = "DEFAULT";
        }
        return clientName;
    }
<p>retrieveClientName.</p>

@param profile a {@link UserProfile} object
@return a {@link String} object
pac4j-core/src/main/java/org/pac4j/core/profile/ProfileManager.java