English 中文(简体)
Siteminder SSO not protecting ASP.NET MVC site
原标题:

I have site minder installed on IIS7 and I am running ASP.NET site on the sever. It appears that Site minder SSO fails to protect ASP.NET MVC requests. It appears that all ASP.NET requests are processed by ASP.NET isapi filter which prevent Siteminder isapi filter from running. How can I make siteminder SSO work for protect my ASP.NET MVC site? Is there a way I can force isapi filter for Siteminder SSO to be loaded before ASP isapi filter?

最佳回答

The solution for us was to list the SiteMinder web agent ISAPI handler followed by the MVC ISAPI handler, in that order, in your web.config file.

I posted the code fragment here.

问题回答

Have you tried ordering ISAPI filters in IIS? I have not done it with Win2008 IIS7, but with Windows 2003, SiteMinder agent installer reorders the filters. You should be able to check it in IIS Manager and reorder. SiteMinder filter should be on the top.

I had the same problem on my MVC-2 site enenthough the virtual folder was protected by siteminder.

Finally figured out what the issue was.

Changed the Application Pool mode to Classic from Integrated and voila! problem solved.

We have the same problem for MVC3 on IIS7 and we need to use Integrated Mode. Our solution is to use combination IHttpModule and Handler (.axd) but it is now uncessary since the new version of siteminder has IIS7WebAgent.dll which is a integrated MODULE instead of ISAPI filter (ISAPI6WebAgent.dll). I tested this and confirmed its working, it was able to protect all our MVC url and we can also read HTTP Header created by siteminder such as SM_USER from the MVC pipeline.

The siteminder version I tested is R12 SP 3. If your planning to use IIS7WebAgent.dll, you need to remove all occurances of ISAPI6WebAgent.dll on "Handler Mappings", "ISAPI & CGI Restrictions" and "ISAPI Filter" on IIS to make sure its not complicting.





相关问题
How to call WCF Http Service behind SiteMinder

I am trying to call WCF 4 Http Web Services which are hosted within an ASP.NET application. The Service is protected behind SiteMinder. I was wondering how I could programmatically call the web ...

Blaze and SiteMinder example

I m just looking for some direction to integrate my Flex app with SiteMinder. I can t find any working examples online to get me started. Thanks for any tips in the right direction!

Siteminder SSO not protecting ASP.NET MVC site

I have site minder installed on IIS7 and I am running ASP.NET site on the sever. It appears that Site minder SSO fails to protect ASP.NET MVC requests. It appears that all ASP.NET requests are ...

SiteMinder and EJB 3.0 - Reading user login id

I m working on an application that uses EJB 3.0 and exposes its methods as web services. SiteMinder is used to provide authentication. After successful login, the request header will contain the user ...

Navigate to external URL from a backing bean?

I m trying to implement proper logout for my Java EE / JSF2 application. It requires two things: I need to logout from JAAS and invalidate the session I then have to navigate to an external URL to ...

Accepting a SAML 1.1 Assertion

I am working on providing a SSO solution to a customer who acts as an identity provider. He already has Siteminder on his side to generate SAML 1.1 assertions with user id and timestamp as parameters. ...

热门标签