Comments (2)
由于最近比较忙,没来得及处理问题,望谅解。
我给出的建议可以是这样:
org.jasig.cas.client.authentication.AuthenticationFilter
下的属性casServerLoginUrl
配置为客户端的登录地址- 客户端登录页用iframe嵌套这cas的登录页,但service路径要处理好,也就是需要把该参数给到iframe的路径中
- 当在客户端登录后,也就是在cas的中登录成功后302回top页面,这个需要特殊处理
需解决问题:
- cas的iframe嵌套需要允许否则不能打开
- 302回客户单需要对iframe进行处理否则还停留在iframe中
from sso.
@kawhii 楼主好,根据您提出的方案我们在上周做了相关尝试,如果子系统A,B,C没有经过前后端分离,使用Iframe这种方式还是可以的。
另外看到有关JWT的方式,请问下大哥有没有好的思路或Demo来实现多项目之间SSO效果。这样,就可以不使用Iframe嵌套方式了。
我自己看了下官网,流程图是可以看明白的,但是在代码编写上,通过RestAPI方式获取到CAS自动产生的JWT字符串之后,不太明白接下来该怎么操作了,比如Client怎么来验证JWT正确性。
您若有时间可以随时跟我沟通,非常感谢。
参考文章
1、https://apereo.github.io/cas/5.2.x/installation/Configure-ServiceTicket-JWT.html
2、http://blog.csdn.net/cuo9958/article/details/53580466
from sso.
Related Issues (20)
- 验证码 HOT 5
- sso-management 模块启动后访问一直返回404页面 HOT 1
- [ 登出 ]是否可以修改发送登出时使用的方法 HOT 1
- 不好意思 想请问 您文章的内容 HOT 1
- 企业微信整合
- 服务管理后台使用jpa持久层有问题 HOT 1
- CAS集成LDAP的例子
- 对于前后端分离的项目如何集成cas HOT 6
- 如何在CAS-Server系统定义自己的登录接口并能生成Ticket HOT 10
- [CAS-5.2.X] [问题] 自定义认证流程 HOT 2
- client-shiro对于/user/**的anon配置没有启用 HOT 2
- 集成本地数据库密码加盐问题 HOT 5
- CAS服务端集群配置
- cas 怎么支持桌面应用程序 HOT 1
- 调试自定义主题界面问题
- 请问做着还维护这个社区么? HOT 1
- 项目还维护吗?
- win7 ie10 11,不支持cookie注入?怎么处理
- Security issue: `state` parameter missing in redirect URL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sso.