【发布时间】:2019-08-07 09:07:44
【问题描述】:
我向我的 CherryPy 服务器添加了摘要式身份验证,我想知道用户的身份验证被撤销的标准是什么,并提示他们再次输入凭据。删除 cookie 不会强制提示,但使用隐身模式或其他浏览器会提示。
我的配置:
{ 'tools.auth_digest.on': True,
'tools.auth_digest.realm': 'localhost',
'tools.auth_digest.get_ha1': auth_digest.get_ha1_dict_plain(USERS),
'tools.auth_digest.key': key,
'tools.auth_digest.accept_charset': 'UTF-8' }
谢谢
【问题讨论】: