Example #1
0
    def onSessionOpen(self):

        ## override global client auth options
        self.clientAuthTimeout = 0
        self.clientAuthAllowAnonymous = True

        ## call base class method
        WampCraServerProtocol.onSessionOpen(self)
Example #2
0
   def onSessionOpen(self):

      ## override global client auth options
      self.clientAuthTimeout = 0
      self.clientAuthAllowAnonymous = True

      ## call base class method
      WampCraServerProtocol.onSessionOpen(self)
Example #3
0
   def onSessionOpen(self):

      if self.factory.config.secure:
         ## require WAMP-CRA authentication

         self.clientAuthTimeout = 0
         self.clientAuthAllowAnonymous = True
         WampCraServerProtocol.onSessionOpen(self)

      else:
         WampServerProtocol.onSessionOpen(self)
         self.onReady()
Example #4
0
    def onSessionOpen(self):

        if self.factory.config.secure:
            ## require WAMP-CRA authentication

            self.clientAuthTimeout = 0
            self.clientAuthAllowAnonymous = True
            WampCraServerProtocol.onSessionOpen(self)

        else:
            WampServerProtocol.onSessionOpen(self)
            self.onReady()