Interface DomainsManager

  • All Known Implementing Classes:
    PEDomainsManager

    public interface DomainsManager
    • Method Detail

      • getDomainFlags

        BitSet getDomainFlags()
        In SE/EE we need an admin user/password that the DAS can use to authenticate to Node Agents and servers in the domain. This is not the case in PE; hence this flag -- DomainConfig.K_FLAG_START_DOMAIN_NEEDS_ADMIN_USER In SE/EE we need an extra non secure http port to host the Lockhart components which is controlled by -- DomainConfig.K_FLAG_CREATE_DOMAIN_NEEDS_ALTERNATE_ADMIN_PORT
        Returns:
        flags toggling SE/EE specific behavior.
      • getExtraPasswordOptions

        String[] getExtraPasswordOptions​(DomainConfig config)
                                  throws DomainException
        SE/EE supports NSS as its native SSL database.NSS is capable of supporting multiple slots (e.g.for different SSL hardware devices, smartcards, etc).Each device needs a specific password which the CLI must prompt for.
        Parameters:
        config - the config to get the options from
        Returns:
        the extra options
        Throws:
        DomainException - if an error occurred
      • deleteDomain

        void deleteDomain​(DomainConfig domainConfig)
                   throws DomainException
        Deletes a domain identified by the given name. (Should we stop the DAS and instances administered by this domain before deleting the domain?)
        Parameters:
        domainConfig -
        Throws:
        DomainException - This exception is thrown if
          - the domain does not exist. - an exception occurred while deleting the domain.
      • changeMasterPassword

        void changeMasterPassword​(DomainConfig domainConfig)
                           throws DomainException
        Changes the master password for the domain
        Parameters:
        domainConfig - the config for the domain to change
        Throws:
        DomainException
      • validateMasterPassword

        void validateMasterPassword​(DomainConfig config)
                             throws DomainException
        Checks that the master password in the config is valid for the keystore
        Parameters:
        config - the config to get the password from
        Throws:
        DomainException - if the password fails to open the keystore