EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 933cd4c4 authored by Lubomir Dolezal's avatar Lubomir Dolezal
Browse files

sample ac for emg, save work

parent 3c0266a6
No related branches found
No related tags found
2 merge requests!36Staging to master to prepare 1.0.0 release,!34Shib auth
<VirtualHost *:80> <VirtualHost *:80>
ServerName https://emg.pdas.prism.eox.at:443 ServerName PassEnv APACHE_SERVERNAME
UseCanonicalName On UseCanonicalName On
DocumentRoot "/var/www/html" DocumentRoot "/var/www/html"
<Location /secure> <Location /secure>
AuthType shibboleth AuthType shibboleth
ShibRequestSetting requireSession 1 ShibRequestSetting requireSession 1
require shib-session ShibAccessControl /etc/shibboleth/pass-ac.xml
RequestHeader set Referer X-Forwarded-Uri env=X-Forwarded-Uri RequestHeader set Referer "%{X-Forwarded-Uri}e"
Header set Referer "%{X-Forwarded-Uri}e"
</Location> </Location>
</VirtualHost> </VirtualHost>
\ No newline at end of file
<Attributes xmlns="urn:mace:shibboleth:2.0:attribute-map" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Attributes xmlns="urn:mace:shibboleth:2.0:attribute-map" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Attribute name="urn:oid:0.9.2342.19200300.100.1.1" id="uid" /> <Attribute name="urn:mace:dir:attribute-def:cds-spci-es_oa-signed-tcs" id="spField1" />
<Attribute name="urn:oid:2.16.840.1.113730.3.1.241" id="displayName"/> <Attribute name="urn:mace:dir:attribute-def:cds-spci-es_oa-user-category" id="spField2"/>
<Attribute name="urn:oid:0.9.2342.19200300.100.1.3" id="mail"/>
</Attributes> </Attributes>
<AccessControl
type="edu.internet2.middleware.shibboleth.sp.provider.XMLAccessControl">
<AND>
<Rule require="spField2">
Copernicus_Services Union_Inst Union_Research_Projects_space Union_Research_Projects_non-space Public_Auth
</Rule>
<RuleRegex require="spField1">.+</RuleRegex>
</AND>
</AccessControl>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment