java - shiro怎么实现免账号密码,通过验证身份码登陆并授权?
迷茫
迷茫 2017-04-18 10:15:49
0
4
857
假设用户现在进行了微信授权操作,后台controller拿到了用户信息。
在controller中如何用简单的用户信息实现shiro登陆(因为用户已经通过微信授权,所以不用再进行身份验证),比如:微信用户点击进入个人首页,点击授权后,在controller中拿到了用户信息后通过shiro验证(非账号密码),实现用户免登录(或者说是授权登陆)。该怎么作?
迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(4)
阿神

Why don’t you just write down the password in the background, and then the username is your authorization code...

黄舟

Your problem is the same as mine

洪涛

Excuse me, has the problem been solved? ? ? ,,I want to do this in filter,,

迷茫

Customized realm

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!