Kerberos http server interface
MIT License
Kerberos http server interface for node. Windows Only.
$ npm i kerberos-server
Note: you need .Net Framework 4.5 installed.
var express = require('express');
var app = express();
var KerberosServer = require('./..');
app.configure(function () {
this.use(express.logger());
});
app.get('/', function (req, res) {
res.send('hello ' + req.get('X-User'));
});
var server = new KerberosServer(app);
server.listen(8080, function () {
console.log('app listening on http://localhost:8080');
}).on('error', function (err) {
console.error(err.message);
process.exit(1);
});
The server has always a .Net proxy running listening to port, it authenticate requests and pipe to the real node http server running on a random free port (localhost only).
If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.
This project is licensed under the MIT license. See the LICENSE file for more info.