public interface DomainsManager
Modifier and Type | Method and Description |
---|---|
void |
changeMasterPassword(DomainConfig domainConfig)
Changes the master password for the domain
|
void |
deleteDomain(DomainConfig domainConfig)
Deletes a domain identified by the given name.
|
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.
|
String[] |
getExtraPasswordOptions(DomainConfig config)
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.
|
String[] |
listDomains(DomainConfig domainConfig)
Lists all the domains.
|
void |
validateDomain(DomainConfig domainConfig,
boolean domainExists) |
void |
validateMasterPassword(DomainConfig config)
Checks that the master password in the config is valid for the keystore
|
BitSet getDomainFlags()
String[] getExtraPasswordOptions(DomainConfig config) throws DomainException
config
- the config to get the options fromDomainException
- if an error occurredvoid deleteDomain(DomainConfig domainConfig) throws DomainException
domainConfig
- DomainException
- This exception is thrown if
String[] listDomains(DomainConfig domainConfig) throws DomainException
domainConfig
- DomainException
- if an exception occuredvoid changeMasterPassword(DomainConfig domainConfig) throws DomainException
domainConfig
- the config for the domain to changeDomainException
void validateDomain(DomainConfig domainConfig, boolean domainExists) throws DomainException
DomainException
void validateMasterPassword(DomainConfig config) throws DomainException
config
- the config to get the password fromDomainException
- if the password fails to open the keystoreCopyright © 2019. All rights reserved.