Class SaslTransportPlugin

    • Constructor Detail

      • SaslTransportPlugin

        public SaslTransportPlugin()
    • Method Detail

      • getServer

        public org.apache.storm.thrift.server.TServer getServer​(org.apache.storm.thrift.TProcessor processor)
                                                         throws IOException,
                                                                org.apache.storm.thrift.transport.TTransportException
        Description copied from interface: ITransportPlugin
        Create a server associated with a given port, service handler, and purpose.
        Specified by:
        getServer in interface ITransportPlugin
        Parameters:
        processor - service handler
        Returns:
        server
        Throws:
        IOException
        org.apache.storm.thrift.transport.TTransportException
      • getServerTransportFactory

        protected abstract org.apache.storm.thrift.transport.TTransportFactory getServerTransportFactory​(boolean impersonationAllowed)
                                                                                                  throws IOException
        Create the transport factory needed for serving. All subclass must implement this method.
        Parameters:
        impersonationAllowed - true if SASL impersonation should be allowed, else false.
        Returns:
        server transport factory
        Throws:
        IOException - on any error.