stable

Clone or download

Read-only

A set of credentials can be created dynamically from the REST route

For now, you cannot log in with these credentials and the request signature is not verified. This is part of story #11239: generate dynamic credentials from HashiCorp Vault into a Tuleap instance Change-Id: Ia967d5b40c83777e0edbcfaf476de7937476adfa

Modified Files

Name
A plugins/dynamic_credentials/db/install.sql +5 −0 Go to diff View file
A plugins/dynamic_credentials/db/uninstall.sql +1 −0 Go to diff View file
A plugins/dynamic_credentials/include/Credential/CredentialCreator.php +60 −0 Go to diff View file
A plugins/dynamic_credentials/include/Credential/CredentialDAO.php +38 −0 Go to diff View file
A plugins/dynamic_credentials/include/Credential/CredentialIdentifierExtractor.php +42 −0 Go to diff View file
A plugins/dynamic_credentials/include/Credential/CredentialInvalidUsernameException.php +29 −0 Go to diff View file
A plugins/dynamic_credentials/include/Credential/DuplicateCredentialException.php +29 −0 Go to diff View file
A plugins/dynamic_credentials/include/REST/DynamicCredentialsResource.php +69 −0 Go to diff View file
A plugins/dynamic_credentials/include/REST/ResourcesInjector.php +29 −0 Go to diff View file
M plugins/dynamic_credentials/include/autoload.php +10 −3 Go to diff View file
M plugins/dynamic_credentials/include/dynamic_credentialsPlugin.class.php +16 −1 Go to diff View file
A plugins/dynamic_credentials/phpunit/.simpletest_skip +0 −0 Go to diff View file
A plugins/dynamic_credentials/phpunit/Credential/CredentialCreatorTest.php +48 −0 Go to diff View file
A plugins/dynamic_credentials/phpunit/Credential/CredentialIdentifierExtractorTest.php +51 −0 Go to diff View file
A plugins/dynamic_credentials/phpunit/bootstrap.php +21 −0 Go to diff View file
A plugins/dynamic_credentials/tests/rest/DynamicCredentialsPluginRESTInitializer.php +32 −0 Go to diff View file
A plugins/dynamic_credentials/tests/rest/DynamicCredentialsTest.php +48 −0 Go to diff View file
A plugins/dynamic_credentials/tests/rest/bootstrap.php +24 −0 Go to diff View file
A plugins/dynamic_credentials/tests/rest/init_test_data.php +24 −0 Go to diff View file
M tests/phpunit/phpunit.xml +1 −0 Go to diff View file