if (data != null) {
for (String name : data.keySet()) {
@SuppressWarnings("unchecked")
Map<String, Object> config = (Map<String, Object>) data.get( name );
AuthMetaData metaData = new AuthMetaData();
metaData.addAuthentication( name, config );
unit.addToAttachmentList( AuthMetaData.ATTACHMENT_KEY, metaData );
}
}
}