SiteMinder SSO不保护ASP.NET MVC 5站点

SiteMinder SSO不保护ASP.NET MVC 5站点,asp.net,asp.net-mvc,siteminder,Asp.net,Asp.net Mvc,Siteminder,此问题可能与处理所有路由和绕过SiteMinder的UrlRoutingModule有关。关于如何让SiteMinder的webagent在MVC的默认请求处理程序之前处理HTTP请求,有什么想法吗 <system.webServer> <!-- SM Server Config --> <validation validateIntegratedModeConfiguration="false" /> <handlers>

此问题可能与处理所有路由和绕过SiteMinder的UrlRoutingModule有关。关于如何让SiteMinder的webagent在MVC的默认请求处理程序之前处理HTTP请求,有什么想法吗

<system.webServer>
    <!-- SM Server Config -->
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <add name="wa-handler" path="*" verb="*" type="" modules="IsapiModule" scriptProcessor="%NETE_WA_PATH%\ISAPI6WebAgent.dll" 
           resourceType="Unspecified" requireAccess="None" allowPathInfo="false" preCondition="" responseBufferLimit="4194304" />
    </handlers>
    <modules>
      <remove name="FormsAuthentication" />
    </modules>
</system.webServer>


问题已解决:显然,为了让SiteMinder保护ASP.NET MVC应用程序,必须将其升级到R12.5/WebAgent 7或更高版本。只要在IIS服务器上更新SiteMinder,它就会开始工作

欢迎来到stackoverflow。能否在web.config中共享您的配置?有错误代码吗?是否启用了跟踪:以查看在设置中如何处理请求?请确保您也阅读了以下内容:感谢您的反馈,我已添加了我的web.config。您的控制器操作是否使用了授权属性?在IIS中,您是否为您的网站配置了windows身份验证或匿名身份验证?您是否检查是否可以在您的webrequest(request.Username)中看到用户名?控制器上当前未设置授权属性。-ISS服务器使用SiteMinder的web代理作为管理身份验证请求的第一个选项。