stable

Clone or download

Read-only

request #23479 Openid and ldap user login generator must be the same

The login generator must be the same for openid and ldap when a new user is created from these ways. Moreover, openid login generator should generate a valid username. It's actually broken when it try to create a login from a name with accent : BadegΓΉl as example. Change-Id: Ifaf77b71d3cdfc5cb52ac8eed048191e3685ba4e

Modified Files

Name
M plugins/ldap/include/LDAP_BackendSVN.class.php +3 βˆ’1 Go to diff View file
M plugins/ldap/include/LDAP_DirectorySynchronization.class.php +1 βˆ’1 Go to diff View file
M plugins/ldap/include/LDAP_UserGroupManager.class.php +3 βˆ’1 Go to diff View file
M plugins/ldap/include/LDAP_UserManager.class.php +9 βˆ’39 Go to diff View file
M plugins/ldap/include/ldapPlugin.php +2 βˆ’1 Go to diff View file
M plugins/ldap/tests/unit/UserManagerAuthenticateTest.php +6 βˆ’1 Go to diff View file
M plugins/ldap/tests/unit/UserManagerTest.php +0 βˆ’62 Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/Login/Registration/UsernameGenerator.php +7 βˆ’36 Go to diff View file
M plugins/openidconnectclient/include/openidconnectclientPlugin.php +3 βˆ’2 Go to diff View file
M plugins/openidconnectclient/tests/unit/Login/Registration/UsernameGeneratorTest.php +66 βˆ’29 Go to diff View file
M plugins/tracker/composer.json +0 βˆ’1 Go to diff View file
M plugins/tracker/composer.lock +2 βˆ’76 Go to diff View file
R plugins/openidconnectclient/include/OpenIDConnectClient/Login/Registration/DataIncompatibleWithUsernameGenerationException.php Go to diff View file
A src/common/User/UserNameNormalizer.php +55 βˆ’0 Go to diff View file
M src/composer.json +1 βˆ’0 Go to diff View file
M src/composer.lock +75 βˆ’1 Go to diff View file
A tests/unit/common/User/UsernameNameNormalizerTest.php +99 βˆ’0 Go to diff View file