On 25 Nov, 2005, at 8:57 am, Jorge Godoy wrote:

Just to "close" this thread:


I missed adding 


        identity.on=True

        identity.failure_url="/login"


at my prod.cfg, even though I had a big comment on my 'dev.cfg' saying that I

needed that. 


Jorge, this is a bug. I should have been using my own accessor for the current provider rather than hitting the thread local data directly. The accessor will raise an IdentityManagementNotEnabledException if you try to access either the current identity or provider.

In addition, by raising IdentityManagementNotEnabledException rather than permitting the operation, the identity framework fails safe. I think this is the correct behaviour.

I've fixed this in the code I'll be checking in tomorrow.


--

Jeff Watkins

http://newburyportion.com/


"Advertising directed at children is inherently deceptive and exploits children under eight years of age."

-- American Academy of Pediatrics



Reply via email to