Specify auserServiceClass
in yourconfig/ColdBox.cfc
insidemoduleSettings.cbauth.userServiceClass
. This component needs to have three methods:
isValidCredentials( username, password )
retrieveUserByUsername( username )
retrieveUserById( id )
moduleSettings.cbauth.userServiceClass isn't actually a file path in my app (at least not using Commandbox to install the module...), it's unclear to me what exactly the author means. Have any of you used this module? If so, how did you go about registering it as a dependency?
Many thanks,
Hi Roy,
Glad to hear it’s going well. I haven’t used that particular module before. I typically use `cbsecurity` (https://www.forgebox.io//view/cbsecurity ), with a custom rules and validator model. You can see an example of the implementation in the ContentBox module configuration here:
It sounds like it accomplishes pretty much the same thing that `cbauth` does.
HTH,
Jon
--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit
https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/coldbox/83256273-f379-4e6b-b48e-995fc11d3a14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Builder.BuildCFCDependencyException
Error building: cbsecurity.interceptors.Security -> The parameter controller to function init is required but was not passed in.
property name="CBSecurity" inject="cbsecurity.interceptors.Security";
--------- Original Message ---------
Subject: Re: [coldbox:26480] [CB-4.3] cbauth module implementation
From: "Roy Chase" <rech...@gmail.com>
Date: 7/7/17 4:32 pm
To: "ColdBox Platform" <col...@googlegroups.com>
Any thoughts on why I'm throwing this error? Sorry for being needy with this stuff...
Builder.BuildCFCDependencyException
Error building: cbsecurity.interceptors.Security->The parameter controller to function init is required but was not passed in.
I'm requesting the dependency in handlers/Login.cfc:
propertyname="CBSecurity" inject="cbsecurity.interceptors.Security";
On Thursday, July 6, 2017 at 5:37:57 PM UTC-6, JClausen wrote:
Hi Roy,
Glad to hear it’s going well. I haven’t used that particular module before. I typically use `cbsecurity` (https://www.forgebox.io//view/cbsecurity ), with a custom rules and validator model. You can see an example of the implementation in the ContentBox module configuration here:
It sounds like it accomplishes pretty much the same thing that `cbauth` does.
HTH,
Jon
From: <col...@googlegroups.com> on behalf of Roy Chase <rech...@gmail.com>
Reply-To: "col...@googlegroups.com" <col...@googlegroups.com>
Date: Thursday, July 6, 2017 at 7:25 PM
To: ColdBox Platform <col...@googlegroups.com>
Subject: [coldbox:26476] [CB-4.3] cbauth module implementation
Hi all,
Thanks again for your help on a previous issue.
I'm going to try to implement the cbauth forgebox module for my authentication, but I'm confused by this statement in his readme:
Specify a
userServiceClass
in yourconfig/ColdBox.cfc
insidemoduleSettings.cbauth.userServiceClass
. This component needs to have three methods:
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/4db20e2b-049b-4d38-9ae8-9a44ee970ae5%40googlegroups.com.
--------- Original Message ---------
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/9b230179-85a6-4722-bb51-c043763e6c96%40googlegroups.com.
--------- Original Message ---------
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/740aa749-ee19-40c4-81e2-572fcf09bc1c%40googlegroups.com.