*/
@Override
protected SecurityDomain[] getSecurityDomains() {
final Map<String, String> lmOptions = new HashMap<String, String>();
final Builder loginModuleBuilder = new SecurityModule.Builder().name("UsersRoles").options(lmOptions);
lmOptions.put("usersProperties", PropertyFilesSetup.FILE_USERS.getAbsolutePath());
lmOptions.put("rolesProperties", PropertyFilesSetup.FILE_ROLES.getAbsolutePath());
final SecurityDomain sd1 = new SecurityDomain.Builder().name(DEP1).loginModules(loginModuleBuilder.build()).build();
lmOptions.remove("usersProperties");
lmOptions.remove("rolesProperties");
lmOptions.put("hashAlgorithm", "MD5");
final SecurityDomain sd2 = new SecurityDomain.Builder().name(DEP2).loginModules(loginModuleBuilder.build()).build();
lmOptions.put("hashEncoding", "hex");
final SecurityDomain sd3 = new SecurityDomain.Builder().name(DEP3).loginModules(loginModuleBuilder.build()).build();
lmOptions.put("hashEncoding", "base64");
final SecurityDomain sd4 = new SecurityDomain.Builder().name(DEP4).loginModules(loginModuleBuilder.build()).build();
lmOptions.remove("hashEncoding");
lmOptions.put("hashUserPassword", "false");
final SecurityDomain sd5a = new SecurityDomain.Builder().name(DEP5a).loginModules(loginModuleBuilder.build())
.build();
lmOptions.put("hashUserPassword", "true");
final SecurityDomain sd5b = new SecurityDomain.Builder().name(DEP5b).loginModules(loginModuleBuilder.build())
.build();
lmOptions.put("hashUserPassword", "false");
lmOptions.put("hashStorePassword", "true");
final SecurityDomain sd6a = new SecurityDomain.Builder().name(DEP6a).loginModules(loginModuleBuilder.build())
.build();
lmOptions.remove("hashUserPassword");
final SecurityDomain sd6b = new SecurityDomain.Builder().name(DEP6b).loginModules(loginModuleBuilder.build())
.build();
lmOptions.remove("hashStorePassword");
lmOptions.remove("hashAlgorithm");
lmOptions.put("ignorePasswordCase", "true");
final SecurityDomain sd7a = new SecurityDomain.Builder().name(DEP7a).loginModules(loginModuleBuilder.build())
.build();
lmOptions.put("ignorePasswordCase", "false");
final SecurityDomain sd7b = new SecurityDomain.Builder().name(DEP7b).loginModules(loginModuleBuilder.build())
.build();
return new SecurityDomain[] { sd1, sd2, sd3, sd4, sd5a, sd5b, sd6a, sd6b, sd7a, sd7b };
}