CFML Security Validator
The CFML Security validator leverages the ColdFusion security functions for authentication and role based authorization.
ColdBox security has had this security validator since version 1, in which it will talk to the ColdFusion engine's security methods to authenticate and authorize users using roles.
All you need to do is use the WireBox ID of CFValidator@cbsecurity
in your validator
setting:
ColdFusion Security Functions
Example:
For more information about cflogin, cfloginuser and cflogout
, please visit the docs http://cfdocs.org/security-functions
The configured authentication service must adhere to our IAuthService
interface and the User object must adhere to the IAuthUser
interface.
Remember that a validator can exist globally and on a per ColdBox Module level.
Last updated