Package hudson.cli

Class CliTransportAuthenticator

    • Constructor Detail

      • CliTransportAuthenticator

        public CliTransportAuthenticator()
        Deprecated.
    • Method Detail

      • supportsProtocol

        public abstract boolean supportsProtocol​(String protocol)
        Deprecated.
        Checks if this implementation supports the specified protocol.
        Parameters:
        protocol - Identifier. CLI.jar is hard-coded with the built-in knowledge about a specific protocol.
        Returns:
        true if this implementation supports the specified protocol, in which case authenticate(String, Channel, Connection) would be called next.
      • authenticate

        public abstract void authenticate​(String protocol,
                                          hudson.remoting.Channel channel,
                                          Connection con)
        Deprecated.
        Performs authentication.

        The authentication

        Parameters:
        protocol - Protocol identifier that supportsProtocol(String) returned true.
        channel - Communication channel to the client.