简体   繁体   English

如何从 Spring + React 应用程序中检索 SSO CA Siteminder 的标头

[英]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.

相关问题 如何将 Windows 身份验证(浏览器)从反应应用程序传递到 Spnego Kerberos Spring SSO? - How to pass windows authentication(browser) from react application to Spnego Kerberos Spring SSO? 如何在 React 应用程序中从 KeyVault 中检索 Secrets [typescript] - How do I retrieve Secrets from KeyVault in React application [typescript] 如何从Spring Boot应用程序为React应用程序提供服务? - How do I serve a React application from an Spring Boot application? 如何使用React的ref检索表单元素? - How to retrieve form elements with React's ref? 单击 href 时将自定义标头从 React 应用程序添加到外部 URL - add custom headers to external URL from the React application on click of href 如何从 express api 中获取多个图像到反应应用程序中? - How to fetch mutiple images from express api's into react application? 如何在反应 js 应用程序的响应中添加 http 标头 - How to add http Headers in react js app's response 如何从nodejs后端检索图像以做出反应 - How to retrieve image from nodejs backend to react 如何在反应中从 className 检索文本 - How to retrieve the text from a className in react 反应:useContext,如何从外部组件检索它? - React: useContext, how to retrieve it from an external component?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM