简体   繁体   English

Spring Boot Tomcat嵌入了CA SSO / Siteminder拦截

[英]Spring Boot Tomcat Embed CA SSO / Siteminder Intercept

I've got a simple SPA Sprint Boot application - executable jar with embedded tomcat and looking to plug it into siteminder with preauthenticatedauthenticationprovider. 我有一个简单的SPA Sprint Boot应用程序-带有嵌入式tomcat的可执行jar,并希望通过预先认证的身份验证提供程序将其插入siteminder。 Application is http://someserver:1234 应用程序是http://someserver:1234

Documentation states that a WebAgent is installed on a web server and that 'intercepts' requests. 文档指出WebAgent已安装在Web服务器上,并且“拦截”了请求。 Would the WebAgent be deployed in a separate container? WebAgent是否将部署在单独的容器中? If so, how does it intercept requests? 如果是这样,它将如何拦截请求? All documentation refers to this intercept, but doesn't state the mechanism. 所有文档均引用此拦截,但未说明该机制。

Does it need to be deployed inside the same container to intercept requests? 是否需要将其部署在同一容器内以拦截请求? The only way I can think any http headers are intercepted is through proxies. 我认为可以截获任何http标头的唯一方法是通过代理。

There are 2 ways to configure Web Agent. 有两种配置Web代理的方法。 1. Local Configuration - Setup Agent in the sever where Applciaiton is hosted. 1. 本地配置 -托管Applciaiton的服务器中的设置代理。 2. Centralized Configuration - Setup Agent in the a web server like Apache and add proxy entries to the backend applications. 2. 集中配置 -在Web服务器(如Apache)中设置代理,并将代理条目添加到后端应用程序。 this configuration intercepts each and every request going from the webagent server. 此配置拦截来自Webagent服务器的每个请求。 I recommend this. 我推荐这个。 if you have still questions drop here. 如果您还有问题,请在这里。 - Thanks, Chiranjeevi -谢谢,Chiranjeevi

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM