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.
 
  • {{ getFullDate("Feb 18 2015 03:02 PM GMT") }}
  • {{ getFullDate("Jun 10 2016 01:06 AM GMT") }}
  • 2,218
  • 1,309
  • 1,623