Class UserPropertyImpl

java.lang.Object
hudson.model.UserProperty
org.jenkinsci.main.modules.cli.auth.ssh.UserPropertyImpl
All Implemented Interfaces:
ExtensionPoint, Describable<UserProperty>, ReconfigurableDescribable<UserProperty>

public class UserPropertyImpl extends UserProperty
Author:
Kohsuke Kawaguchi
  • Field Details

    • authorizedKeys

      public String authorizedKeys
  • Constructor Details

    • UserPropertyImpl

      @DataBoundConstructor public UserPropertyImpl(String authorizedKeys)
  • Method Details

    • has

      public boolean has(PublicKey pk)
      Checks if this user has the given public key in his authorizedKeys.
    • isAuthorizedKey

      public boolean isAuthorizedKey(String sig)
    • findUser

      public static User findUser(PublicKey identity)