Skip to content

Commit

Permalink
move shib require to top location block
Browse files Browse the repository at this point in the history
add two shib lines

remove whitespace
  • Loading branch information
Jody Nega committed Feb 14, 2024
1 parent cdc1885 commit d8f9ab5
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions manifests/profile/www_lib/vhosts/fulcrum.pp
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@
String $servername = 'www.fulcrum.org'
) {
$authz_base_requires = {
enforce => 'all',
requires => [
auth_type => 'shibboleth',
custom_fragment => 'ShibRequestSetting requireSession 0',
enforce => 'all',
requires => [
'not env badrobot',
'not env loadbalancer',
'all granted'
'shibboleth'
]
}

Expand Down Expand Up @@ -154,12 +156,6 @@
XSendFile on
XSendFilePath ${derivatives_path}
XSendFilePath ${alt_derivatives_path}
# Configure Shibboleth for authentication via InCommon partner login
<Location "/">
AuthType shibboleth
ShibRequestSetting requireSession 0
Require shibboleth
</Location>
| EOT
}
}

0 comments on commit d8f9ab5

Please sign in to comment.