isAuthenticated和isFullyAuthenticated之间的区别 [英] Difference between isAuthenticated and isFullyAuthenticated

查看:830
本文介绍了isAuthenticated和isFullyAuthenticated之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试学习Spring安全性,但我有一个问题: 春季安全性中isAuthenticated和isFullyAuthenticated有什么区别

I'm trying to learn spring security, and I have question: what is the difference between isAuthenticated and isFullyAuthenticated in spring security

推荐答案

来自spring-security文档:

From the spring-security documentation:

isAuthenticated()       Returns true if the user is not anonymous
isFullyAuthenticated()  Returns true if the user is not an anonymous or a remember-me user

这篇关于isAuthenticated和isFullyAuthenticated之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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