org.jenkinsci.main.modules.cli.auth.ssh
Class UserPropertyImpl

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

public class UserPropertyImpl
extends hudson.model.UserProperty

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class UserPropertyImpl.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 String authorizedKeys
           
 
Fields inherited from class hudson.model.UserProperty
user
 
Constructor Summary
UserPropertyImpl(String authorizedKeys)
           
 
Method Summary
static hudson.model.User findUser(PublicKey identity)
           
 boolean has(PublicKey pk)
          Checks if this user has the given public key in his authorizedKeys.
 boolean isAuthorizedKey(String sig)
           
 
Methods inherited from class hudson.model.UserProperty
all, getDescriptor, reconfigure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 his authorizedKeys.


isAuthorizedKey

public boolean isAuthorizedKey(String sig)

findUser

public static hudson.model.User findUser(PublicKey identity)


Copyright © 2004-2011. All Rights Reserved.