Welcome to node-firewall’s documentation!

https://travis-ci.org/plouc/node-firewall.png https://coveralls.io/repos/plouc/node-firewall/badge.png?branch=master https://david-dm.org/plouc/node-firewall.png https://badge.fury.io/js/node-firewall.png

The firewall module helps to handle authorization based on roles and init authentication process.

It exposes three main components:

  • A FirewallMap
  • A Firewall
  • A middleware to easily plug it to express

This module was build to work in conjunction with passport which is in charge of user authentication.

Contents: