//write values back out.
Operation write = new WriteAttribute(address);
write.addAdditionalProperty("name", attribute);//attribute to execute on
//now complete the write operation by updating the value
write.addAdditionalProperty("value", (Object) currentAttributeState);
result = connection.execute(write);
if (result.isSuccess()) {
report.setStatus(CreateResourceStatus.SUCCESS);
//Ex. subsystem=security,security-domain=createOne,authentication=classic,login-modules:0
report.setResourceKey(path + "," + attribute + ":" + (currentAttributeState.size() - 1));