]> BookStack Code Mirror - bookstack/commit
Refactored & split LDAP connection logic
authorDan Brown <redacted>
Mon, 17 Oct 2022 23:21:11 +0000 (00:21 +0100)
committerDan Brown <redacted>
Mon, 17 Oct 2022 23:21:11 +0000 (00:21 +0100)
commit77d4a28442313390d6f2033d5b2183b335fdd492
tree397f5907b58ebb626d93e412f17256ee35943253
parent661d8059ed1c7deb3d6af7c5fe748d61036d2742
Refactored & split LDAP connection logic

Updated ldap connections to be carried via their own class.
Extracted connection logic to its own class.
Having trouble making this new format testable.
app/Auth/Access/Guards/LdapSessionGuard.php
app/Auth/Access/Ldap.php [deleted file]
app/Auth/Access/Ldap/LdapConnection.php [new file with mode: 0644]
app/Auth/Access/Ldap/LdapConnectionManager.php [new file with mode: 0644]
app/Auth/Access/Ldap/LdapService.php [moved from app/Auth/Access/LdapService.php with 53% similarity]
app/Providers/AuthServiceProvider.php
tests/Auth/LdapTest.php