Skip to content

Commit 462f44e

Browse files
committed
finalized cbauth as the default validator
1 parent bbd296e commit 462f44e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ModuleConfig.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ component {
3838
// You can define your security rules here or externally via a source
3939
"rules" : [],
4040
// The validator is an object that will validate rules and annotations and provide feedback on either authentication or authorization issues.
41-
"validator" : "CFValidator@cbsecurity",
41+
"validator" : "CBAuthValidator@cbsecurity",
4242
// The WireBox ID of the authentication service to use in cbSecurity which must adhere to the cbsecurity.interfaces.IAuthService interface.
4343
"authenticationService" : "authenticationService@cbauth",
4444
// WireBox ID of the user service to use

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ cbsecurity = {
5656
// You can define your security rules here or externally via a source
5757
"rules" : [],
5858
// The validator is an object that will validate rules and annotations and provide feedback on either authentication or authorization issues.
59-
"validator" : "CFValidator@cbsecurity",
59+
"validator" : "CBAuthValidator@cbsecurity",
6060
// The WireBox ID of the authentication service to use in cbSecurity which must adhere to the cbsecurity.interfaces.IAuthService interface.
6161
"authenticationService" : "authenticationService@cbauth",
6262
// WireBox ID of the user service to use

0 commit comments

Comments
 (0)