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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UserPropertyImpl.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description String
authorizedKeys
-
Fields inherited from class hudson.model.UserProperty
user
-
-
Constructor Summary
Constructors Constructor Description UserPropertyImpl(String authorizedKeys)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static User
findUser(PublicKey identity)
boolean
has(PublicKey pk)
Checks if this user has the given public key in hisauthorizedKeys
.boolean
isAuthorizedKey(String sig)
-
Methods inherited from class hudson.model.UserProperty
all, getDescriptor, reconfigure, setUser
-
-
-
-
Field Detail
-
authorizedKeys
public String authorizedKeys
-
-
Constructor Detail
-
UserPropertyImpl
@DataBoundConstructor public UserPropertyImpl(String authorizedKeys)
-
-
Method Detail
-
has
public boolean has(PublicKey pk)
Checks if this user has the given public key in hisauthorizedKeys
.
-
isAuthorizedKey
public boolean isAuthorizedKey(String sig)
-
-