BoxLang 🚀 A New JVM Dynamic Language Learn More...

Security Module with Social Login Support

v1.0.6 Modules

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

$ box install nsg-module-security

No collaborators yet.
 
  • {{ getFullDate("2015-02-18T15:50:42Z") }}
  • {{ getFullDate("2016-06-10T01:20:26Z") }}
  • 3,718
  • 4,438