首页 > 解决方案 > 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时,我们发现没有转发到目标服务器。那么,哪里错了,我们没有在日志中发现错误,谁能帮助我们?我们很着急

标签: single-sign-onsamlsiteminder

解决方案


代理规则不适用于 /affwebservices,它是 SPS 本身的不同“应用程序”。


推荐阅读