Map<String, String> rolesProps = new HashMap<String, String>();
rolesProps.put("anil", "gooduser");
File rolesPropsFile = Utils.createTempPropFile(rolesProps);
log.debug("adding module options");
dep.addModuleOption("usersProperties", usersPropsFile.getAbsolutePath());
dep.addModuleOption("rolesProperties", rolesPropsFile.getAbsolutePath());
dep.addModuleOption("hashAlgorithm", "MD5");
dep.addModuleOption("hashStorePassword", "true");
log.debug(dep.getWar().toString(true));