How to bypass authentication for some specific directories

Peter Schober peter.schober at univie.ac.at
Tue Jun 21 07:20:23 EDT 2016


* Ram, Budh <budh.ram at sap.com> [2016-06-21 13:15]:
> I am using Shibboleth SP for SSO implementation in my application (application is running on IIS7.5).
> My application has two types of features 1) can be used without authentication 2) need authentication to use.
> The code base for these two features is sometimes common.  Is there
> any configuration available in SP which allow me to bypass the idp
> authentication mechanism for some code directories?
> If yes, then what is the configuration I need to do on SP side to
> access the common code directories in both cases (with/without
> login)?

Then your own code will need to determine which case it is (whether a
shib session and ABAC is required for access to be granted or not).
In Shib speak that's passive protection, or "lazy sessions":
https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPProtectContent
In that mode you're responsible for initiating a session as per:
https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPProtectContent
The bigger picture:
https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPEnableApplication

-peter


More information about the users mailing list