|
56 | 56 | 'entitlementPrefix' => 'prefix', |
57 | 57 | 'entitlementAuthority' => 'authority', |
58 | 58 |
|
59 | | - /** |
60 | | - * specify if disco module should filter out IdPs which are not whitelisted neither commited to CoCo or RaS. |
61 | | - * default is false. |
62 | | - */ |
63 | | - //'disco.disableWhitelisting' => true, |
64 | | - |
65 | 59 | /** |
66 | 60 | * specify which type of IdPListService will be used |
67 | 61 | * Expected values: csv, db |
68 | 62 | */ |
69 | 63 | 'idpListServiceType' => '', |
70 | 64 |
|
71 | | - /** |
72 | | - * Specify prefix for filtering AuthnContextClassRef |
73 | | - * All AuthnContextClassRef values starts with this prefix will be removed before the request will be send to IdP |
74 | | - */ |
75 | | - 'disco.removeAuthnContextClassRefPrefix' => 'urn:cesnet:proxyidp:', |
76 | | - |
77 | 65 | /** |
78 | 66 | ***************************************** |
79 | 67 | * Part of configuration for status page * |
|
196 | 184 |
|
197 | 185 | /** |
198 | 186 | ******************************************** |
199 | | - * Part of configuration for Warning on DS * |
| 187 | + * Part of configuration for DS * |
200 | 188 | ******************************************** |
201 | 189 | */ |
202 | 190 |
|
203 | | - /** |
204 | | - * Choose one of allowed sources: CONFIG/FILE/URL |
205 | | - * If FILE or URL is chosen, please read the 'warning_file_or_url' file to see how it should look |
206 | | - */ |
207 | | - 'disco.warning.source' => '', |
208 | | - |
209 | | - /** |
210 | | - * Specify the absolute path to configuration file |
211 | | - * REQUIRED ONLY FOR TYPE FILE |
212 | | - */ |
213 | | - 'disco.warning.file' => '/etc/simplesamlphp/cesnet/config/warning', |
214 | | - |
215 | | - /** |
216 | | - * Specify the url to configuration file |
217 | | - * REQUIRED ONLY FOR TYPE URL |
218 | | - */ |
219 | | - 'disco.warning.url' => 'url to configuration file', |
220 | | - |
221 | | - /** |
222 | | - * When true, the config file is switched on. |
223 | | - * REQUIRED ONLY FOR TYPE CONFIG |
224 | | - */ |
225 | | - 'disco.warning.isOn' => true, |
226 | | - |
227 | | - /** |
228 | | - * Choose one of allowed types: INFO/WARNING/ERROR. |
229 | | - * REQUIRED ONLY FOR TYPE CONFIG |
230 | | - */ |
231 | | - 'disco.warning.type' => 'INFO', |
232 | | - |
233 | | - /** |
234 | | - * Title of the warning. It is possible to use HTML. |
235 | | - * REQUIRED ONLY FOR TYPE CONFIG |
236 | | - */ |
237 | | - 'disco.warning.title' => '', |
238 | | - |
239 | | - /** |
240 | | - * Text of the warning. It is possible to use HTML. |
241 | | - * REQUIRED ONLY FOR TYPE CONFIG |
242 | | - */ |
243 | | - 'disco.warning.text' => '', |
| 191 | + 'wayf_config' => [ |
| 192 | + /** |
| 193 | + * specify if disco module should filter out IdPs which are not whitelisted neither commited to CoCo or RaS. |
| 194 | + * default is false. |
| 195 | + */ |
| 196 | + 'disable_white_listing', |
| 197 | + /** |
| 198 | + * Specify translate module |
| 199 | + */ |
| 200 | + 'translate_module' => 'disco', |
| 201 | + /** |
| 202 | + * Specify prefix for filtering AuthnContextClassRef |
| 203 | + * All AuthnContextClassRef values starts with this prefix will be removed before the request will be send to IdP |
| 204 | + */ |
| 205 | + 'remove_authn_context_class_ref_prefix' => 'urn:cesnet:proxyidp:', |
| 206 | + /** |
| 207 | + * Add insitution configuration. The block has to specify email and url |
| 208 | + */ |
| 209 | + 'add_institution_config' => [ |
| 210 | + 'url' => 'https://login.elixir-czech.org/add-institution/', |
| 211 | + |
| 212 | + ], |
| 213 | + /** |
| 214 | + * Warning configuration |
| 215 | + * The configuration can be loaded from file, url or directly formt his config. All possibilities has to follow |
| 216 | + * the structure under the "config" key. |
| 217 | + */ |
| 218 | + 'warning_config' => [ |
| 219 | + # IF SOURCE === FILE |
| 220 | +# 'file' => '/etc/perun/simplesamlphp/elixir/config/warning.php', |
| 221 | + # IF SOURCE === URL |
| 222 | +# 'url' => 'https://test.com', |
| 223 | + # IF SOURCE === CONFIG |
| 224 | + 'config' => [ |
| 225 | + 'enabled' => FALSE, |
| 226 | + 'type' => 'INFO', |
| 227 | + 'title' => [ |
| 228 | + 'en' => 'Sample text', |
| 229 | + 'cs' => 'ukázkový text' |
| 230 | + ], |
| 231 | + 'text' => [ |
| 232 | + 'en' => 'Sample warning text', |
| 233 | + 'cs' => 'ukázkový text', |
| 234 | + ] |
| 235 | + ], |
| 236 | + ], |
| 237 | + // enable box shaodw around the wrap element |
| 238 | + 'boxed' => TRUE, |
| 239 | + // block of IDPs |
| 240 | + 'idp_blocks_config' => [ |
| 241 | + [ |
| 242 | + // type has to be 'inlinesearch' for displaying eduGAIN entries or 'tagged' for custom IDPs |
| 243 | + 'type' => 'inlinesearch', |
| 244 | + // name that will be used in some classes and translation keys |
| 245 | + 'name' => 'eduGAIN', |
| 246 | + //enable displaying of the texts |
| 247 | + 'text_enabled' => TRUE, |
| 248 | + /* Translation for the hint above the entry. Leave out option to disable it if text_enabled is true |
| 249 | + 'hint_translation' => [ |
| 250 | + 'en' => 'You can log in using your institutional account or another account you have on the web (e.g. Apple).', |
| 251 | + ], |
| 252 | + */ |
| 253 | + /* Translation for the placeholder in the search box. Leave out option to disable it if text_enabled is true |
| 254 | + 'placeholder_translation' => [ |
| 255 | + 'en' => 'Type name of your institute or an online account', |
| 256 | + ], |
| 257 | + /* |
| 258 | + /* Translation for the note under the entry. Leave out option to disable it if text_enabled is true |
| 259 | + 'note_translation' => [ |
| 260 | + 'en' => 'Note text', |
| 261 | + ], |
| 262 | + */ |
| 263 | + ], |
| 264 | + [ |
| 265 | + 'type' => 'tagged', |
| 266 | + 'name' => 'social_idps', |
| 267 | + 'text_enabled' => FALSE, |
| 268 | + //tags to include in the list |
| 269 | + 'tags' => ['social'], |
| 270 | + // specific IDP entity IDs to include in the list |
| 271 | + 'entityIds' => [], |
| 272 | + ], |
| 273 | + ], |
| 274 | + ], |
244 | 275 | ]; |
0 commit comments