Custom error page for Access Control in IIS
toddh1
thughes at xtf.com
Fri Dec 1 10:51:48 EST 2017
I have a successful Shibboleth installation using IIS. Also, I've configured
Access Control, which successfully allows or denies a user based on the
session attribute value passed. For example...
<Host name="something.example.com">
<Path name="apps">
<Path name="secure" authType="shibboleth" requireSession="true">
<AccessControl>
<OR>
<Rule require="accessLevel">Subscription</Rule>
<Rule require="accessLevel">Trial</Rule>
</OR>
</AccessControl>
</Path>
</Path>
</Host>
When the user session contains a "valid" attribute value (Subscription or
Trial), everything works as expected. However, when the user session does
not have a valid value, I get the following message:
"You do not have permission to view this directory or page"
I can't seem to customize this message. It doesn't seem to use the
accessError.html page. I even tried adding this path under the Errors
element: e.g. <Errors access="/accessError.html" ....etc
What am I missing?
Thanks!
--
Sent from: http://shibboleth.1660669.n2.nabble.com/Shibboleth-Users-f1660767.html
More information about the users
mailing list