@Override
    public boolean isAnonymousUser() {
        return authToken == null || authToken.isAnonymous();
    }
Returns the authentication token associated with this session.

@return the authentication token associated with this session (can be null).
xmppserver/src/main/java/org/jivesoftware/openfire/session/LocalClientSession.java