On Thu, Jan 10, 2013 at 11:00:06AM +0100, Marco Giusti wrote: [cut] > > Can't you use `Portal.login` interfaces paramenter? I think you have two > different entry points for local and application accounts, so: > > # login as local account > portal.login('john', None, ILocalHomeFolder) > # login as application account > portal.login('john', None, IApplicationLogic)
here the credentials are not just a plain string, but an object that provides ICredentials. _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python