Class OrchestratorAPICredentials


  • public class OrchestratorAPICredentials
    extends Object
    A singleton class responsible for retrieving and holding the API credentials for the Orchestrator service. It fetches the service endpoint details from the Information System (IS) and provides them to the application. The singleton is implemented using a thread-safe, lazy initialization pattern with double-checked locking.
    • Method Detail

      • getInstance

        public static OrchestratorAPICredentials getInstance()
        Returns the singleton instance of the OrchestratorAPICredentials. It uses double-checked locking for thread-safe lazy initialization.
        Returns:
        the singleton instance
      • getServerURL

        public String getServerURL()
        Gets the Orchestrator service URL.
        Returns:
        The server URL.
      • getUsername

        public String getUsername()
        Gets the username for the Orchestrator service.
        Returns:
        The username.
      • getPassword

        public String getPassword()
        Gets the decrypted password for the Orchestrator service.
        Returns:
        The password.