Solitary

Building a new application that requires a security in framework can be a very tedious task. A security framework usually starts off as a simple requirement and ends up growing into a project all on its own. You first decide to either copy some code from a previous project or start from scratch. What if there was a way to drop a folder into your project and have a security framework in place instantly? Well now there is!

When modules came out for ColdBox I thought this would be a great first project to work. Solitary is a ColdBox module that handles roles based security for your application. When you drop the module into your project it will instantly lock down your entire application and create the necessary tables in your database. Under the hood it uses the ColdBox interceptor so its fully customizable.

box install Solitary
   

CommandBox Dependency

Add the following to your dependencies or devdependencies json, so CommandBox can track it as a project dependency. "Solitary" : "o.1"

Stats

danvega@gmail.com's Gravatar   Dan Vega Apr 08, 2011 at 12:13 PM Nov 26, 2014 at 11:34 AM o.1 3.0 Modules 2737 728 5

Installation Instructions

  1. Drop the solitary folder into your modules folder {project_root}/modules/
  2. Add a mapping to {project_root}/Application.cfc
    this.mappings['/solitary'] = COLDBOX_APP_ROOT_PATH & "/modules/solitary";
  3. Update {project_root}/Application.cfc to enable ORM

    this.ormEnabled = true;
    this.datasource = "YOUR_DATASOURCE_HERE";
    this.ormSettings = {
    dbcreate = "update",
    eventhandling = true,
    flushAtRequestEnd = false,
    cfclocation = []
    };
  4. Changelog


Google+