single-sign-on - ca siteminder saml sso proxyrule 命名空间案例无法转发
问题描述
大家我们的policyserver是12.8并且在redhat上运行并且我们的sampl sso是好的,我们通过relaystate访问应用程序,我们想要访问更多的应用程序并且我们想要访问:https ://fed.test.com.cn/test,https ://fed.test.com.cn/prd,我们要判断什么时候是test,转发到一个地方,判断什么时候是prd,转发到另一个地方,我们的proxyrule在这里:
<?xml version="1.0"?>
<?cocoon-process type="xslt"?>
<!DOCTYPE nete:proxyrules SYSTEM "file:////app/siteminder/agent/agentfed/secure-proxy/proxy-engine/conf/dtd/proxyrules.dtd">
<!-- Proxy Rules -->
<!-- replace www.example.com with your namespace -->
<nete:proxyrules xmlns:nete="https://fed.test.com.cn/" debug="yes">
<nete:cond criteria="beginswith" type="uri">
<!-- replace /dir1 with an appropriate URI -->
<nete:case value="/test">
<!-- replace http://server1.example.com with the appropriate destination server -->
<nete:forward>https://10.164.29.65$0</nete:forward>
</nete:case>
</nete:cond>
</nete:proxyrules>
但是当我们通过https://fed.test.com/affwebservices/public/saml2assertionconsumer时,我们发现没有转发到目标服务器。那么,哪里错了,我们没有在日志中发现错误,谁能帮助我们?我们很着急
解决方案
代理规则不适用于 /affwebservices,它是 SPS 本身的不同“应用程序”。
推荐阅读
- r - 将大型 Excel 文件直接粘贴到 R 中(有很多列)-“扫描错误”
- qr-code - 如何使用 Gluon 手机生成二维码或条形码以支持多平台?
- java - 优化 oracle jdbc 批量插入
- .htaccess - 重定向IPN Post数据但也通过htaccess发送到原始数据?
- authentication - 在哪里存储 openID-connect 的 refresh_tokens?
- powershell - 带有额外新行的字符串
- reactjs - React.js 如何将数据从渲染传递到方法
- swift - 如何在 Swift 中生成 RSA 私钥?
- scala - Spark:递归'ArrayType Column => ArrayType Column'函数
- sass - 将 BEM 与 SASS 一起使用时遇到问题