Group Based Authorization for Apache Shibboleth SP Site
Bhagwat, Shrikant
shrbhagw at med.umich.edu
Fri Mar 22 16:53:48 UTC 2024
Hi
I have Apache server with Shibboleth Service Provider.
https://shibboleth.atlassian.net/wiki/spaces/SHIB2/pages/2577072327/NativeSPApacheConfig
Following is shib.conf file
# Load the Shibboleth module.
#
LoadModule mod_shib /usr/lib64/shibboleth/mod_shib_24.so
#
# Turn this on to support "require valid-user" rules from other
# mod_authn_* modules, and use "require shib-session" for anonymous
# session-based authorization in mod_shib.
#
ShibCompatValidUser Off
#
# Ensures handler will be accessible.
#
<Location /Shibboleth.sso>
AuthType None
Require all granted
</Location>
#
# Used for example style sheet in error templates.
#
<IfModule mod_alias.c>
<Location /shibboleth-sp>
AuthType None
Require all granted
</Location>
Alias /shibboleth-sp/main.css /usr/share/shibboleth/main.css
</IfModule>
#
# Configure the module for content.
#
# You MUST enable AuthType shibboleth for the module to process
# any requests, and there MUST be a require command as well. To
# enable Shibboleth but not specify any session/access requirements
# use "require shibboleth".
#
<Location /secure>
AuthType shibboleth
ShibRequestSetting requireSession 1
require shib-session
</Location>
~
How do I add Role based Authorization for /secure page ? Only if user has "Role" they access the site.
I will have Roles through SAML Assertions.
Let me know
Shrikant
**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20240322/3b12c308/attachment.htm>
More information about the users
mailing list