private boolean allowResume() {
        boolean allow = false;
        // Ensure that resource binding has occurred.
        if (session instanceof ClientSession) {
            AuthToken authToken = ((LocalClientSession)session).getAuthToken();
            if (authToken != null) {
                if (!authToken.isAnonymous()) {
                    allow = true;
                }
            }
        }
        return allow;
    }
Should this session be allowed to resume?
This is used while processed <enable/> and <resume/>

@return True if the session is allowed to resume.
xmppserver/src/main/java/org/jivesoftware/openfire/streammanagement/StreamManager.java