public class ConnectionAttributes extends Object
Constructor and Description |
---|
ConnectionAttributes()
Creates
ConnectionAttributes . |
Modifier and Type | Method and Description |
---|---|
String |
getClient() |
int |
getDefaultJobPlanElse()
Returns the default JobPlan task ELSE Action.
|
String |
getDepartment() |
String |
getEncoding()
Returns the encoding used for communication between API and CP.
|
byte[] |
getKerberosToken()
Returns the kerberos token.
|
String |
getKicks()
This connection is registered to receive the kick messages returned by this procedure.
|
String |
getLanguage() |
String |
getPassword() |
String |
getPasswordType()
Returns the type of the secret if the defined in the Connection.open() method.
|
String |
getRemoteHost()
Returns the host name of the API user.
|
String |
getRemoteID()
Returns the remote ID.
|
String |
getServerName() |
String |
getServerVersion()
Returns the version of the the Automation Engine.
|
String |
getSessionId() |
TimeZone |
getSessionTimeZone()
Gets the session time zone.
|
String |
getSpnegoToken()
Returns the browser token.
|
String |
getSystemName() |
String |
getToken()
Returns a logon token which can be used instead of a password.
|
String |
getTokenAgent()
Returns the Agent name if the API is used within an UC4 Agent.
|
com.uc4.translate.Message |
getTranslator()
Returns the message translator.
|
String |
getUserIdnr() |
String |
getUserName() |
long |
getWFRunID()
Returns the ARA Workflow ID.
|
boolean |
hasAdoptPrivilege()
Returns
true if this user is allowed to execute the AdoptTask request. |
boolean |
hasBackendVariablePrivilege()
Returns
true if this user is allowed to create and modify backend variables. |
boolean |
hasSelectiveStatisticsPrivilege()
Returns
true if this user is allowed to access selective statistics. |
boolean |
hasSystemOverviewPrivilege()
Returns
true if this user is allowed to read the system overview. |
boolean |
isDeploymentClient()
Returns
true if deployment is enabled for this connection otherwise false . |
boolean |
isRequestTest()
Returns
true if internal test are enabled. |
boolean |
isSSO()
Returns
true if single sign on is active. |
boolean |
isValid()
Returns
true if this connection is valid. |
void |
setServerName(String serverName)
Set the UC4 Server Name - the name of the server process
|
Settings |
settings() |
public boolean isRequestTest()
true
if internal test are enabled.
To enable internal request tests call the method Connection#setDebug
and set the second
parameter to true
.public Settings settings()
public boolean isDeploymentClient()
true
if deployment is enabled for this connection otherwise false
.public String getTokenAgent()
null
if not setpublic String getToken()
public String getRemoteHost()
public String getServerVersion()
public boolean hasSystemOverviewPrivilege()
true
if this user is allowed to read the system overview.public boolean hasAdoptPrivilege()
true
if this user is allowed to execute the AdoptTask request.public boolean hasSelectiveStatisticsPrivilege()
true
if this user is allowed to access selective statistics.public boolean hasBackendVariablePrivilege()
true
if this user is allowed to create and modify backend variables.public com.uc4.translate.Message getTranslator()
public String getClient()
public String getDepartment()
public String getLanguage()
public boolean isValid()
true
if this connection is valid.public String getPassword()
public byte[] getKerberosToken()
public String getSpnegoToken()
public long getWFRunID()
public String getSessionId()
public String getSystemName()
public String getServerName()
public String getUserIdnr()
public String getUserName()
public void setServerName(String serverName)
serverName
- Server Name - the name of the server processpublic String getEncoding()
public int getDefaultJobPlanElse()
public boolean isSSO()
true
if single sign on is active.public String getRemoteID()
public String getPasswordType()
null
if not set.public TimeZone getSessionTimeZone()
public String getKicks()
Copyright © 2021. All rights reserved.