diff --git a/package.json b/package.json index e47b3ae1d..1ea256f33 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,7 @@ "express-session": "1.17.2", "file-type": "16.5.3", "joi": "17.6.0", + "ldapauth-fork": "^5.0.2", "minio": "7.0.27", "mysql": "2.18.1", "nest-router": "1.0.9", diff --git a/yarn.lock b/yarn.lock index 96927ce7b..857e26dfe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1723,6 +1723,15 @@ __metadata: languageName: node linkType: hard +"@types/ldapjs@npm:^2.2.2": + version: 2.2.2 + resolution: "@types/ldapjs@npm:2.2.2" + dependencies: + "@types/node": "*" + checksum: e5da993f06240251dad1e095564c722124ed08d915781fb3046f7933cde94b5d2681030ab9f48d4aa5d72b655b501bfd6f2ad4ea41d557d0e1a08d574ed058bf + languageName: node + linkType: hard + "@types/mime@npm:^1": version: 1.3.2 resolution: "@types/mime@npm:1.3.2" @@ -2286,6 +2295,13 @@ __metadata: languageName: node linkType: hard +"abstract-logging@npm:^2.0.0": + version: 2.0.1 + resolution: "abstract-logging@npm:2.0.1" + checksum: 6967d15e5abbafd17f56eaf30ba8278c99333586fa4f7935fd80e93cfdc006c37fcc819c5d63ee373a12e6cb2d0417f7c3c6b9e42b957a25af9937d26749415e + languageName: node + linkType: hard + "accepts@npm:~1.3.8": version: 1.3.8 resolution: "accepts@npm:1.3.8" @@ -2655,7 +2671,7 @@ __metadata: languageName: node linkType: hard -"asn1@npm:~0.2.3": +"asn1@npm:^0.2.4, asn1@npm:~0.2.3": version: 0.2.6 resolution: "asn1@npm:0.2.6" dependencies: @@ -2792,6 +2808,15 @@ __metadata: languageName: node linkType: hard +"backoff@npm:^2.5.0": + version: 2.5.0 + resolution: "backoff@npm:2.5.0" + dependencies: + precond: 0.2 + checksum: ccdcf2a26acd9379d0d4f09e3fb3b7ee34dee94f07ab74d1e38b38f89a3675d9f3cbebb142d9c61c655f4c9eb63f1d6ec28cebeb3dc9215efd8fe7cef92725b9 + languageName: node + linkType: hard + "balanced-match@npm:^1.0.0": version: 1.0.2 resolution: "balanced-match@npm:1.0.2" @@ -2834,6 +2859,13 @@ __metadata: languageName: node linkType: hard +"bcryptjs@npm:^2.4.0": + version: 2.4.3 + resolution: "bcryptjs@npm:2.4.3" + checksum: 0e80ed852a41f5dfb1853f53ee14a7390b0ef263ce05dba6e2ef3cd919dfad025a7c21ebcfe5bc7fa04b100990edf90c7a877ff7fe623d3e479753253131b629 + languageName: node + linkType: hard + "bignumber.js@npm:9.0.0": version: 9.0.0 resolution: "bignumber.js@npm:9.0.0" @@ -5455,6 +5487,7 @@ __metadata: http-proxy-middleware: 2.0.4 jest: 27.5.1 joi: 17.6.0 + ldapauth-fork: ^5.0.2 minio: 7.0.27 mocked-env: 1.3.5 mysql: 2.18.1 @@ -6899,6 +6932,43 @@ __metadata: languageName: node linkType: hard +"ldap-filter@npm:^0.3.3": + version: 0.3.3 + resolution: "ldap-filter@npm:0.3.3" + dependencies: + assert-plus: ^1.0.0 + checksum: 7e877a85686b26075cab0b3ecf812a14a8a6d21ac4b5cd894517d901ca6a2299d81557cee2acee4624664aabdac690d8b393ac9b60b2afe47d7975e1fe38d19c + languageName: node + linkType: hard + +"ldapauth-fork@npm:^5.0.2": + version: 5.0.2 + resolution: "ldapauth-fork@npm:5.0.2" + dependencies: + "@types/ldapjs": ^2.2.2 + bcryptjs: ^2.4.0 + ldapjs: ^2.2.1 + lru-cache: ^6.0.0 + checksum: 8a420d66064435f127c2a8c3e401d04ec54654cf342c9f4a30ff0e602bb72c25a0932bac66f1644faa6e042f4639fd12470b8c0614b87d23c883348f264a73f4 + languageName: node + linkType: hard + +"ldapjs@npm:^2.2.1": + version: 2.3.2 + resolution: "ldapjs@npm:2.3.2" + dependencies: + abstract-logging: ^2.0.0 + asn1: ^0.2.4 + assert-plus: ^1.0.0 + backoff: ^2.5.0 + ldap-filter: ^0.3.3 + once: ^1.4.0 + vasync: ^2.2.0 + verror: ^1.8.1 + checksum: 4eb7b18839d8fe1d8acc0ba5d2aa71aefcb25ecb6f4f9582299d73faf546984326590c44366f8b148d3a4276707006b1aaffffdc548b3c4ca753e720403da4a5 + languageName: node + linkType: hard + "leven@npm:^3.1.0": version: 3.1.0 resolution: "leven@npm:3.1.0" @@ -8353,6 +8423,13 @@ __metadata: languageName: node linkType: hard +"precond@npm:0.2": + version: 0.2.3 + resolution: "precond@npm:0.2.3" + checksum: c613e7d68af3e0b43a294a994bf067cc2bc44b03fd17bc4fb133e30617a4f5b49414b08e9b392d52d7c6822d8a71f66a7fe93a8a1e7d02240177202cff3f63ef + languageName: node + linkType: hard + "prelude-ls@npm:^1.2.1": version: 1.2.1 resolution: "prelude-ls@npm:1.2.1" @@ -10275,6 +10352,15 @@ __metadata: languageName: node linkType: hard +"vasync@npm:^2.2.0": + version: 2.2.1 + resolution: "vasync@npm:2.2.1" + dependencies: + verror: 1.10.0 + checksum: dca14090436f1b30d4887737af47bc8333795a6d45e520e583ca2c4476d841bf68606cbc79071cfd980e3e42e630736d66a598b9100a505663442ae2e7c2f92f + languageName: node + linkType: hard + "verror@npm:1.10.0": version: 1.10.0 resolution: "verror@npm:1.10.0" @@ -10286,6 +10372,17 @@ __metadata: languageName: node linkType: hard +"verror@npm:^1.8.1": + version: 1.10.1 + resolution: "verror@npm:1.10.1" + dependencies: + assert-plus: ^1.0.0 + core-util-is: 1.0.2 + extsprintf: ^1.2.0 + checksum: 690a8d6ad5a4001672290e9719e3107c86269bc45fe19f844758eecf502e59f8aa9631b19b839f6d3dea562334884d22d1eb95ae7c863032075a9212c889e116 + languageName: node + linkType: hard + "w3c-hr-time@npm:^1.0.2": version: 1.0.2 resolution: "w3c-hr-time@npm:1.0.2"