Auth Validator
The auth validator leverages authentication and role-permission-based authorization for you.
ColdBox security ships with this validator that knows how to talk to the authentication service and validate authentication and authorization via permissions and roles. All you need to do is use the WireBox ID of AuthValidator@cbsecurity
in your validator
setting:
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
Was this helpful?