security - Grails SpringSecurity : browser doesn't offer to save login/password for the page

标签 security authentication grails autocomplete

有一个应用程序具有默认的 grails.plugins.springsecurity 身份验证。当我在 Opera [12.14] 中输入登录名/密码时,它会要求我存储页面的登录名/密码,而 Chrome、FF 和 IE 则不会。

这是否必须以某种方式在页面上进行配置,或者是特定于浏览器的?

最佳答案

这是故意的,作为安全预防措施 - 这是由于 form 标记中的非标准 autocomplete='off' 属性造成的。显然 Opera 忽略了它,而其他浏览器则做了正确的事情。如果您想允许这样做,请从 auth.gsp 文件中删除该属性。

关于security - Grails SpringSecurity : browser doesn't offer to save login/password for the page,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15494281/

相关文章:

java - 如何在 Java 中使用 .cer 文件验证证书

c# - C# 中 BitConverter.Int64BitsToDouble 的安全性和稳定性问题

security - 使用Puppet处理敏感信息

Symfony2 登录 - 凭据错误 | Doctrine 不接收任何参数

spring - 如何在 Spring Boot 应用程序中关闭 Spring Security

asp.net - 如何使用 Microsoft 帐户对我的网站进行身份验证

grails - Grails 2.5.0:自动填充数据库的方式

asp.net - 保护 Web 服务的侵入性最小的方法?

grails - 如何从Request中检索cxf Web服务中的 header 参数?

grails - 如何使用Grails Asset Pipeline在 View 中声明要在页脚中呈现的JavaScript Assets