[Zope] getSecurityManager() vs. AUTHENTICATED_USER

Andreas Jung lists at andreas-jung.com
Fri Jul 8 08:42:59 EDT 2005



--On 8. Juli 2005 13:24:20 +0100 Peter Bengtsson <peterbe at gmail.com> wrote:

> I've learnt that it's better to use getSecurityManager instead of
> REQUEST.AUTHENTICATED_USER
> because it's more secure. Other than that, what is the difference. I
> fear I've come a across a situation when getSecurityManager() returns
> nothing.

I've never seen that.

-aj

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20050708/99e7a3d7/attachment.bin


More information about the Zope mailing list