Interface IAuthorizer

    • Method Detail

      • prepare

        void prepare​(Map<String,​Object> conf)
        Invoked once immediately after construction.
        Parameters:
        conf - Storm cluster configuration
      • permit

        boolean permit​(ReqContext context,
                       String operation,
                       Map<String,​Object> topoConf)
        permit() method is invoked for each incoming Thrift request.
        Parameters:
        context - request context includes info about
        operation - operation name
        topoConf - configuration of targeted topology
        Returns:
        true if the request is authorized, false if reject