}
// If required, initialize the currently configured Realm instances
// TODO - Reconcile initialization with SecurityLifeCycle
if (usePasswordCredential && (realmName != null)) {
RealmsManager realmsManager = Globals.getDefaultHabitat().getService(RealmsManager.class);
realmsManager.createRealms();
}
}