On Thu, 6 Jan 2005 11:12:10 -0500, Matthew Small <[EMAIL PROTECTED]> wrote:
>         I'm writing a security plugin for our mach-ii applications.  I need
> to be able to halt further event processing if a user is not authenticated
> or authorized.  This is an event-based security model.
>         I'm using arguments.eventContext.clearEventQueue() in the preEvent()
> function of the plugin, but it does not seem to stop processing further
> events.
>         Here is a snippet of the code I am using:
> 
>         <cfset arguments.eventContext.clearEventQueue()/>
>         <cfset arguments.eventContext.announceEvent("login")/>
> 
> I'm thinking that this means that any events in the queue are removed and
> the application then processes the login event. But what I am seeing is that
> the login event is thrown, then the same events that already were in the
> queue are still processed.  Am I missing something here?

What you are doing sounds correct from what little you've shown us so
there's probably something else going on. I'd advise posting this
question to the [EMAIL PROTECTED] list and post more
information and I bet you'll get an answer.
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme
Got Gmail? -- I have 5 invites to give away!

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189608
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to