Package step.client.credentials
Class SyspropCredendialsBuilder
- java.lang.Object
-
- step.client.credentials.SyspropCredendialsBuilder
-
public class SyspropCredendialsBuilder extends java.lang.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 java.lang.String
getGlobalPasswordProperty()
static java.lang.String
getGlobalUrlProperty()
static java.lang.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 java.lang.String getGlobalUrlProperty()
-
getGlobalUsernameProperty
public static java.lang.String getGlobalUsernameProperty()
-
getGlobalPasswordProperty
public static java.lang.String getGlobalPasswordProperty()
-
-