Kurt - thanks for responding....

Doesn't the login attempt to set the roles in a session variable so
that i can use the authenticated roles throughout the website?  I
can't seem to get this to work.  As I mentioned, i am a newbie with
coldspring....but finding the error in my code is proving to be
impossible.

Where is the actual role set in the session?  Listener or Gateway?

On Nov 5, 9:11 am, "Kurt Wiersma" <[EMAIL PROTECTED]> wrote:
> Hi I am the author of AppBooster. I am not sure why you didn't have
> that link in your configure file but it looks like you solved the
> issue and learned a bit about ColdSpring in the process. :)
>
> There is a roleListener that you can use inside your Mach II
> event-handlers. The listener will call the roleService. For example if
> you look at the role listener you can see it has a method to pull back
> all the roles have been created in the system.
>
> --Kurt
>
> On Tue, Nov 4, 2008 at 11:50 PM, kwfricke <[EMAIL PROTECTED]> wrote:
>
> > So i think that i may have made some progress.  First, I added the
> > following line to the coldspring.xml file:
>
> >                <property name="roleService"><ref bean="roleService" 
> > /></property>
>
> > This fixed the roleService error.  I still don't know why no one else
> > recieved that error :(
>
> > I have a new question.  It looks like i need to call the roleService
> > as a listener.  I believe that this means I will need to include the
> > listener on every event.  Is there a way to simply have this
> > information stored in session or possibly move the logic to a plugin
> > so that it will be called on every request?
>
> > What is the best way to handle site wide role management?
>
> > Thank you!!
>
> > On Nov 4, 4:20 pm, kwfricke <[EMAIL PROTECTED]> wrote:
> >> I am moving to Mach-ii from Fusebox and have started out by taking the
> >> appbooster 3 skeleton and converting to work with my database, etc.  I
> >> am attempting to use the same functionality that they used for setting
> >> the roles but it has me scratching my head a bit.  Whenever I attempt
> >> to login it keeps giving me the error below:
>
> >> --------------------------------------
>
> >> Mach-II Exception
> >> Message
>
> >> Element ROLESERVICE is undefined in a Java object of type class
> >> [Ljava.lang.String;.
>
> >> --------------------------------------
>
> >> I have gone through the files several times and still cannot get this
> >> to work.  I have searched google, etc. and have not found any
> >> reference to this issue so i am very, very stumped.  has anyone else
> >> experienced this issue?
>
> >> I tested the original appbooster configuration and still have the same
> >> issue.  Please help.....i just need to be able to set some roles......
>
> >> Thank you.
>
> >> Kevin Fricke
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: https://greatbiztoolsllc-svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc-trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---

Reply via email to