//Ex. String attribute = "login-modules";
String attribute = lookupAttributeType(path);
//query all the module-options defined and discover them here
//Ex. String typeAddress = "subsystem=security,security-domain=testDomain2,authentication=classic";
String typeAddress = parentConfPath;
ReadAttribute readModuleOptionType = new ReadAttribute(new Address(typeAddress), attribute);
Result result = connection.execute(readModuleOptionType);
if (result.isSuccess()) {
List<Value> loadedLoginModuleTypes = ModuleOptionsComponent.populateSecurityDomainModuleOptions(result,
ModuleOptionsComponent.loadModuleOptionType(attribute));
for (int moduleIndex = 0; moduleIndex < loadedLoginModuleTypes.size(); moduleIndex++) {