Skip to content
Snippets Groups Projects
Commit dbac97de authored by Patrick Radtke's avatar Patrick Radtke Committed by Thijs Kinkhorst
Browse files

Add module enablement tips to upgrade notes

parent 9c28b971
No related branches found
No related tags found
No related merge requests found
...@@ -328,23 +328,8 @@ can do that in the configuration: ...@@ -328,23 +328,8 @@ can do that in the configuration:
Set to `true` the modules you want to enable, and to `false` those that you want to disable. Set to `true` the modules you want to enable, and to `false` those that you want to disable.
Alternatively, you can enable or disable modules by setting empty files with given names in the module's root Prior to SSP V2 you could enable or disable modules by setting empty files with names (`enable`, `disable`,
directory. For example, in order to enable the _consent_ module: `default-enable`) in the module's root directory. You need to now use the `module.enable` config option.
```
cd modules/consent
touch enable
```
If you later want to disable the module, you can rename the `enable` file to `disable`.
```
cd modules/consent
mv enable disable
```
This is the traditional way of enabling and disabling modules, but it is **deprecated**. Please do not rely on this in
new installations of the software.
The SimpleSAMLphp installation web page The SimpleSAMLphp installation web page
......
...@@ -12,6 +12,8 @@ Upgrade notes for SimpleSAMLphp 2.0 ...@@ -12,6 +12,8 @@ Upgrade notes for SimpleSAMLphp 2.0
make sure you change them to reflect the method signatures of the base classes. make sure you change them to reflect the method signatures of the base classes.
- If you used some of the modules that were shipped with SimpleSAMLphp, you now have to manually install them using Composer; - If you used some of the modules that were shipped with SimpleSAMLphp, you now have to manually install them using Composer;
For example, to use the ldap-module: bin/composer.phar require simplesamlphp/simplesamlphp-module-ldap --update-no-dev For example, to use the ldap-module: bin/composer.phar require simplesamlphp/simplesamlphp-module-ldap --update-no-dev
- Modules must be enabled through the `module.enable` option in `config.php`. Modules can no longer be enabled by having
a file named `enable` or `default-enable` in the module's root directory.
- If you're using the core:TargetedID authproc-filter, note that the `attributename` setting has been renamed to `identifyingAttribute`. - If you're using the core:TargetedID authproc-filter, note that the `attributename` setting has been renamed to `identifyingAttribute`.
- The default encryption algorithm is set from AES128_CBC to AES128_GCM. If you're upgrading from an existing implementation, you may want - The default encryption algorithm is set from AES128_CBC to AES128_GCM. If you're upgrading from an existing implementation, you may want
to manually switch back the `sharedkey_algorithm`. Note that CBC is vulnerable to the Padding oracle attack. to manually switch back the `sharedkey_algorithm`. Note that CBC is vulnerable to the Padding oracle attack.
......
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