private void validateConfigurationProperties() {
        if (isStringValueUndefined(config.userName()) && !isStringValueUndefined(config.userPassword())) {
            Tr.error(tc, "QUICK_START_SECURITY_MISSING_ATTIRBUTES", CFG_KEY_USER);
        }
        if (!isStringValueUndefined(config.userName()) && isStringValueUndefined(config.userPassword())) {
            Tr.error(tc, "QUICK_START_SECURITY_MISSING_ATTIRBUTES", CFG_KEY_PASSWORD);
        }
        errorOnAnotherRegistry();
        errorOnAnotherManagementRole();
    }
private void validateConfigurationProperties ( ) { if ( isStringValueUndefined ( config . userName ( ) ) && ! isStringValueUndefined ( config . userPassword ( ) ) ) { Tr . error ( tc , "QUICK_START_SECURITY_MISSING_ATTIRBUTES" , CFG_KEY_USER ) ; } if ( ! isStringValueUndefined ( config . userName ( ) ) && isStringValueUndefined ( config . userPassword ( ) ) ) { Tr . error ( tc , "QUICK_START_SECURITY_MISSING_ATTIRBUTES" , CFG_KEY_PASSWORD ) ; } errorOnAnotherRegistry ( ) ; errorOnAnotherManagementRole ( ) ; }
Validate the configuration properties. The following conditions are
invalid:
1. Any attribute is missing.
2. Another registry is defined and <quickStartSecurity> is also defined.