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 Details

    • SyspropCredendialsBuilder

      public SyspropCredendialsBuilder()
  • Method Details

    • 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()