Interface SpnegoHandler

    • Method Detail

      • handleTokenFromServer

        void handleTokenFromServer​(byte[] token,
                                   SpnegoHandler.ResponseHandler responseListener)
        Handle SPNEGO server response. Called arbitrary number of times.

        NOTE: Method is called in JAPI communication thread, that should be release as soon as possible! Dispatch actual handling and response to another thread.

        Parameters:
        token - SPNEGO token from the server
        responseListener - handles delivering response to the server.
      • getInitiationToken

        byte[] getInitiationToken​()
        Provide initiation SPNEGO token. Called once at the beginning.
        Returns:
        SPNEGO token.