@Override
    public String getUsername() throws UserNotFoundException {
        if (authToken == null) {
            throw new UserNotFoundException();
        }
        return getAddress().getNode();
    }
Returns the username associated with this session. Use this information
with the user manager to obtain the user based on username.

@return the username associated with this session
@throws org.jivesoftware.openfire.user.UserNotFoundException if a user is not associated with a session
     (the session has not authenticated yet)
xmppserver/src/main/java/org/jivesoftware/openfire/session/LocalClientSession.java