realmPrincipal.setClass1(request.getParameter(prefix2 + "class"));
realmPrincipal.setDomainName(request.getParameter(prefix2 + "domainName"));
realmPrincipal.setRealmName(request.getParameter(prefix2 + "realmName"));
}
for (int i = role.sizeOfDistinguishedNameArray() - 1; i >= 0; i--) {
role.removeDistinguishedName(i);
}
lastIndex = Integer.parseInt(request.getParameter(prefix1 + "distinguishedName.lastIndex"));
for (int i = 0; i < lastIndex; i++) {
String prefix2 = prefix1 + "distinguishedName" + "." + i + ".";