曲奇令牌认证登录方法 [英] Cookie token authentication login method

查看:170
本文介绍了曲奇令牌认证登录方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有是使用Cookie登录的用户的方法,我不知道它的名字。它的每一次用户登录设置唯一的令牌到cookie。令牌是可见的,它是在1 cookie的设置。还有一个第二饼干,其具有在它的散列。基于这些饼干2我们有:

There is a method that is using cookies to login users and i don't know it's name. It's setting a unique token to the cookie each time a user logs in. The token is visible and it is set in 1 cookie. There is also a second cookie, which is having a hash in it. Based on these 2 cookies we have:


  • 登录系统更安全,因为每次5分钟的做一个新的令牌,并改变了哈希值

  • 此认证系统不需要脚本来验证在数据库的用户的每一页的负荷。它做它,只有当它改变了记号

  • 这种类型的身份验证是一种持久性有一个

问:这是什么方法的名称

推荐答案

现在程序pretty好。名称并没有多大关系。

You now procedure pretty well. Name doesn't matter much.

我认为你是在谈论:<一href=\"http://static.springsource.org/spring-security/site/docs/3.0.x/reference/remember-me.html\">Remember-Me验证

这篇关于曲奇令牌认证登录方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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