Re: [Twisted-Python] IUnicodeUsernamePassword?

2012-08-08 Thread Glyph
Le Aug 8, 2012 à 5:36 AM, Laurens Van Houtven <_...@lvh.cc> a écrit : > 2. Add an IUnicodeUsernamePassword interface and implementation, and leaving > adaptation to handle decoding/encoding. The downside here is that IIUC cred > does not try to adapt to the ICredentialsChecker's supported inter

Re: [Twisted-Python] twisted server config: command line, environment or Axiom?

2012-08-08 Thread Tristan Seligmann
On Wed, Aug 8, 2012 at 3:58 PM, Laurens Van Houtven <_...@lvh.cc> wrote: > (3) has the downside that it conflates user data with configuration data. I'm > not sure that's a good thing or not. It sounds very similar to axiomatic, > which I've heard of, seen, but never played with. As exarkun ment

Re: [Twisted-Python] twisted server config: command line, environment or Axiom?

2012-08-08 Thread exarkun
On 01:58 pm, _...@lvh.cc wrote: >Hi, > >I have a bunch of configuration for my service. Things like endpoints, >location of the root axiom store… Right now I grab these from the >environment. That means that my twistd IServiceMaker plugin's options >is pretty much by definition empty. > >I'm won

Re: [Twisted-Python] twisted server config: command line, environment or Axiom?

2012-08-08 Thread Kevin Horn
On Wed, Aug 8, 2012 at 8:58 AM, Laurens Van Houtven <_...@lvh.cc> wrote: > Hi, > > I have a bunch of configuration for my service. Things like endpoints, > location of the root axiom store… Right now I grab these from the > environment. That means that my twistd IServiceMaker plugin's options is >

Re: [Twisted-Python] twisted server config: command line, environment or Axiom?

2012-08-08 Thread Eric P. Mangold
On Wed, Aug 08, 2012 at 03:58:27PM +0200, Laurens Van Houtven wrote: > Hi, > > I have a bunch of configuration for my service. Things like endpoints, > location of the root axiom store? Right now I grab these from the > environment. That means that my twistd IServiceMaker plugin's options is >

[Twisted-Python] twisted server config: command line, environment or Axiom?

2012-08-08 Thread Laurens Van Houtven
Hi, I have a bunch of configuration for my service. Things like endpoints, location of the root axiom store… Right now I grab these from the environment. That means that my twistd IServiceMaker plugin's options is pretty much by definition empty. I'm wondering if more mature twistd users have

[Twisted-Python] IUnicodeUsernamePassword?

2012-08-08 Thread Laurens Van Houtven
Hi, Adding t.conch's ssh manhole (any third party IUsernamePassword provider would've done, really) to my app recently uncovered some unicode handling issues and I'm wondering what the appropriate way to resolve them is. In my API (AMP) there is a: - e-mail which is unicode - password w