public void setUsername(String username) {
        this.username = username;
        saveProperties();
    }
Sets the username used to connect to the database. In some cases, a
username is not needed so null should be passed in.

@param username the username used to connect to the database.
xmppserver/src/main/java/org/jivesoftware/database/DefaultConnectionProvider.java