@Service @Singleton public class SecureAdminStartupCheck extends SecureAdminUpgradeHelper implements org.glassfish.hk2.api.PostConstruct
For 3.1.2 and later the configuration needs to include:
<secure-admin special-admin-indicator="xxx">
at least one <secure-admin-principal> element; if none, supply these defaults:
<secure-admin-principal dn="dn-for-DAS"/>
<secure-admin-principal dn="dn-for-instances"/>
Further, the sec-admin-listener set-up needs to be added (if not already there)
for the non-DAS configurations. Note that the work to configure the
listeners and related protocols are already implemented by SecureAdminCommand,
so this class delegates much of its work to that logic.DAS_CONFIG_NAME, domain, habitat, startupContext
Constructor and Description |
---|
SecureAdminStartupCheck() |
Modifier and Type | Method and Description |
---|---|
void |
postConstruct() |
commit, ensureDASConfigReady, ensureNonDASConfigsReady, ensureSecureAdminReady, rollback, secureAdmin, secureAdminHelper, specialAdminIndicator, sslUtils, startupArg, transaction, writableDomain, writableSecureAdmin
Copyright © 2018. All rights reserved.