Class SystemCredentialsProvider

    • Constructor Detail

      • SystemCredentialsProvider

        public SystemCredentialsProvider()
        Constructor.
    • Method Detail

      • forceLoadDuringStartup

        @Initializer(after=JOB_LOADED)
        public static void forceLoadDuringStartup()
        Ensure the credentials are loaded using SYSTEM during the startup and migration occurs as expected
      • getConfigFile

        public static XmlFile getConfigFile()
        Gets the configuration file that this CredentialsProvider uses to store its credentials.
        Returns:
        the configuration file that this CredentialsProvider uses to store its credentials.
      • getInstance

        public static SystemCredentialsProvider getInstance()
        Gets the singleton instance.
        Returns:
        the singleton instance.
      • getDomainCredentials

        public List<DomainCredentials> getDomainCredentials()
        Get all the credentials.
        Returns:
        all the credentials.
        Since:
        1.5
      • getDomainCredentialsMap

        @NonNull
        public Map<Domain,​List<Credentials>> getDomainCredentialsMap()
        Get all the credentials.
        Returns:
        all the credentials.
        Since:
        1.5
      • setDomainCredentialsMap

        public void setDomainCredentialsMap​(Map<Domain,​List<Credentials>> domainCredentialsMap)
        Set all the credentials.
        Parameters:
        domainCredentialsMap - all the credentials.
        Since:
        1.5