@Override
    public void setAddress(@Nonnull JID address){
        if (address.getResource() == null) {
            throw new IllegalArgumentException("Address is not a full JID: " + address);
        }
        super.setAddress(address);
    }
Initialize the session with a valid authentication token and
resource name. This automatically upgrades the session's
status to authenticated and enables many features that are not
available until authenticated (obtaining managers for example).

@param auth the authentication token obtained from the AuthFactory.
@param resource the resource this session authenticated under.
xmppserver/src/main/java/org/jivesoftware/openfire/session/LocalClientSession.java