Start basic LDAP server groundwork

This commit is contained in:
garrettmills
2020-04-16 19:59:48 -05:00
parent dbdaf775df
commit 226b90b7bf
36 changed files with 971 additions and 11 deletions

View File

@@ -0,0 +1,7 @@
const { Injectable } = require('flitter-di')
class LDAPController extends Injectable {
}
module.exports = exports = LDAPController

View File

@@ -0,0 +1,10 @@
const { Injectable } = require('flitter-di')
const ImplementationError = require('libflitter/errors/ImplementationError')
class LDAPMiddleware extends Injectable {
async test(req, res, next) {
throw new ImplementationError()
}
}
module.exports = exports = LDAPMiddleware

View File

@@ -0,0 +1,27 @@
const example_routes = {
prefix: 'dc=base',
middleware: [
],
search: {
},
bind: {
},
add: {
},
del: {
},
}
module.exports = exports = example_routes