Package step.client.credentials
Class SyspropCredendialsBuilder
- java.lang.Object
-
- step.client.credentials.SyspropCredendialsBuilder
-
public class SyspropCredendialsBuilder extends Object
This class is a factory for controller credentials It reads the controller host and credentials from the following system properties:- rcHostname: the hostname of the controller
- rcPort: the port of the controller
- rcUsername: the username to be used for login
- rcPassword: the password to be used for login
-
-
Constructor Summary
Constructors Constructor Description SyspropCredendialsBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ControllerCredentials
build()
static String
getGlobalPasswordProperty()
static String
getGlobalUrlProperty()
static String
getGlobalUsernameProperty()
static void
setDefaultLocalProperties()
static void
setGlobalProperties(ControllerCredentials credentials)
-
-
-
Method Detail
-
build
public static ControllerCredentials build()
-
setDefaultLocalProperties
public static void setDefaultLocalProperties()
-
setGlobalProperties
public static void setGlobalProperties(ControllerCredentials credentials)
-
getGlobalUrlProperty
public static String getGlobalUrlProperty()
-
getGlobalUsernameProperty
public static String getGlobalUsernameProperty()
-
getGlobalPasswordProperty
public static String getGlobalPasswordProperty()
-
-