Skip to content

jiezaizone/isuwang-security

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
liurongjie
Feb 22, 2019
419f89b · Feb 22, 2019

History

32 Commits
Feb 22, 2019
Feb 22, 2019
Feb 22, 2019
Feb 22, 2019
Dec 6, 2018
Dec 17, 2018
Dec 6, 2018
Dec 6, 2018

Repository files navigation

isuwang-security

##1、运行security-demo,访问demo url http://localhost:8080/hello 提示输入用户名密码,配置application.properties, 添加以下配置关闭spring-security默认行为

#关闭spring-security 默认配置
security.basic.enabled=false

之后重新访问demo url http://localhost:8080/hello 便可以等到正常返回

#第三方登录 1、qq登录 默认地址:/auth/qq

其中auth 是SocialAuthenticationFilter接口配置的默认值,qq 是QQProperties配置的默认providerId

可通过配置更改filterProcessesUrl 更改默认值"auth"

About

SSO单点登录

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published