Searched refs:sshkeyfile (Results 1 - 13 of 13) sorted by relevance

/glassfish-3.1.2/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/
H A DUninstallNodeSshCommand.java66 private String sshkeyfile; field in class:UninstallNodeSshCommand
82 return sshkeyfile;
88 if (sshkeyfile == null) {
96 sshkeyfile = existingKey;
100 validateKey(sshkeyfile);
104 if (sshkeyfile != null && SSHUtil.isEncryptedKey(sshkeyfile)) {
116 sshLauncher.init(getRemoteUser(), host, getRemotePort(), sshpassword, sshkeyfile, sshkeypassphrase, logger);
118 if (sshkeyfile != null && !sshLauncher.checkConnection()) {
126 sshLauncher.init(getRemoteUser(), host, getRemotePort(), sshpassword, sshkeyfile, sshkeypassphras
[all...]
H A DSetupSshKey.java67 String sshkeyfile; field in class:SetupSshKey
86 if (sshkeyfile == null) {
91 sshkeyfile = SSHUtil.getDefaultKeyFile();
99 sshkeyfile = existingKey;
101 if (SSHUtil.isEncryptedKey(sshkeyfile)) {
107 promptPass = SSHUtil.validateKeyFile(sshkeyfile);
108 if (SSHUtil.isEncryptedKey(sshkeyfile)) {
129 sshL.init(getRemoteUser(), node, getRemotePort(), sshpassword, sshkeyfile, sshkeypassphrase, logger);
132 if (sshkeyfile != null || SSHUtil.getExistingKeyFile() != null) {
212 return sshkeyfile;
[all...]
H A DInstallNodeSshCommand.java69 String sshkeyfile; field in class:InstallNodeSshCommand
87 return sshkeyfile;
93 if (sshkeyfile == null) {
101 sshkeyfile = existingKey;
105 validateKey(sshkeyfile);
109 if (sshkeyfile != null && SSHUtil.isEncryptedKey(sshkeyfile)) {
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/
H A DCreateNodeSshCommand.java72 @Param(name = "sshkeyfile", optional = true)
73 private String sshkeyfile; field in class:CreateNodeSshCommand
125 pmap.add(NodeUtils.PARAM_SSHKEYFILE, sshkeyfile);
131 if (sshkeyfile == null) {
132 sshkeyfile = SSHUtil.getExistingKeyFile();
135 if (sshkeyfile != null) {
136 args.add("--sshkeyfile");
137 args.add(sshkeyfile);
H A DSetupSshCommand.java79 private String sshkeyfile; field in class:SetupSshCommand
107 if (sshkeyfile == null) {
112 sshkeyfile = SSHUtil.getDefaultKeyFile();
118 sshkeyfile = existingKey;
119 if (SSHUtil.isEncryptedKey(sshkeyfile)) {
125 if (!isAbsolutePath(sshkeyfile)) {
126 throw new CommandException(Strings.get("setup.ssh.invalid.path", sshkeyfile));
129 SSHUtil.validateKeyFile(sshkeyfile);
130 if (SSHUtil.isEncryptedKey(sshkeyfile)) {
161 sshL.init(user, node, port, realPass, sshkeyfile, sshkeypassphras
[all...]
H A DUpdateNodeCommand.java104 @Param(name="sshkeyfile", optional=true)
105 String sshkeyfile; field in class:UpdateNodeCommand
211 if (sshport != null || sshnodehost != null ||sshuser != null || sshkeyfile != null){
223 if (sshuser != null || sshkeyfile != null || sshpassword != null || sshkeypassphrase != null ) {
232 if (sshkeyfile != null)
233 sshA.setKeyfile(sshkeyfile);
H A DUpdateNodeRemoteCommand.java93 protected String sshkeyfile; field in class:UpdateNodeRemoteCommand
144 map.add(NodeUtils.PARAM_SSHKEYFILE, sshkeyfile);
168 validateMap.add(NodeUtils.PARAM_SSHKEYFILE, sshkeyfile);
250 if (sshkeyfile == null) {
251 sshkeyfile = ssha.getKeyfile();
H A DUpdateNodeSshCommand.java63 @Param(name = "sshkeyfile", optional = true)
79 sshkeyfile = sshkeyfileInSubClass;
H A DValidateNodeCommand.java113 @Param(name="sshkeyfile", optional=true)
114 private String sshkeyfile; field in class:ValidateNodeCommand
161 if (! excludeFromUpdate.contains("sshkeyfile"))
162 map.add("sshkeyfile", sshkeyfile);
214 validatePath("sshkeyfile", sshkeyfile, value);
H A DNodeUtils.java94 static final String PARAM_SSHKEYFILE = "sshkeyfile";
233 String sshkeyfile = map.getOne(PARAM_SSHKEYFILE);
234 if (StringUtils.ok(sshkeyfile)) {
236 File kfile = new File(resolver.resolve(sshkeyfile));
477 String sshkeyfile = map.getOne(PARAM_SSHKEYFILE);
499 resolver.resolve(sshkeyfile),
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/
H A DUpdateNodeDcomCommand.java95 sshkeyfile = null;
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/
H A DNode.java362 @Param(name = "sshkeyfile", optional = true)
363 String sshkeyfile; field in class:Node.Decorator
429 if (StringUtils.ok(sshkeyfile))
430 sshA.setKeyfile(sshkeyfile);
/glassfish-3.1.2/admingui/cluster/src/main/resources/node/
H A DnodeAttr.inc288 <sun:textField id="Keyfile" columns="$int{60}" maxLength="#{sessionScope.fieldLengths['maxLength.node.Keyfile']}" text="#{pageSession.valueMap['sshkeyfile']}" />

Completed in 23 milliseconds