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
},
still working on ORM integration

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

Here are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.

Version Created Last Update Published By Stable Actions
Current
1.0.6 Feb 18 2015 03:50 PM Jun 10 2016 01:20 AM

 

No collaborators yet.
 
  • Feb 18 2015 03:50 PM
  • Jun 10 2016 01:20 AM
  • 1776
  • 891
  • 1396