def setResourceForPortal(self, rsrc, port, logout):
        self.portalLogout(port)
        self.portals[port] = rsrc, logout
        return rsrc
Change the root-resource available to a user authenticating against a given
dataset/ETHPy150Open twisted/nevow/nevow/guard.py/GuardSession.setResourceForPortal