[英]How to retrieve SSO CA Siteminder's headers from Spring + React application
I need to retrieve SSO Siteminder's headers from the request.我需要从请求中检索 SSO Siteminder 的标头。 It seems it is not possible to do it from browser/js because they are server side headers.似乎无法从浏览器/js 执行此操作,因为它们是服务器端标头。 I can see the cookie session broeser correctly set, now I need to read the headers from the request, but I could not achieve this.我可以看到正确设置了 cookie session broeser,现在我需要从请求中读取标头,但我无法做到这一点。
I've seen some topic in which they got them using a while loop in a JSP page.我已经看到了一些主题,他们在 JSP 页面中使用了一个 while 循环。
Should I do it from Java Spring or is there some other way?我应该从 Java Spring 开始还是有其他方法?
Every server-side webapp language and framework has methods for inspecting the inbound HTTP request to see the headers, including JEE, Spring Framework, even NodeJS.每个服务器端 webapp 语言和框架都有检查入站 HTTP 请求以查看标头的方法,包括 JEE、Spring 框架,甚至 NodeJS。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.