feat: store authsources in a database (fix #267)#1817
Open
damikael wants to merge 323 commits intosimplesamlphp:masterfrom
Open
feat: store authsources in a database (fix #267)#1817damikael wants to merge 323 commits intosimplesamlphp:masterfrom
damikael wants to merge 323 commits intosimplesamlphp:masterfrom
Conversation
This might send content to cloud spell checkers and is not useful anyway. See https://www.otto-js.com/news/article/chrome-and-edge-enhanced-spellcheck-features-expose-pii-even-your-passwords
Bumps [twig/twig](https://github.com/twigphp/Twig) from 3.4.2 to 3.4.3. - [Release notes](https://github.com/twigphp/Twig/releases) - [Changelog](https://github.com/twigphp/Twig/blob/3.x/CHANGELOG) - [Commits](twigphp/Twig@v3.4.2...v3.4.3) --- updated-dependencies: - dependency-name: twig/twig dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* entityID change affects saml:SP too * Generate exception for example entityID (SP) * Make entityId consistent with examples * Generate exception for example entityID (IdP) * Add some use-statements Co-authored-by: Tim van Dijen <tvdijen@gmail.com>
Storing this in each parsed entity has a significant performance impact. It was originally added in fe80b8a for use by the 'aggregator' module, which is now replaced by the 'aggregator2' module which does not use this field.
Forward port of @tauceti2 patch in simplesamlphp#833 to apply cleanly against simplesamlphp-2.0.0-rc2
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.3. - [Release notes](https://github.com/webpack/loader-utils/releases) - [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.3/CHANGELOG.md) - [Commits](webpack/loader-utils@v2.0.2...v2.0.3) --- updated-dependencies: - dependency-name: loader-utils dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Change build-script to leverage composer archive * No longer include data/ cache/ and log/ directories. They don't belong in the install-dir * Remove unnecessary .gitkeep files * Merge config&config-templates and metadata&metadata-templates; templates renamed to .dist * Reduce git clone overhead * Throw an exception if datadir not set Co-authored-by: Thijs Kinkhorst <thijs@kinkhorst.com>
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.3 to 2.0.4. - [Release notes](https://github.com/webpack/loader-utils/releases) - [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md) - [Commits](webpack/loader-utils@v2.0.3...v2.0.4) --- updated-dependencies: - dependency-name: loader-utils dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
7587851 to
d523b31
Compare
8c90121 to
d534e3b
Compare
bc1c5c8 to
d0a5974
Compare
ccb9b02 to
120a100
Compare
6004a77 to
58bf8db
Compare
5c9fb2c to
0970efc
Compare
c27831c to
71e49f4
Compare
c06a17a to
a52c98d
Compare
76da272 to
f10b701
Compare
5f06278 to
4dd709e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If, into config/config.php, are present the parameters:
then authsources are retrieved from database,
else them are retrieved from file same authsources.php, as before.
If the value of parameter
authsources.storageis 'database', then the authsource configuration is retrieved from database.If the table referred by the parameter
authsources.database_tabledoes not exists it will be created.The table will contain the following fields:
idVARCHAR(255) PRIMARY KEY, that is the key of authsourceentity_dataJSON, that is the configuration of authsource_disabledenum('N','Y') NOT NULL DEFAULT 'N', to enable/disable the authsource