stable

Clone or download

Read-only

Closes request #33643: Allow to setup the dynamic credentials plugin with tuleap config-set

Two settings are added: * dynamic_credentials_user_real_name * dynamic_credentials_signature_public_key They replace the old inc file which was annoying to deal with in some setup. In any cases this approach is more aligned with what is currently expected in Tuleap. The old inc file is still supported to avoid breaking existing setup. Change-Id: I387f670ebb68c50acec48608220d45bc65e4a6ab

Modified Files

Name
M plugins/dynamic_credentials/db/uninstall.sql +3 −1 Go to diff View file
D plugins/dynamic_credentials/etc/dynamic_credentials.inc.dist +0 −4 Go to diff View file
A plugins/dynamic_credentials/include/Plugin/DynamicCredentialsPublicKeySignatureValidator.php +55 −0 Go to diff View file
A plugins/dynamic_credentials/include/Plugin/DynamicCredentialsSettings.php +90 −0 Go to diff View file
M plugins/dynamic_credentials/include/REST/DynamicCredentialsResource.php +4 −5 Go to diff View file
M plugins/dynamic_credentials/include/REST/RequestSignatureVerifier.php +24 −27 Go to diff View file
M plugins/dynamic_credentials/include/dynamic_credentialsPlugin.php +15 −3 Go to diff View file
M plugins/dynamic_credentials/tests/rest/DynamicCredentialsPluginRESTInitializer.php +5 −14 Go to diff View file
A plugins/dynamic_credentials/tests/unit/Plugin/DynamicCredentialsPublicKeySignatureValidatorTest.php +55 −0 Go to diff View file
A plugins/dynamic_credentials/tests/unit/Plugin/DynamicCredentialsSettingsTest.php +78 −0 Go to diff View file
M plugins/dynamic_credentials/tests/unit/REST/RequestSignatureVerifierTest.php +12 −21 Go to diff View file