       if 'function' is typeof method
         fn = method
       else if ctx? and 'string' is typeof method
-        fn = ctx[method]
+        # prefer the method with the trailing dollar, since this should be, by
+        # convention, the version of the method which implements security for
+        # a given model, and provides a wrapper for it; otherwise, search for
+        # the method with the exact name.
+        fn = ctx["#{method}$"] ? ctx[method]
       return  unless fn?
       if fn.isSecurityEnabled
         bongo.fetchClient sessionToken, userArea, (client)->


  handleAuth:(secretName, sessionToken)->
    @fetchBrokerExchange (brokerExchange)->
      brokerExchange.publish 
    # @emit 'auth', secretName, sessionToken

  handleRequest:(secretName, message)->

  @secure =(fn)->
    fn.isSecurityEnabled = yes
    fn

  {@asynchronizeOwnMethods} = require './util'

  {BongoError}    = require './errortypes'

  Client = require './client'

  @throwIt =(it)-> throw it if it?

  constructor:(options)->
