FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

Security Module with Social Login Support

v1.0.6 Public

ColdBox 4 Security Module

This security module includes User/ORM, Social Login, & Sign-up form.

Setup & Installation

box install nsg-module-security

  1. Create a datasource and import the /setup/setup.sql into your locate database for quick setup.
  2. Drop the models in /setup/models/*.cfc into your primary model folder.
  3. Next add the AOP decorator "secure" to any handler or action to enforce security.

Example Handler

component {
    public function index(event,rc,prc) secure {
        // handler code
    }
}

Add the following structure to Coldbox.cfc

nsgSecurity = {
    allowAccountCreation        = true,
    maxLoginFailureAttempts     = 5
},

Dependencies (0)


Dev Dependencies (0)


still working on ORM integration

v1.0.6 - bug fixes
v1.0.5 - dependency setup for nsg-module-user
v1.0.2 - initial release

 

$ box install nsg-module-security

No collaborators yet.
 
  • Feb 18 2015 03:50 PM
  • Jun 10 2016 01:20 AM
  • 2,070
  • 1,180
  • 1,619