Class TrustHostKeyAction

  • All Implemented Interfaces:
    Action, ModelObject, SearchableModelObject, SearchItem

    public class TrustHostKeyAction
    extends TaskAction
    An action that prompts a user with Computer.CONFIGURE privileges to trust a public key issued by a remote SSH host. If a key is already known for this host then the user will be prompted to replace the existing key, otherwise they will be prompted to add a new key.
    Since:
    1.13
    Author:
    Michael Clarke
    • Method Detail

      • getHostKey

        public HostKey getHostKey()
      • getComputer

        public Computer getComputer()
      • doSubmit

        public void doSubmit​(org.kohsuke.stapler.StaplerRequest request,
                             org.kohsuke.stapler.StaplerResponse response)
                      throws IOException,
                             javax.servlet.ServletException
        Throws:
        IOException
        javax.servlet.ServletException
      • doIndex

        public void doIndex​(org.kohsuke.stapler.StaplerRequest req,
                            org.kohsuke.stapler.StaplerResponse rsp)
                     throws IOException,
                            javax.servlet.ServletException
        Throws:
        IOException
        javax.servlet.ServletException
      • isComplete

        public boolean isComplete()
      • getDisplayName

        public String getDisplayName()
      • getUrlName

        public String getUrlName()