Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Guillaume Rousse
SWITCHwayf
Commits
3b64a2b4
Commit
3b64a2b4
authored
Apr 26, 2012
by
haemmer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adapted default config files
parent
c868dbfb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
44 deletions
+23
-44
IDProvider.conf.dist.php
IDProvider.conf.dist.php
+22
-43
config.dist.php
config.dist.php
+1
-1
No files found.
IDProvider.conf.dist.php
View file @
3b64a2b4
...
@@ -19,22 +19,27 @@ $IDProviders['university'] = array (
...
@@ -19,22 +19,27 @@ $IDProviders['university'] = array (
);
);
// Example of a Kerberos-enabled Identity Provider
$IDProviders
[
'https://idp.epfl.ch/idp/shibboleth'
]
=
array
(
$IDProviders
[
'bristol.ac.uk'
]
=
array
(
'SSO'
=>
'https://idp.epfl.ch/idp/profile/Shibboleth/SSO'
,
'Name'
=>
'EPF Lausanne'
,
'Type'
=>
'university'
,
'Type'
=>
'university'
,
'Name'
=>
'University of Bristol'
,
'SSO'
=>
'https://sso.bris.ac.uk/sso/index.jsp'
,
'Realm'
=>
'ADS.BRIS.AC.UK'
,
'en'
=>
array
(
'Keywords'
=>
'Bristol South+West+England'
),
);
);
// Example with optional network blocks that can be used as an
$IDProviders
[
'https://aai-logon.ethz.ch/idp/shibboleth'
]
=
array
(
// additional IdP preselection hint
'SSO'
=>
'https://aai-logon.ethz.ch/idp/profile/Shibboleth/SSO'
,
$IDProviders
[
'aitta.funet.fi'
]
=
array
(
'Name'
=>
'ETH Zürich'
,
'de'
=>
array
(
'Name'
=>
'ETH Zürich'
),
'en'
=>
array
(
'Name'
=>
'ETH Zurich'
),
'Type'
=>
'university'
,
'Type'
=>
'university'
,
'Name'
=>
'Tampere University of Technology'
,
'IP'
=>
array
(
'193.166.2.0/24'
,
'129.132.0.0/16'
),
'SSO'
=>
'https://idp.tut.fi/shibboleth-idp/SSO'
,
);
'IP'
=>
array
(
'193.166.2.0/24'
,
'130.233.0.0/16'
),
$IDProviders
[
'https://aai-idp.uzh.ch/idp/shibboleth'
]
=
array
(
'SSO'
=>
'https://aai-idp.uzh.ch/idp/profile/Shibboleth/SSO'
,
'Name'
=>
'Universität Zürich'
,
'Type'
=>
'university'
,
'Realm'
=>
'uzh.ch'
,
'en'
=>
array
(
'Keywords'
=>
'Zurich Irchel+Park'
),
);
);
...
@@ -45,7 +50,7 @@ $IDProviders['vho'] = array (
...
@@ -45,7 +50,7 @@ $IDProviders['vho'] = array (
);
);
// An example of a configuration with multiple network blocks and multiple languages
// An example of a configuration with multiple network blocks and multiple languages
$IDProviders
[
'
urn:mace:switch.ch:SWITCHaai:vho-switchaai.c
h'
]
=
array
(
$IDProviders
[
'
https://aai-logon.vho-switchaai.ch/idp/shibbolet
h'
]
=
array
(
'Type'
=>
'vho'
,
'Type'
=>
'vho'
,
'Name'
=>
'Virtual Home Organisation'
,
'Name'
=>
'Virtual Home Organisation'
,
'en'
=>
array
(
'en'
=>
array
(
...
@@ -59,24 +64,7 @@ $IDProviders['urn:mace:switch.ch:SWITCHaai:vho-switchaai.ch'] = array (
...
@@ -59,24 +64,7 @@ $IDProviders['urn:mace:switch.ch:SWITCHaai:vho-switchaai.ch'] = array (
'fr'
=>
array
(
'Name'
=>
'Home Organisation Virtuelle'
),
'fr'
=>
array
(
'Name'
=>
'Home Organisation Virtuelle'
),
'it'
=>
array
(
'Name'
=>
'Virtuale Home Organisation'
),
'it'
=>
array
(
'Name'
=>
'Virtuale Home Organisation'
),
'IP'
=>
array
(
'130.59.6.0/16'
,
'127.0.0.0/24'
),
'IP'
=>
array
(
'130.59.6.0/16'
,
'127.0.0.0/24'
),
'SSO'
=>
'https://aai.vho-switchaai.ch/shibboleth-idp/SSO'
,
'SSO'
=>
'https://aai-logon.vho-switchaai.ch/idp/profile/Shibboleth/SSO'
,
);
// Example of a WAYF entry that would redirect the user to this cascaded WAYF
// For SAML2 authentication requests, you must set the type to 'wayf' so that
// The user is not returned back to the Service Provider but forwarded to this
// additional Discovery Service
$IDProviders
[
'urn:mace:switch.ch:SWITCHaai:edugain.net'
]
=
array
(
'SSO'
=>
'https://maclh.switch.ch/ShiBE-R/ShiBEWebSSORequester'
,
'Name'
=>
'Login via eduGAIN (testing)'
,
'Type'
=>
'wayf'
,
);
$IDProviders
[
'urn:geant:edugain:component:be:switch:development.switch.ch'
]
=
array
(
'Type'
=>
'other'
,
'Name'
=>
'Login via eduGAIN (development)'
,
'SSO'
=>
'https://maclh.switch.ch/ShiBE-H/WebSSORequestListener'
,
);
);
// Example of an IDP you want not to be displayed when IDPs are parsed from
// Example of an IDP you want not to be displayed when IDPs are parsed from
...
@@ -85,7 +73,7 @@ $IDProviders['urn:geant:edugain:component:be:switch:development.switch.ch'] = ar
...
@@ -85,7 +73,7 @@ $IDProviders['urn:geant:edugain:component:be:switch:development.switch.ch'] = ar
// Category
// Category
$IDProviders
[
'
other
'
]
=
array
(
$IDProviders
[
'
unknown
'
]
=
array
(
'Type'
=>
'category'
,
'Type'
=>
'category'
,
'Name'
=>
'Others'
,
'Name'
=>
'Others'
,
'de'
=>
array
(
'Name'
=>
'Andere'
),
'de'
=>
array
(
'Name'
=>
'Andere'
),
...
@@ -93,13 +81,4 @@ $IDProviders['other'] = array (
...
@@ -93,13 +81,4 @@ $IDProviders['other'] = array (
'it'
=>
array
(
'Name'
=>
'Altri'
),
'it'
=>
array
(
'Name'
=>
'Altri'
),
);
);
// Standard example with a Type that could be used to hide certain
// Identity Providers in the list of an embedded WAYF according to their type
$IDProviders
[
'https://aai-logon.switch.ch/idp/shibboleth'
]
=
array
(
'Type'
=>
'other'
,
'Name'
=>
'SWITCH - Serving Swiss Universities'
,
'SSO'
=>
'https://aai-logon.switch.ch/idp/profile/Shibboleth/SSO'
,
);
?>
?>
config.dist.php
View file @
3b64a2b4
...
@@ -57,7 +57,7 @@ $userImprovedDropDownList = true;
...
@@ -57,7 +57,7 @@ $userImprovedDropDownList = true;
// Set to true in order to enable reading the Identity Provider from a SAML2
// Set to true in order to enable reading the Identity Provider from a SAML2
// metadata file defined below in $metadataFile
// metadata file defined below in $metadataFile
$useSAML2Metadata
=
tru
e
;
$useSAML2Metadata
=
fals
e
;
// If true parsed metadata shall have precedence if there are entries defined
// If true parsed metadata shall have precedence if there are entries defined
// in metadata as well as the local IDProviders configuration file.
// in metadata as well as the local IDProviders configuration file.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment