com.sshtools.common.automate
Class RemoteIdentification
java.lang.Object
com.sshtools.common.automate.RemoteIdentification
public class RemoteIdentification
extends java.lang.Object
protected void | addRule(RemoteIdentificationRule rule)
|
boolean | configureUserAccess(SftpClient sftp, String serverId, String system, String username, List keys, String authorizationFile, int mode)
|
boolean | configureUserAccess(SftpClient sftp, String serverId, String system, String username, SshPublicKey pk, String authorizationFile, int mode)
|
String | getAuthorizedKeysDefaultPath()
|
AuthorizedKeysFormat | getAuthorizedKeysFormat()
|
String | getDefaultName()
|
String | getName(String ident)
|
protected List | getRules()
|
protected void | setAuthorizedKeysDefaultPath(String defaultPath)
|
protected void | setAuthorizedKeysFormat(Class implementationClass)
|
protected boolean | testRules(String ident)
|
ADD_AUTHORIZEDKEY
public static final int ADD_AUTHORIZEDKEY
REMOVE_AUTHORIZEDKEY
public static final int REMOVE_AUTHORIZEDKEY
RemoteIdentification
public RemoteIdentification(String defaultName)
Creates a new RemoteIdentification object.
configureUserAccess
public boolean configureUserAccess(SftpClient sftp,
String serverId,
String system,
String username,
List keys,
String authorizationFile,
int mode)
throws RemoteIdentificationException
sftp
- serverId
- system
- username
- keys
- authorizationFile
- mode
-
configureUserAccess
public boolean configureUserAccess(SftpClient sftp,
String serverId,
String system,
String username,
SshPublicKey pk,
String authorizationFile,
int mode)
throws RemoteIdentificationException
sftp
- serverId
- system
- username
- pk
- authorizationFile
- mode
-
getAuthorizedKeysDefaultPath
public String getAuthorizedKeysDefaultPath()
getDefaultName
public String getDefaultName()
getRules
protected List getRules()
setAuthorizedKeysDefaultPath
protected void setAuthorizedKeysDefaultPath(String defaultPath)
setAuthorizedKeysFormat
protected void setAuthorizedKeysFormat(Class implementationClass)
testRules
protected boolean testRules(String ident)
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.