更改密码后,从浏览器中删除保存的旧密码 [英] remove saved old password from browser after password change

查看:108
本文介绍了更改密码后,从浏览器中删除保存的旧密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Web应用程序中实现密码更改功能。
浏览器已经保存了旧密码,用于自动登录。当用户
下次登录时,如何用新密码替换?我在视图部分中使用了jsp和dojo。带有servlet和spring框架。

I'm implementing a password change feature in my web application. The old password is already saved by the browser for auto login . How can I replace it with the new password when the user login next time? I use jsp and dojo in the view part. With servlets and spring framework.

推荐答案

这是由实际的浏览器处理的,您无法使用Java来访问此类内容。如果您成功使用非存储密码登录,大多数存储密码的浏览器还会要求您更新密码。

This is handled by the actual browser, you don't have access to that sort of thing with Javascript. Most browsers that store your password will also ask you to update your password if you ever successfully login with a password other than what they have stored.

这篇关于更改密码后,从浏览器中删除保存的旧密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆