protected String getConfiguredUserNameAttribute() {
        // If configured explicitly use it
        if (this.unmappedUsernameAttribute != null) {
            return this.unmappedUsernameAttribute;
        }

        final IUsernameAttributeProvider usernameAttributeProvider =
                this.getUsernameAttributeProvider();
        return usernameAttributeProvider.getUsernameAttribute();
    }
protected String getConfiguredUserNameAttribute ( ) { if ( this . unmappedUsernameAttribute != null ) { return this . unmappedUsernameAttribute ; } final IUsernameAttributeProvider usernameAttributeProvider = this . getUsernameAttributeProvider ( ) ; return usernameAttributeProvider . getUsernameAttribute ( ) ; }
@return The appropriate attribute to user for the user name. Since {@link
#getDefaultAttributeName()} should never return null this method should never return null
either.