public class LoginDefinition extends Object
| Constructor and Description |
|---|
LoginDefinition(UC4HostName host,
String hostType,
String loginInfo)
Constructs a new
LoginDefinition using the specified values. |
LoginDefinition(UC4HostName host,
String hostType,
String loginInfo,
boolean makeHostTypeUpperCase)
Constructs a new
LoginDefinition using the specified values. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
UC4HostName |
getHost()
Returns the name of the Agent or a generic host name.
|
String |
getHostType()
Returns the host type.
|
String |
getLoginInfo()
Returns the login information.
|
String |
getVault()
Returns the External vault.
|
int |
hashCode() |
void |
setHost(UC4HostName host)
Sets the name of the Agent or a generic host name.
|
void |
setHostType(String hostType)
Sets the host type.
|
void |
setHostType(String hostType,
boolean makeUpperCase)
Sets the host type.
|
void |
setLoginInfo(String loginInfo)
Sets the login information.
|
void |
setPassword(String passw)
Sets the password.
|
void |
setPasswords(String password1,
String password2,
String password3)
Sets up to 3 passwords.
|
void |
setVault(String vault)
Sets External vault.
|
public LoginDefinition(UC4HostName host, String hostType, String loginInfo)
LoginDefinition using the specified values.host - Host name, use an empty UC4HostName to add the login definition for all host of this host typehostType - Host typeloginInfo - Login informationpublic LoginDefinition(UC4HostName host, String hostType, String loginInfo, boolean makeHostTypeUpperCase)
LoginDefinition using the specified values.host - Host name, use an empty UC4HostName to add the login definition for all host of this host typehostType - Host typeloginInfo - Login informationmakeHostTypeUpperCase - flag for making the host type string upper casepublic void setPassword(String passw)
setHostpassw - Passwordpublic void setPasswords(String password1, String password2, String password3)
password1 is required, other parameters are optional and can be set to null.password1 - Password1password2 - Password2password3 - Password3public UC4HostName getHost()
public void setHost(UC4HostName host)
setPassword or setPasswords to set the password(s) again.host - Name of the Agentpublic String getHostType()
public void setHostType(String hostType)
hostType - Host typepublic void setHostType(String hostType, boolean makeUpperCase)
hostType - Host typemakeUpperCase - flag for making the host type string upper case.public void setVault(String vault)
vault - Stringpublic String getVault()
public String getLoginInfo()
public void setLoginInfo(String loginInfo)
loginInfo - Login informationCopyright © 2021. All rights reserved.