code: def SecurityCheck(self, func, request, *args, **kwargs):
      
      request.user = self.username
      request.token = access_control.ACLToken(
          username="Testing", reason="Just a test")
      return func(request, *args, **kwargs)
docs: A decorator applied to protected web handlers.