Hapi radius plugin.
This plugin is in the very early stages of development. Pleast note that a working radius server is required in order for the tests to pass. I will remedy this as soon as possible.
git clone https://github.com/iostat42/hapi-radius.git
{
register: require('../..'),
options: {
ipAddress: '192.168.1.10',
secret: 'mySharedSecret',
options: {
host: [ 'radiusA', 'radiusB' ], // accepts single or array of hosts
port: 1812
}
}
}
var config = {};
// Radius
config.radius = {
ipAddress: '192.168.1.10',
secret: 'mySharedSecret',
options: {
host: [ 'radiusA', 'radiusB' ], // accepts single or array of hosts
}
};
// Config options for tests
config.app = {
name: 'hapi-radius'
};
// Plugins to register
config.plugins = [
{
register: require('../..'),
options: config.radius
}
];
config.pluginOptions = {};
// User
config.user = {
userName: 'user1',
password: 'password'
};
module.exports = config;
$ npm test
MIT